[Q] can't build libgcj on Solaris 2.6

Joerg Brunsmann joerg.brunsmann@FernUni-Hagen.de
Fri Dec 3 08:32:00 GMT 1999


Anthony Green wrote:

> > BTW: egcs-19991122 doesn't compile libgcj (gcj hangs during
> > compilation of a libgcj java file)

> This was fixed last week.  Somebody made a change in the
> language-independent EH infrastructure that required a change to jc1.

Didn't know that, sorry.

> > and egcs-19991201 doesn't compile at all. 
>
> Details?

make[4]: Entering directory `/home/joerg/egcs.compile/egcs-19991201/objdir/gcc'
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors _pure; \
do \
  echo ${name}; \
  ./xgcc -B/home/joerg/gcc/sparc-sun-solaris2.7/bin/ -B./ -I/home/joerg/gcc/sparc-sun-solaris2.7/include -O2   -DIN_GCC  -DSVR4  -g -W -Wall -Wtraditional -I./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -m64 -I. -I/home/joerg/egcs.compile/egcs/gcc -I/home/joerg/egcs.compile/egcs/gcc/config -I/home/joerg/egcs.compile/egcs/gcc/../include -c -DL${name} \
       /home/joerg/egcs.compile/egcs/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
In file included from /home/joerg/egcs.compile/egcs/gcc/libgcc2.c:155:
/home/joerg/egcs.compile/egcs/gcc/longlong.h:1067: warning: macro arg `q' would be stringified with -traditional.
/home/joerg/egcs.compile/egcs/gcc/longlong.h:1067: warning: macro arg `q' would be stringified with -traditional.
/home/joerg/egcs.compile/egcs/gcc/longlong.h:1067: warning: macro arg `r' would be stringified with -traditional.
/home/joerg/egcs.compile/egcs/gcc/longlong.h:1067: warning: macro arg `r' would be stringified with -traditional.
/home/joerg/egcs.compile/egcs/gcc/longlong.h:1067: warning: macro arg `r' would be stringified with -traditional.
Assembler messages:
Error: invalid architecture -xarch=v9
make[4]: *** [libgcc2.a] Error 1

$ as -v
GNU assembler version 2.9.1
$ ld -v
GNU ld version 2.9.1 (with BFD 2.9.1)
$ gcc -v
Reading specs from gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
gcc version 2.8.1


More information about the Java mailing list