insmod fail on ppc arch

Denys Vlasenko vda.linux at googlemail.com
Mon Aug 4 00:57:02 UTC 2008


On Monday 04 August 2008 02:32, ramon rebersak wrote:
> Sorry, this error was fixed, with aplying ppc patch from Herald.

This one?

http://busybox.net/downloads/fixes-1.11.1/busybox-1.11.1-modutils.patch

> Now I have other problem:
> 
> `stdout@@GLIBC_2.0' referenced in section `.text.bb_verror_msg' of
> > libbb/lib.a(verror_msg.o): defined in discarded section `.dynsbss' of
> > /home/fergy/7000_lcars/root/
> 
> cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.4/../../../../powerpc-tuxbox-linux-gnu/lib/nof/crt1.o

Which version of ld is this? I suspect it may be old.

Go to scripts/trylink and replace "-Wl,--gc-sections" with "".

If this helps, you have old ld which has bugs in handling
of --gc-sections. Upgrade, or suffer from many kilobytes
of dead code and data in your binary.

--
vda



More information about the busybox mailing list