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

Alexandre Oliva oliva@dcc.unicamp.br
Mon Jul 19 01:16:00 GMT 1999


On Jul 19, 1999, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:

> On Jul 19, 1999, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:
>> It only crashes with -g (of course)

> Oh well, removing `-g' from CXXFLAGS was not enough to complete the
> build :-(

> gcj -g also has problems :-(

And even omitting -g still causes problems:

gcj -fassume-compiled -c  -fPIC -DPIC /home/phd/oliva/src/libgcj-2.95/libjava/java/net/MulticastSocket.java -o java/net/.libs/MulticastSocket.lo
/home/phd/oliva/src/libgcj-2.95/libjava/java/net/MulticastSocket.java:118: Internal compiler error in `dwarfout_finish', at dwarfout.c:6098
Please submit a full bug report.
See <URL: http://egcs.cygnus.com/faq.html#bugreport > for instructions.

I had to compile with -g0 to finish the build.  Why is `-g0' any
different from no `-g'?

-- 
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



More information about the Java mailing list