This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GLIBC 2.3.3 build failure on i686-pc-linux-gnu
- From: "Sam Lauber" <sam124 at operamail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 10 Nov 2004 02:01:43 +0100
- Subject: GLIBC 2.3.3 build failure on i686-pc-linux-gnu
Today I built GLIBC 2.3.3 with GLIBC 2.3. The linker seems to have balked on iconv:
make[2]: Entering directory `/home/sam/glibc-2.3.3/iconv'
cd /home/sam/build-glibc && ar cruv libc_pic.a `cat csu/stamp.os iconv/stamp.os iconvdata/stamp.os locale/stamp.os localedata/stamp.os assert/stamp.os ctype/stamp.os intl/stamp.os catgets/stamp.os math/stamp.os setjmp/stamp.os signal/stamp.os stdlib/stamp.os stdio-common/stamp.os libio/stamp.os dlfcn/stamp.os malloc/stamp.os string/stamp.os wcsmbs/stamp.os timezone/stamp.os time/stamp.os dirent/stamp.os grp/stamp.os pwd/stamp.os posix/stamp.os io/stamp.os termios/stamp.os resource/stamp.os misc/stamp.os socket/stamp.os sysvipc/stamp.os gmon/stamp.os gnulib/stamp.os wctype/stamp.os manual/stamp.os shadow/stamp.os po/stamp.os argp/stamp.os crypt/stamp.os linuxthreads/stamp.os resolv/stamp.os nss/stamp.os rt/stamp.os conform/stamp.os debug/stamp.os linuxthreads_db/stamp.os inet/stamp.os hesiod/stamp.os sunrpc/stamp.os nis/stamp.os nscd/stamp.os streams/stamp.os login/stamp.os elf/stamp.os stamp.os`
: /home/sam/build-glibc/libc_pic.a
gcc -nostdlib -nostartfiles -o /home/sam/build-glibc/iconv/iconvconfig -Wl,-dynamic-linker=/lib/lib/ld-linux.so.2 -Wl,-z,combreloc /home/sam/build-glibc/csu/crt1.o /home/sam/build-glibc/csu/crti.o `gcc --print-file-name=crtbegin.o` /home/sam/build-glibc/iconv/iconvconfig.o /home/sam/build-glibc/iconv/strtab.o /home/sam/build-glibc/iconv/xmalloc.o /home/sam/build-glibc/iconv/hash-string.o -Wl,-rpath-link=/home/sam/build-glibc:/home/sam/build-glibc/math:/home/sam/build-glibc/elf:/home/sam/build-glibc/dlfcn:/home/sam/build-glibc/nss:/home/sam/build-glibc/nis:/home/sam/build-glibc/rt:/home/sam/build-glibc/resolv:/home/sam/build-glibc/crypt:/home/sam/build-glibc/linuxthreads /home/sam/build-glibc/libc.so.6 /home/sam/build-glibc/libc_nonshared.a -lgcc -lgcc_eh `gcc --print-file-name=crtend.o` /home/sam/build-glibc/csu/crtn.o
/home/sam/build-glibc/csu/crtn.o(.text+0x0): In function `dummy':
/home/sam/build-glibc/csu/crtn.S:14: multiple definition of `dummy'
/home/sam/build-glibc/csu/crti.o(.text+0x0):/home/sam/build-glibc/csu/crti.S:33: first defined here
/home/sam/build-glibc/csu/crtn.o(.text+0x14): In function `_init':
/home/sam/build-glibc/csu/crtn.S:28: multiple definition of `_init'
/home/sam/build-glibc/csu/crti.o(.text+0x24):/home/sam/build-glibc/csu/crti.S:61: first defined here
/home/sam/build-glibc/csu/crtn.o(.init+0x8): In function `_fini':
/home/sam/build-glibc/csu/crtn.S:69: multiple definition of `_fini'
/home/sam/build-glibc/csu/crti.o(.init+0x4):/home/sam/build-glibc/csu/crti.S:36: first defined here
/home/sam/build-glibc/csu/crti.o(.init+0x16): In function `_fini':
/home/sam/build-glibc/csu/crti.S:43: undefined reference to `i_am_not_a_leaf'
/home/sam/build-glibc/csu/crtn.o(.init+0x2b): In function `_fini':
/home/sam/build-glibc/csu/crtn.S:37: undefined reference to `i_am_not_a_leaf'
/home/sam/build-glibc/csu/crtn.o(.init+0x30):/home/sam/build-glibc/csu/crtn.S:39: undefined reference to `i_am_not_a_leaf'
collect2: ld returned 1 exit status
make[2]: *** [/home/sam/build-glibc/iconv/iconvconfig] Error 1
make[2]: Leaving directory `/home/sam/glibc-2.3.3/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/home/sam/glibc-2.3.3'
make: *** [all] Error 2
I tried compiling the same part with the other version of GCC that's on my system, but it gave me the same error.
Samuel Lauber
--
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.
Powered by Outblaze