This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


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

libgcj won't build with -g on i386-pc-solaris2.7


In file included from /home/phd/oliva/src/libgcj-2.95/libjava/no-threads.cc:13:
/home/phd/oliva/src/libgcj-2.95/libjava/include/cni.h: In function `class java::lang::Object * JvAllocObject(java::lang::Class *)':
/home/phd/oliva/src/libgcj-2.95/libjava/include/cni.h:26: Internal compiler error in `fundamental_type_code', at dwarfout.c:1416
Please submit a full bug report.
See <URL:http://egcs.cygnus.com/faq.html#bugreport> for instructions.

A minimal testcase:

typedef __java_boolean jboolean;
void foo() {}

oliva@thor% eg++ -v ~/solx86-bug.ii -g
Reading specs from /n/temp1/gcctest/egcs/i86pc-SunOS-5.7/lib/gcc-lib/i386-pc-solaris2.7/2.95/specs
gcc version 2.95 19990718 (prerelease)
 /n/temp1/gcctest/egcs/i86pc-SunOS-5.7/lib/gcc-lib/i386-pc-solaris2.7/2.95/cc1plus /home/phd/oliva/solx86-bug.ii -quiet -g -version -o /tmp/ccl8bn1T.s
GNU C++ version 2.95 19990718 (prerelease) (i386-pc-solaris2.7) compiled by GNU C version 2.95 19990718 (prerelease).
/home/phd/oliva/solx86-bug.ii:2: Internal compiler error in `fundamental_type_code', at dwarfout.c:1416
Please submit a full bug report.
See <URL:http://egcs.cygnus.com/faq.html#bugreport> for instructions.

It only crashes with -g (of course)

Unfortunately, I can't seem to be able to start cc1plus within gdb in
the only Solaris/x86 host we've got here, it complains about lack of
permission on /proc/<procnum>/ctl :-(

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

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