I have a problem when I built the L4Re environment

Adam Lackorzynski adam at os.inf.tu-dresden.de
Wed May 4 08:51:32 CEST 2011


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
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list