glibc compilation problem

Jacek Konieczny jajcus at jajcus.net
Mon Nov 6 21:17:12 CET 2006


On Mon, Nov 06, 2006 at 03:32:39PM +0100, Jacek Konieczny wrote:
> Or maybe I should try with glibc 2.5? Is it, as in PLD CVS, usable?

I have tried. The same problem:

: /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a
i686-pld-linux-gcc   -nostdlib -nostartfiles -r -o /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/librtld.map.o '-Wl,-(' /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/dl-allobjs.os /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/librtld.mapT
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a(chk_fail.os): In function `*__GI___chk_fail':
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/debug/chk_fail.c:28: multiple definition of `__GI___chk_fail'
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/dl-allobjs.os:/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/elf/dl-minimal.c:354: first defined here
/usr/bin/ld: Warning: size of symbol `__GI___chk_fail' changed from 27 in /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/dl-allobjs.os to 64 in /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a(chk_fail.os)
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a(chk_fail.os): In function `*__GI___chk_fail':
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/debug/chk_fail.c:28: multiple definition of `__chk_fail'
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/dl-allobjs.os:/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/elf/dl-minimal.c:354: first defined here
/usr/bin/ld: Warning: size of symbol `__chk_fail' changed from 27 in /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/dl-allobjs.os to 64 in /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a(chk_fail.os)
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a(init-first.os):(.data+0x0): multiple definition of `__libc_multiple_libcs'
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/dl-allobjs.os:/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/elf/rtld.c:827: first defined here
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a(_itoa.os): In function `_itoa':
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/stdio-common/_itoa.c:210: multiple definition of `_itoa'
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/dl-allobjs.os:/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/elf/dl-minimal.c:295: first defined here
/usr/bin/ld: Warning: size of symbol `_itoa' changed from 192 in /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/dl-allobjs.os to 612 in /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a(_itoa.os)
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a(sbrk.os): In function `*__GI___sbrk':
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/misc/sbrk.c:34: multiple definition of `__sbrk'
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/dl-allobjs.os:/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/elf/../misc/sbrk.c:34: first defined here
/usr/bin/ld: Warning: size of symbol `__sbrk' changed from 113 in /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/dl-allobjs.os to 108 in /home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a(sbrk.os)
/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/libc_pic.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [/home/users/jacek/axeos-rpm/BUILD/glibc-2.5/builddir/elf/librtld.map] Error 1

Greets,
        Jacek


More information about the pld-devel-en mailing list