This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ Build Error
- To: The Morsbergers <morsberger at usa dot net>
- Subject: Re: GCJ Build Error
- From: Antonio Ake <ake at ecn dot purdue dot edu>
- Date: Fri, 10 Aug 2001 12:49:09 -0500 (EST)
- cc: <java at gcc dot gnu dot org>
I was having the same problem, with Tru64 Unix :
http://gcc.gnu.org/ml/java/2001-07/msg00195.html
1. Try to use -v command and see if everything is ok.
2. Try a fresh build
3. You can use gcc to build gcj.
On Fri, 10 Aug 2001, The Morsbergers wrote:
> I am getting the error below when I try to build gcj. I used the OSF c
> compiler and before anyone asks, gas and gld is not compatible with True64
> Unix. I updated jvspec based on emails and patches discussed in the archive:
> Not sure where to go from here. Any ideas?
>
> es40-unix(java)~ diff /alpha/var/dwmorsb/gcc-3.0/gcc/java/jvspec.c .
> 69,70c69,70
> < %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%Umain.s}} |\n\
> < %{!S:as %a %Y -o %d%w%umain%O %{!pipe:%Umain.s} %A\n }";
> ---
> > %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
> > %{!S:as %a %Y -o %d%w%umain%O %{!pipe:%g.s} %A\n }";
>
>
> uname:
> OSF1 V4.0 1530 alpha
>
>
> Build Commands:
> ../configure --prefix=/opt/gcj30nt --enable-libgcj
> --enable-languages=c,c++,java
> make bootstrap
>
> /home/dwmorsb/gcc-3.0/bldgcj/gcc/gcj
> -B/home/dwmorsb/gcc-3.0/bldgcj/alphaev6-dec-osf4.0g/libjava/
> -B/home/dwmorsb/gcc-3.0/bldgcj/gcc/ -mieee -g -O2 -o .libs/jv-convert
> --main=gnu.gcj.convert.Convert -shared-libgcc
> gnu/gcj/convert/.libs/BytesToUnicode.o gnu/gcj/convert/.libs/Convert.o
> gnu/gcj/convert/.libs/Input_8859_1.o gnu/gcj/convert/.libs/Input_ASCII.o
> gnu/gcj/convert/.libs/Input_EUCJIS.o gnu/gcj/convert/.libs/Input_JavaSrc.o
> gnu/gcj/convert/.libs/Input_SJIS.o gnu/gcj/convert/.libs/Input_UTF8.o
> gnu/gcj/convert/.libs/Input_iconv.o gnu/gcj/convert/.libs/IOConverter.o
> gnu/gcj/convert/.libs/Output_8859_1.o gnu/gcj/convert/.libs/Output_ASCII.o
> gnu/gcj/convert/.libs/Output_EUCJIS.o gnu/gcj/convert/.libs/Output_JavaSrc.o
> gnu/gcj/convert/.libs/Output_SJIS.o gnu/gcj/convert/.libs/Output_UTF8.o
> gnu/gcj/convert/.libs/Output_iconv.o gnu/gcj/convert/.libs/UnicodeToBytes.o
> -L/home/dwmorsb/gcc-3.0/bldgcj/alphaev6-dec-osf4.0g/libjava
> ./.libs/libgcj.so ./../boehm-gc/.libs/libgcjgc.so
> -L/home/dwmorsb/gcc-3.0/bldgcj/alphaev6-dec-osf4.0g/libjava/../boehm-gc/.lib
> s ./../zlib/.libs/libzgcj.so
> -L/home/dwmorsb/gcc-3.0/bldgcj/alphaev6-dec-osf4.0g/libjava/../zlib/.libs
> -L/home/dwmorsb/gcc-3.0/bldgcj/alphaev6-dec-osf4.0g/libjava/.libs -Wl,-rpath
> -Wl,/opt/gcj30nt/lib
> mips-tfile, /tmp/ccYBt2oZ.s:8 Invalid .stabs/.stabn directive, value not
> found
> line: #.stabs
> "/home/dwmorsb/gcc-3.0/bldgcj/alphaev6-dec-osf4.0g/libjava/",100,0,0,$Ltext0
>
> mips-tfile, /tmp/ccYBt2oZ.s:9 Invalid .stabs/.stabn directive, value not
> found
> line: #.stabs "/tmp/cc4MiMFxmain.i",100,0,0,$Ltext0
>
> mips-tfile, /tmp/ccYBt2oZ.s:36 Invalid .stabs/.stabn directive, value not
> found
> line: #.stabs
> "props:S25=ar26=@s64;r26;000000000000000000000000;001777777777777777777777;;
> 0;0;27=*2",38,0,2,props
>
> mips-tfile, /tmp/ccYBt2oZ.s:44 Did not find a PDR block for main
> line: .ent main
>
> mips-tfile, /tmp/ccYBt2oZ.s:50 Invalid .stabs/.stabn directive, value not
> found
> line: #.stabn 68,0,9,$LM1
>
> mips-tfile, /tmp/ccYBt2oZ.s:59 Invalid .stabs/.stabn directive, value not
> found
> line: #.stabn 68,0,10,$LM2
>
> mips-tfile, /tmp/ccYBt2oZ.s:62 Invalid .stabs/.stabn directive, value not
> found
> line: #.stabn 68,0,9,$LM3
>
> mips-tfile, /tmp/ccYBt2oZ.s:65 Invalid .stabs/.stabn directive, value not
> found
> line: #.stabn 68,0,10,$LM4
>
> mips-tfile, /tmp/ccYBt2oZ.s:68 Invalid .stabs/.stabn directive, value not
> found
> line: #.stabn 68,0,11,$LM5
>
> mips-tfile, /tmp/ccYBt2oZ.s:72 Invalid .stabs/.stabn directive, value not
> found
> line: #.stabn 68,0,10,$LM6
>
> mips-tfile, /tmp/ccYBt2oZ.s:75 Invalid .stabs/.stabn directive, value not
> found
> line: #.stabn 68,0,11,$LM7
>
> mips-tfile, /tmp/ccYBt2oZ.s:81 Cannot find .end block for main
> line: .end main
>
> mips-tfile, /tmp/ccYBt2oZ.s:82 Invalid .stabs/.stabn directive, value not
> found
> line: #.stabs "main:F1",36,0,9,main
>
> mips-tfile, /tmp/ccYBt2oZ.s:85 Segmentation fault
> line: #.stabs "argv:P28=*27",64,0,8,18
>
> --
> David Morsberger
>
>