This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

FYI: glibc compiliation again broken on i686-linux



We should really integrate glibc into the GCC testsuite. ;-)  Compilation
of the current glibc with current GCC CVS fails now due to bugs in
dwarf2out.c.  I've just reported this as a bug to gcc-bugs:

extern int vinit(int);

int
init (void)
{
  extern int vinit(int);

  return vinit (5);
}

$ /opt/gcc-3.1-devel/bin/gcc -c t.c  -g -O3          
t.c: In function `init':
t.c:9: Internal compiler error in add_abstract_origin_attribute, at dwarf2out.c:9296
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

I'm not sure what's broken, the gdb output looks totally strange to
me since it doesn't mention add_abstract_origin_attribute (this is
current CVS GDB from 5.1 branch):
(gdb) bt
#0  fancy_abort (file=0x82bebe4 "/cvs/gcc/gcc/dwarf2out.c", line=9296, 
    function=0x82c2124 "add_abstract_origin_attribute")
    at /cvs/gcc/gcc/diagnostic.c:1450
#1  0x080bf15d in gen_subprogram_die (decl=0x401756cc, context_die=0x0)
    at /cvs/gcc/gcc/dwarf2out.c:4395
#2  0x080c27d9 in decls_for_scope (stmt=0x40174180, context_die=0x8412cb8, 
    depth=0) at /cvs/gcc/gcc/dwarf2out.c:11202

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]