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]

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



Jakub,

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

Previously we always exported those symbols on a number of platforms.
I removed the %ifdef so that those two symbols are always exported and
now bash worked again with libncurses.so.5,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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