This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] GLIBC_2.2.5 support for GCC_3.0 (was Re: Running oldapps (glibc 2.0.7 compiled) against current glibc)
Jakub Jelinek <jakub@redhat.com> writes:
> On Thu, Aug 23, 2001 at 12:17:14PM +0200, Andreas Jaeger wrote:
> > I just got while compiling glibc 2.2.4 with your patch with GCC 2.95.x:
>>
>> sh: error while loading shared libraries: /lib/libncurses.so.5: symbol __register_frame_info, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
>>
>> This part of the patch looks wrong:
>>
>> --- libc/elf/Versions.jj Sat Aug 4 15:00:20 2001
>> +++ libc/elf/Versions Mon Aug 6 05:22:38 2001
>> @@ -2,6 +2,9 @@ libc {
>> GLIBC_2.0 {
>> # functions used in other libraries
>> _dl_open; _dl_close; _dl_addr;
>> +%ifdef EXPORT_UNWIND_FIND_FDE
>> + __register_frame_info; __deregister_frame_info;
>> +%endif
>
> It is correct.
> EXPORT_UNWIND_FIND_FDE is supposed to be defined no matter what your
> compiler is.
> It should only be undefined on Linux/IA-64.
> Have you run configure after patching glibc or before?
Upps - I misapplied config.h.in and therefore EXPORT_UNWIND_FIND_FDE
was not defined at all :-(.
Now your original patch is working for me.
thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj