[ELDK] Building ELDK 4.2 for MIPS

Gianni nasus.maximos at gmail.com
Tue Mar 10 16:02:02 CET 2009


Hi *,

I'm trying to compile the ELDK 4.2 for MIPS for a while now and I've hit a 
brick wall when trying to compile the crosstoool package.

When I run "ELDK_BUILD -a mips", everything runs fine until I get an error with 
the following message in the 
eldk-4.2/build/mips-2009-03-10/logs/build_crosstool.log:

[...]
checking for .set assembler directive... no
checking for assembler .type directive prefix... @
checking for .symver assembler directive... yes
checking for ld --version-script... no
*** WARNING: You should not compile GNU libc without versioning. Not using
*** versioning will introduce incompatibilities so that old binaries
*** will not run anymore.
*** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer).
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... yes
checking for .preinit_array/.init_array/.fini_array support... no
configure: error: Need linker with .init_array/.fini_array support.
error: Bad exit status from 
/opt/eldk-4.2/build/mips-2009-03-10/work/var/tmp/rpm-tmp.53440 (%build)


Is my ld incompatible with my libc?  This doesn't makes sense which I think it 
might mean I am missing a patch or something...  has anyone come across this 
issue?  I've search the mailing lists but haven't found anything.


Thanks in advance.


More information about the eldk mailing list