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]

GCC 3.0 and GLIBC don't work together



Since around the 24th of May I have problems building the current
glibc CVS version with the current GCC version (both branches).  One
problem is the following (failed while running make check):

gee:/builds/glibc/gcc-3.0:[0]$ gdb /builds/glibc/gcc-3.0/iconvdata/bug-iconv2
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux"...
(gdb) r
Starting program: /builds/glibc/gcc-3.0/iconvdata/bug-iconv2 
This used to crash
0
works now

Program received signal SIGSEGV, Segmentation fault.
_dl_lookup_versioned_symbol (undef_name=0x4015bdba "__deregister_frame_info_bases", undef_map=0x805e2c8, ref=0xbffff550, 
    symbol_scope=0x805e40c, version=0x805e590, reloc_type=7, explicit=0) at do-lookup.h:52
52            map = list[i];
(gdb) bt
#0  _dl_lookup_versioned_symbol (undef_name=0x4015bdba "__deregister_frame_info_bases", undef_map=0x805e2c8, ref=0xbffff550, 
    symbol_scope=0x805e40c, version=0x805e590, reloc_type=7, explicit=0) at do-lookup.h:52
#1  0x4000bd24 in fixup (l=0x805e2c8, reloc_offset=0) at dl-runtime.c:89
#2  0x4000bed0 in _dl_runtime_resolve () at dl-runtime.c:190
#3  0x40163575 in _fini () from /opt/gcc-3.1-devel/lib/libgcc_s.so.0
#4  0x4000c912 in _dl_fini () at dl-fini.c:169
#5  0x4004b18b in exit (status=0) at exit.c:54
#6  0x400373c6 in __libc_start_main () at ../sysdeps/generic/libc-start.c:129
(gdb) 

What's going wrong here?  Do we need to patch GCC or glibc?

This is on i686-linux-gnu,
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]