[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libc compile failure
From: |
Jeff Bailey |
Subject: |
libc compile failure |
Date: |
Sun, 2 Dec 2001 15:11:39 -0800 |
User-agent: |
Mutt/1.2.5i |
I'm having a problem, and I'm not sure if I should send this through
to one of the glibc lists.
This is a libio-enabled build using a new gcc-3.0 cross compiler.
# /home/jbailey/cvstree/libc/configure --disable-profile --enable-libio
--build=i686-pc-linux-gnu --host=i386-pc-gnu --prefix=
i386-pc-gnu-gcc -nostdlib -nostartfiles -o
/root/hurdlibio/build.glibc-hurd/iconv/iconvconfig
-Wl,-dynamic-linker=/lib/ld.so.1 /root/hurdlibio/build.glibc-hurd/csu/crt1.o
/root/hurdlibio/build.glibc-hurd/csu/crti.o `i386-pc-gnu-gcc
--print-file-name=crtbegin.o`
/root/hurdlibio/build.glibc-hurd/iconv/iconvconfig.o
/root/hurdlibio/build.glibc-hurd/iconv/strtab.o
/root/hurdlibio/build.glibc-hurd/iconv/xmalloc.o
-Wl,-rpath-link=/root/hurdlibio/build.glibc-hurd:/root/hurdlibio/build.glibc-hurd/math:/root/hurdlibio/build.glibc-hurd/elf:/root/hurdlibio/build.glibc-hurd/dlfcn:/root/hurdlibio/build.glibc-hurd/nss:/root/hurdlibio/build.glibc-hurd/nis:/root/hurdlibio/build.glibc-hurd/rt:/root/hurdlibio/build.glibc-hurd/resolv:/root/hurdlibio/build.glibc-hurd/crypt:/root/hurdlibio/build.glibc-hurd/mach:/root/hurdlibio/build.glibc-hurd/hurd
/root/hurdlibio/build.glibc-hurd/libc.so.0.3
/root/hurdlibio/build.glibc-hurd/libc_nonshared.a -lgcc `i386-pc-gnu-gcc
--print-file-name=crtend.o` /root/hurdlibio/build.glibc-hurd/csu/crtn.o
/root/hurdlibio/build.glibc-hurd/libc.so.0.3: undefined reference to
`size_of_encoded_value'
/root/hurdlibio/build.glibc-hurd/libc.so.0.3: undefined reference to
`read_encoded_value_with_base'
collect2: ld returned 1 exit status
It appears to be defined here:
sysdeps/generic/unwind-pe.h:63:size_of_encoded_value (unsigned char encoding)
sysdeps/generic/unwind-pe.h:126:read_encoded_value_with_base (unsigned char
encoding, _Unwind_Ptr base,
sysdeps/generic/unwind-dw2-fde.c defines NO_BASE_OF_ENCODED_VALUE
before it includes unwind-pe.h. The for that file, unwind-pe.h won't
include the definition.
However, that is also the also file that calls
read_encoded_value_with_base.
size_of_encoded value is called from both unwind-dw2-fde.c, and
unwind-dw2.c
With the exception of sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c,
all of these files exist only in sysdeps/generic so I don't understand
why this wouldn't be giving problems on other platforms... I've
probably just missed something, but I'm not sure where to look.
What other information should I gather?
--
Abandon the search for truth; settle for a good fantasy.
- libc compile failure,
Jeff Bailey <=