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]

[jbailey@nisa.net: Glibc failure with Gcc-3.0 and --oldest-abi=2.2.5]


Sorry if this comes through twice, the copy of this I sent to
libc-alpha@gnu.org seems to have gotten lost somewhere.

----- Forwarded message from Jeff Bailey <jbailey@nisa.net> -----

Date: Mon, 24 Dec 2001 06:46:15 -0800
From: Jeff Bailey <jbailey@nisa.net>
To: libc-alpha@gnu.org
Cc: jbailey@gnu.org
Subject: Glibc failure with Gcc-3.0 and --oldest-abi=2.2.5
User-Agent: Mutt/1.2.5i

On both Linux and the Hurd, building with gcc-3.0 and
--enable-oldest-abi=2.2.25 , iconvconfig fails with:

/home/jbailey/cvstree/build.linuxlibc3/libc.so.6: undefined reference to `size_of_encoded_value'
/home/jbailey/cvstree/build.linuxlibc3/libc.so.6: undefined reference to `read_encoded_value_with_base'

I've tried to follow what's causing this, and I've found this:

Framestate (in sysdeps/generic) calls size_of_encoded_value and
read_encoded_value_with_base.

Those functions are only defined in glibc if unwind-pe.h is linked in
with NO_BASE_OF_ENCODED_VALUE defined.

NO_BASE_OF_ENCODED_VALUE is only defined in unwind-dw2-fde.c if the
following condition is met: SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2_5)

This is the configure line that I'm using:

CC=gcc-3.0 ../libc/configure  --disable-profile --enable-add-ons --prefix=/usr --enable-oldest-abi=2.2.5

I am running from a CVS snapshot from December 23rd.  My Gcc is
version 3.0.3.

What other information should I provide you with?

-- 
`Patience' said Slartibartfast again. `Great things are afoot'.
`That's what you said last time we met' said Arthur.
`They were,' said Slartibartfast.
`Yes, that's true,' admitted Arthur.


----- End forwarded message -----

-- 
`Patience' said Slartibartfast again. `Great things are afoot'.
`That's what you said last time we met' said Arthur.
`They were,' said Slartibartfast.
`Yes, that's true,' admitted Arthur.


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