This is the mail archive of the mailing list for the GCC project.

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

java/3717: GCC 3.0 fails to build on Solaris in libjava.

>Number:         3717
>Category:       java
>Synopsis:       GCC 3.0 fails to build on Solaris in libjava.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 17 13:16:02 PDT 2001
>Originator:     Jeremy Bresley
>Release:        GCC 3.0
Solaris 7 on a Netra T1 105.  440MHz UltraSPARC IIi CPU, 512MB RAM
Compiling with gcc version 2.95.2 19991024 (release)
CC=gcc CFLAGS="-O3 -mcpu=ultrasparc -mtune=ultrasparc" ./configure --with-cpu=ultrasparc ; make

make[2]: Entering directory `/usr/local/src/gcc-3.0/sparc-sun-solaris2.7/libjava'
/bin/sh ./libtool --mode=compile /usr/local/src/gcc-3.0/gcc/xgcc -B/usr/local/src/gcc-3.0/gcc/ -B/usr/local/sparc-sun-solaris2.7/bin/ -B/usr/local/sparc-sun-solaris2.7/lib/ -isystem /usr/local/sparc-sun-solaris2.7/include -DHAVE_CONFIG_H -I. -I. -I./include -I. -Iinclude -I./include -I./../boehm-gc -I./../boehm-gc  -DSOLARIS_THREADS=1 -D_SOLARIS_PTHREADS=1 -DSILENT=1 -DNO_SIGNALS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1   -I./libltdl -I./libltdl -I./.././../gcc -I./../zlib -I./../libffi/include -I../libffi/include   -W -Wall -O3 -mcpu=ultrasparc -mtune=ultrasparc -c -o java/lang/k_tan.lo java/lang/k_tan.c
/usr/local/src/gcc-3.0/gcc/xgcc -B/usr/local/src/gcc-3.0/gcc/ -B/usr/local/sparc-sun-solaris2.7/bin/ -B/usr/local/sparc-sun-solaris2.7/lib/ -isystem /usr/local/sparc-sun-solaris2.7/include -DHAVE_CONFIG_H -I. -I. -I./include -I. -Iinclude -I./include -I./../boehm-gc -I./../boehm-gc -DSOLARIS_THREADS=1 -D_SOLARIS_PTHREADS=1 -DSILENT=1 -DNO_SIGNALS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -I./libltdl -I./libltdl -I./.././../gcc -I./../zlib -I./../libffi/include -I../libffi/include -W -Wall -O3 -mcpu=ultrasparc -mtune=ultrasparc -c java/lang/k_tan.c  -fPIC -DPIC -o java/lang/.libs/k_tan.o
java/lang/k_tan.c: In function `__kernel_tan':
java/lang/k_tan.c:130: Insn does not satisfy its constraints:
(insn 518 358 342 (set (reg:DI 34 %f2)
        (reg/v:DI 64 %f32 [245])) 58 {*movdi_insn_sp32} (nil)
java/lang/k_tan.c:130: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8355
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.
make[2]: *** [java/lang/k_tan.lo] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-3.0/sparc-sun-solaris2.7/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gcc-3.0/sparc-sun-solaris2.7/libjava'
make: *** [all-target-libjava] Error 2

Bug does NOT occur with -O1 instead of -O3.
See Description.  Source is unmodified from
Either use -O1, or fix the bug.  (Sorry, no fix for it, I'm a system admin, not a C programmer.)

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