Hi, I am using a binutils-2.21 snapshot (2011-03-18) on my Debian/sid i386 Host and tried to include the same version for my mipsel-toolchain.
Even with including the new --size-option=warning option [1] as a CFLAGS into the uclibc.mk script, the build of uClibc-0.9.32-rc3 breaks (see below). This should *not* happen with this option: Spy out "errors as warnings" and continue. As binutils-2.21 is nearly "ready-to-be-released", there will be more reports like this as they were on LKML (all issues there got fixed). Doug has already reported here some errors for powerpc, yesterday. >From a previous build I have collected some more "warnings". host-binutils (see above) and target-binutils was 2.21.51.0.6 (H.J. Lu). While hunting another toolchain bug, I could talk a bit with Peter: "There are some macros for mips (see sys/asm.h) to solve these .cprestore/.frame warnings, but not all *.S files were converted to use them consistently. I have about 2000 patches to apply to uClibc (done in 2007/2008, need much manual rework), IIRC I solved these, but are late in the queue. First I have to make general code work/cleanup/fix, after that the arch specifics." But I have no clue on how to fix that. As he is busy with other stuff, I am asking here on the ML. Regards, - Sedat - [1] http://sourceware.org/git/?p=binutils.git;a=commit;h=636841837f3e071fe46e56497a0037dd672b8ffd [ build.log ] ... touch /home/sd/src/freetz/freetz-trunk/source/toolchain-mipsel_gcc-4.6.0-RC-20110314_uClibc-0.9.32-rc3/gcc-4.6.0-RC-20110314-initial/.installed make -C /home/sd/src/freetz/freetz-trunk/source/toolchain-mipsel_gcc-4.6.0-RC-20110314_uClibc-0.9.32-rc3/uClibc-0.9.32-rc3 \ LOCALE_DATA_FILENAME=uClibc-locale-le-32-de_DE-en_US.tar.gz V=1 \ PREFIX= \ DEVEL_PREFIX=/ \ RUNTIME_PREFIX=/ \ HOSTCC="gcc -D_GNU_SOURCE -fno-stack-protector -U_GNU_SOURCE -fno-strict-aliasing -Wa,--size-check=warning" \ all make[1]: Entering directory `/home/sd/src/freetz/freetz-trunk/source/toolchain-mipsel_gcc-4.6.0-RC-20110314_uClibc-0.9.32-rc3/uClibc-0.9.32-rc3' GEN include/bits/sysnum.h make[2]: Nothing to be done for `locale_headers'. MKDIR lib AS lib/crt1.o -DNDEBUG -D__ASSEMBLER__ -DL_crt1 AS lib/Scrt1.o -DNDEBUG -D__ASSEMBLER__ -DL_Scrt1 libc/sysdeps/linux/mips/crt1.S: Assembler messages: libc/sysdeps/linux/mips/crt1.S:117: Warning: No .cprestore pseudo-op used in PIC code AS lib/crti.o -DNDEBUG -D__ASSEMBLER__ AS lib/crtn.o -DNDEBUG -D__ASSEMBLER__ initfini.c: Assembler messages: initfini.c:47: Error: .size expression for _init does not evaluate to a constant initfini.c:47: Error: .size expression for _fini does not evaluate to a constant make[1]: *** [lib/crtn.o] Fehler 1 make[1]: Leaving directory `/home/sd/src/freetz/freetz-trunk/source/toolchain-mipsel_gcc-4.6.0-RC-20110314_uClibc-0.9.32-rc3/uClibc-0.9.32-rc3' make: *** [/home/sd/src/freetz/freetz-trunk/source/toolchain-mipsel_gcc-4.6.0-RC-20110314_uClibc-0.9.32-rc3/uClibc-0.9.32-rc3/lib/libc.a] Fehler 2 $ egrep 'Assembler messages|Warning: No|pseudo-op' logs/build.log | egrep '^ldso|^libc' libc/sysdeps/linux/mips/crt1.S: Assembler messages: libc/sysdeps/linux/mips/crt1.S:117: Warning: No .cprestore pseudo-op used in PIC code ldso/ldso/mips/resolve.S: Assembler messages: ldso/ldso/mips/resolve.S:151: Warning: No .cprestore pseudo-op used in PIC code libc/sysdeps/linux/mips/syscall_error.S: Assembler messages: libc/sysdeps/linux/mips/syscall_error.S:50: Warning: No .frame pseudo-op used in PIC code libc/sysdeps/linux/mips/clone.S: Assembler messages: libc/sysdeps/linux/mips/clone.S:146: Warning: No .frame pseudo-op used in PIC code ldso/ldso/mips/resolve.S: Assembler messages: ldso/ldso/mips/resolve.S:151: Warning: No .cprestore pseudo-op used in PIC code - EOT - _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc