This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

undefined reference to `i_am_not_a_leaf'


I wonder if someone can help me figure out why I am getting this
"undefined reference to `i_am_not_a_leaf'" compile failure?

I'm using:
      * gcc-3.3 with the athlon-hammer-branch-20030515.patch and a
        backport of the 3.4 DFA sched from gentoo
      * binutils-2.14.90.0.4.1-r1
      * glibc-2.3.2-r1

gcc iconvconfig.c -c -std=gnu99 -O3 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -falign-functions=4 -fprefetch-loop-arrays
-freorder-blocks -march=athlon-xp -mcpu=athlon-xp -mfpmath=sse -pipe  
-DGCONV_PATH='"/usr/lib/gconv"' -DGCONV_DIR='"/usr/lib/gconv"'  
-I../include -I.
-I/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/iconv -I..
-I../libio -I../nptl
-I/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix
-I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv/i386/i686 -I../sysdeps/unix/sysv/i386
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386/i686
-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486
-I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-nostdinc -isystem /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/include
-isystem /lib/modules/2.6.0-test1-mm1/build/include -D_LIBC_REENTRANT
-D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1  
-DNOT_IN_libc -o
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/iconv/iconvconfig.o -MD -MP -MF /var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/iconv/iconvconfig.o.dt
iconvconfig.c:627: warning: inlining failed in call to `handle_dir'
iconvconfig.c:294: warning: called from here
iconvconfig.c:627: warning: inlining failed in call to `handle_dir'
iconvconfig.c:301: warning: called from here
iconvconfig.c:393: warning: inlining failed in call to `new_alias'
iconvconfig.c:752: warning: called from here
iconvconfig.c:498: warning: inlining failed in call to `new_module'
iconvconfig.c:759: warning: called from here
iconvconfig.c:797: warning: inlining failed in call to
`generate_name_list'
iconvconfig.c:317: warning: called from here
iconvconfig.c:844: warning: inlining failed in call to
`generate_name_info'
iconvconfig.c:321: warning: called from here
iconvconfig.c:993: warning: inlining failed in call to `write_output'
iconvconfig.c:325: warning: called from here
iconvconfig.c:393: warning: inlining failed in call to `new_alias'
iconvconfig.c:449: warning: called from here
iconvconfig.c:498: warning: inlining failed in call to `new_module'
iconvconfig.c:619: warning: called from here
iconvconfig.c:627: warning: inlining failed in call to `handle_dir'
iconvconfig.c:294: warning: called from here
iconvconfig.c:627: warning: inlining failed in call to `handle_dir'
iconvconfig.c:301: warning: called from here
In file included from iconvconfig.c:308:
iconvconfig.c:393: warning: inlining failed in call to `new_alias'
iconvconfig.c:752: warning: called from here
iconvconfig.c:498: warning: inlining failed in call to `new_module'
iconvconfig.c:759: warning: called from here
iconvconfig.c:824: warning: inlining failed in call to
`name_to_module_idx'
iconvconfig.c:839: warning: called from here
iconvconfig.c:824: warning: inlining failed in call to
`name_to_module_idx'
iconvconfig.c:839: warning: called from here
iconvconfig.c:824: warning: inlining failed in call to
`name_to_module_idx'
iconvconfig.c:839: warning: called from here
iconvconfig.c:824: warning: inlining failed in call to
`name_to_module_idx'
iconvconfig.c:839: warning: called from here
iconvconfig.c:824: warning: inlining failed in call to
`name_to_module_idx'
iconvconfig.c:839: warning: called from here
iconvconfig.c:993: warning: inlining failed in call to `write_output'
iconvconfig.c:325: warning: called from here
rm -f
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/libc.so.6.new
/bin/sh ../scripts/rellns-sh
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/libc.so
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/libc.so.6.new
mv -f
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/libc.so.6.new
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/libc.so.6
gcc -nostdlib -nostartfiles -o
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/iconv/iconvconfig  -Wl,-dynamic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc /var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crt1.o /var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crti.o `gcc --print-file-name=crtbegin.o` /var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/iconv/iconvconfig.o /var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/iconv/strtab.o /var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/iconv/xmalloc.o /var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/iconv/hash-string.o  -Wl,-rpath-link=/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere:/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/math:/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/elf:/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/dlfcn:/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/nss:/var/tmp/portage/glibc-2.3.2_p2/work/glib
 c-2.3.2/buildhere/nis:/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/rt:/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/resolv:/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/crypt:/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/nptl /var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/libc.so.6 /var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/libc_nonshared.a -lgcc -lgcc_eh `gcc --print-file-name=crtend.o` /var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crtn.o
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crtn.o(.text+0x0): In function `dummy':
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crtn.S:14: multiple definition of `dummy'
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crti.o(.text+0x0):/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crti.S:33: first defined here
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crtn.o(.text+0x14): In function `_init':
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crtn.S:28: multiple definition of `_init'
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crti.o(.text+0x24):/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crti.S:61: first defined here
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crtn.o(.init+0x8): In function `_fini':
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crtn.S:69: multiple definition of `_fini'
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crti.o(.init+0x4):/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crti.S:36: first defined here
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crti.o(.init+0x16): In function `_fini':
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crti.S:43: undefined reference to `i_am_not_a_leaf'
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crtn.o(.init+0x2b): In function `_fini':
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crtn.S:37: undefined reference to `i_am_not_a_leaf'
/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crtn.o(.init+0x30):/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/csu/crtn.S:39: undefined reference to `i_am_not_a_leaf'
collect2: ld returned 1 exit status
make[2]: ***
[/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/buildhere/iconv/iconvconfig] Error 1
make[2]: Leaving directory
`/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory
`/var/tmp/portage/glibc-2.3.2_p2/work/glibc-2.3.2'
make: *** [all] Error 2


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