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]

GCJ Compiler error building current CVS trees


Copied to both java-discuss (for libgcj) and gcc-bugs (for gcj),
since I'm not sure where it should be fixed.  Adjust your 
followups accordingly...

While compiling the current libgcj CVS tree with the current 
gcj CVS tree, I get an error while compiling the jv-convert
program.  As you can see below, gcj is passing the 
'-fuse-divide-subroutine' option to cc1 (to compile the main
program built by jvgenmain) and cc1 is puking.

I suspect this one can be cured by an update to the libgcj.specs file,
but I don't grok specs files...

This is probably a side-effect of the recent edits to option parsing,
but I don't know where the fix should be made.

------------
Output from 'gcj -v'

gcj -g -v -o .libs/jv-convert --main=gnu.gcj.convert.Convert
gnu/gcj/convert/BytesToUnicode.o gnu/gcj/convert/Convert.o
gnu/gcj/convert/Input_8859_1.o gnu/gcj/convert/Input_EUCJIS.o
gnu/gcj/convert/Input_JavaSrc.o gnu/gcj/convert/Input_SJIS.o
gnu/gcj/convert/Input_UTF8.o gnu/gcj/convert/Output_8859_1.o
gnu/gcj/convert/Output_EUCJIS.o gnu/gcj/convert/Output_JavaSrc.o
gnu/gcj/convert/Output_SJIS.o gnu/gcj/convert/Output_UTF8.o
gnu/gcj/convert/UnicodeToBytes.o .libs/libgcj.so
./../boehm-gc/.libs/libgcjgc.so
-L/home/glenn/cvshome/build-libgcj/i486-pc-linux-gnu/libjava/../boehm-gc/.li
bs -lpthread ./../zlib/.libs/libzgcj.so
-L/home/glenn/cvshome/build-libgcj/i486-pc-linux-gnu/libjava/../zlib/.libs
-L/home/glenn/cvshome/build-libgcj/i486-pc-linux-gnu/libjava/.libs
-Wl,--rpath -Wl,/home/glenn/lib
Reading specs from /home/glenn/lib/gcc-lib/i486-pc-linux-gnu/2.96/specs
Reading specs from libgcj.spec
rename spec lib to liborig
rename spec cc1 to cc1orig
gcc version 2.96 19990921 (experimental)
 /home/glenn/lib/gcc-lib/i486-pc-linux-gnu/2.96/jvgenmain
gnu.gcj.convert.Convert /tmp/ccVkT6Tr.i
 /home/glenn/lib/gcc-lib/i486-pc-linux-gnu/2.96/cc1 /tmp/ccVkT6Tr.i
-fuse-divide-subroutine -quiet -dumpbase .c -g -version -o /tmp/ccu78GnM.s
cc1: Invalid option `-fuse-divide-subroutine'
GNU C version 2.96 19990921 (experimental) (i486-pc-linux-gnu) compiled by
GNU C version 2.96 19990920 (experimental).
make[1]: *** [jv-convert] Error 1
make[1]: Leaving directory
`/home/glenn/cvshome/build-libgcj/i486-pc-linux-gnu/libjava'
make: *** [all-recursive] Error 1

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