[PATCH] GLIBC_2.2.5 support for GCC_3.0 (was Re: Running old apps (glibc 2.0.7 compiled) against current glibc)

Jakub Jelinek jakub@redhat.com
Thu Aug 23 04:21:00 GMT 2001


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?

	Jakub



More information about the Libc-alpha mailing list