==> Installing crti.o to local build-tree ... Compiling crtn.o initfini.c: Assembler messages: initfini.c:29: Error: .size expression for _init does not evaluate to a constant initfini.c:29: Error: .size expression for _fini does not evaluate to a constant make[3]: *** [crtn.o] Error 1 make[3]: Leaving directory `/home/wegrzyn/Fiasco/L4re-build/pkg/ldscripts/OBJ-x86_core2' make[2]: *** [/home/wegrzyn/Fiasco/L4re-build/pkg/ldscripts/OBJ-x86_core2] Error 2 make[2]: Leaving directory `/home/wegrzyn/Fiasco/src/l4/pkg/ldscripts' make[1]: *** [ldscripts] Error 2 make[1]: Leaving directory `/home/wegrzyn/Fiasco/src/l4/pkg' make: *** [pkg] Error 2
Can anyone venture a guess what I need to correct?
TYXL HFUT,China
On Wed May 04, 2011 at 10:31:07 +0800, Íõ±ò±ò wrote:
==> Installing crti.o to local build-tree ... Compiling crtn.o initfini.c: Assembler messages: initfini.c:29: Error: .size expression for _init does not evaluate to a constant initfini.c:29: Error: .size expression for _fini does not evaluate to a constant make[3]: *** [crtn.o] Error 1 make[3]: Leaving directory `/home/wegrzyn/Fiasco/L4re-build/pkg/ldscripts/OBJ-x86_core2' make[2]: *** [/home/wegrzyn/Fiasco/L4re-build/pkg/ldscripts/OBJ-x86_core2] Error 2 make[2]: Leaving directory `/home/wegrzyn/Fiasco/src/l4/pkg/ldscripts' make[1]: *** [ldscripts] Error 2 make[1]: Leaving directory `/home/wegrzyn/Fiasco/src/l4/pkg' make: *** [pkg] Error 2
Can anyone venture a guess what I need to correct?
Recent binutils trigger this.
Index: pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/i386/crtn.S =================================================================== --- pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/i386/crtn.S +++ pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/i386/crtn.S @@ -3,20 +3,22 @@ .section .init .global _init .type _init,%function +.L1: popl %ebx popl %ebp ret -.size _init,.-_init +.size .L1,.-.L1
.section .fini .global _fini .type _fini,%function +.L2: popl %ebx popl %ebp ret -.size _fini,.-_fini +.size .L2,.-.L2
Adam
l4-hackers@os.inf.tu-dresden.de