bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: libc compile failure]


From: Jeff Bailey
Subject: address@hidden: libc compile failure]
Date: Sun, 2 Dec 2001 15:58:32 -0800
User-agent: Mutt/1.2.5i

Roland told me to forward this here, since this has to do with the new
gcc-3.0 compatability code.  I've concatinated the two emails I sent
to bug-hurd.  If there's any more information I can send you, please
let me know.

(Message follows)

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.

We wondered if the problem might be with that test in
sysdeps/mach/hurd/configure.in, so I decided to compare the results
between Linux and the Hurd.  Both are running some form of gcc-3

libc_cv_gcc_unwind_find_fde is set to yes on the ``Linux'' system, and
no on the ``Hurd''.

oldest_abi is set to ``default'' on both of them.

Oh well, I'm done for the night. =) I'm working from home tommorow, so
I can probably start babysit this a little.



-- 
Abandon the search for truth; settle for a good fantasy.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]