This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

failing to compile 2.9 glibc


hello
everyone
now I'm building a toolchain with
binutils-2.19.1
glibc-2.19
gcc-4.4.2
it fails with following error:

/home/lfs/mglibc-build/elf/librtld.map.o '-Wl,-('
/home/lfs/glibc-build/elf/dl-allobjs.os /home/lfs/glibc-build/libc_pic.a
-lgcc '-Wl,-)' -Wl,-Map,/home/lfs/glibc-build/elf/librtld.mapT
/home/lfs/glibc-build/libc_pic.a(dl-addr.os): In function
`_dl_addr_inside_object':
dl-addr.c:(.text+0x0): multiple definition of `_dl_addr_inside_object'
/home/lfs/glibc-build/elf/dl-allobjs.os:(.text+0xd774): first defined here
/home/lfs/glibc-build/libc_pic.a(init-first.os):(.data+0x0): multiple
definition of `__libc_multiple_libcs'
/home/lfs/glibc-build/elf/dl-allobjs.os:(.bss+0x78): first defined here
/home/lfs/glibc-build/libc_pic.a(_itoa.os): In function `_itoa':
_itoa.c:(.text+0xb0): multiple definition of `_itoa'
/home/lfs/glibc-build/elf/dl-allobjs.os:(.text+0xfc8e): first defined here
collect2: ld returned 1 exit status
make[2]: *** [/home/lfs/glibc-build/elf/librtld.map] Error 1
make[2]: Leaving directory `/lfs/local/home/lfs/glibc-2.9/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/lfs/local/home/lfs/glibc-2.9'
make: *** [all] Error 2


I googled a solution : echo "CFLAGS += -fno-stack-protector"> configparms
and I tried, but it didn't work, it reports the same error.

How come this error and how can i fix/work-around it?

thanks in advance for help


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]