Bug 23715 - [4.1 regression] bootstrap error in libjava (ICE in fixup_eh_region_note)
Summary: [4.1 regression] bootstrap error in libjava (ICE in fixup_eh_region_note)
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: 4.1.0
Assignee: Eric Botcazou
URL:
Keywords: build, ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2005-09-03 09:47 UTC by Debian GCC Maintainers
Modified: 2005-09-05 08:08 UTC (History)
2 users (show)

See Also:
Host:
Target: sparc-linux
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-09-03 13:36:58


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Debian GCC Maintainers 2005-09-03 09:47:32 UTC
libjava fails to build on sparc-linux (CVS 20050901 HEAD)

  Matthias

/home/doko-local/gcc/snap/gcc-snapshot-20050901/build/./gcc/xgcc -shared-libgcc
-B/home/doko-local/gcc/snap/gcc-snapshot-20050901/build/./gcc -nostdinc++
-L/home/doko-local/gcc/snap/gcc-snapshot-20050901/build/sparc-linux-gnu/libstdc++-v3/src
-L/home/doko-local/gcc/snap/gcc-snapshot-20050901/build/sparc-linux-gnu/libstdc++-v3/src/.libs
-B/usr/lib/gcc-snapshot/sparc-linux-gnu/bin/
-B/usr/lib/gcc-snapshot/sparc-linux-gnu/lib/ -isystem
/usr/lib/gcc-snapshot/sparc-linux-gnu/include -isystem
/usr/lib/gcc-snapshot/sparc-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../src/libjava -I./include -I./gcj -I../../../src/libjava -Iinclude
-I../../../src/libjava/include -I../../../src/libjava/classpath/include
-I../../../src/libjava/classpath/native/fdlibm
-I../../../src/libjava/../boehm-gc/include -I../boehm-gc/include
-I../../../src/libjava/libltdl -I../../../src/libjava/libltdl
-I../../../src/libjava/.././libjava/../gcc -I../../../src/libjava/../zlib
-I../../../src/libjava/../libffi/include -I../libffi/include -fno-rtti
-fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum
-D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE
-DPREFIX=\"/usr/lib/gcc-snapshot\" -DLIBDIR=\"/usr/lib/gcc-snapshot/lib\"
-DJAVA_HOME=\"/usr/lib/gcc-snapshot/jre\"
-DBOOT_CLASS_PATH=\"/usr/lib/gcc-snapshot/jre/lib/rt.jar\"
-DJAVA_EXT_DIRS=\"/usr/lib/gcc-snapshot/share/java/ext\"
-DGCJ_ENDORSED_DIRS=\"/usr/lib/gcc-snapshot/share/java/gcj-endorsed\"
-DLIBGCJ_DEFAULT_DATABASE=\"/usr/lib/gcc-snapshot/lib/gcj-4.1.0/classmap.db\"
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.1.0/classmap.db\"
-DTOOLEXECLIBDIR=\"/usr/lib/gcc-snapshot/lib\" -g -O2 -D_GNU_SOURCE -MT
interpret.lo -MD -MP -MF .deps/interpret.Tpo -c
../../../src/libjava/interpret.cc  -fPIC -DPIC -o .libs/interpret.o
../../../src/libjava/interpret.cc: In static member function 'static void
_Jv_InterpMethod::run(void*, ffi_raw*, _Jv_InterpMethod*)':
../../../src/libjava/interpret.cc:3243: internal compiler error: in
fixup_eh_region_note, at reload1.c:3808
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [interpret.lo] Error 1
make[5]: Leaving directory
`/home/doko-local/gcc/snap/gcc-snapshot-20050901/build/sparc-linux-gnu/libjava'
Comment 1 Eric Botcazou 2005-09-03 09:54:27 UTC
Worked on SPARC/Solaris on

gax% cat ~/cvs/gcc/LAST_UPDATED
Tue Aug 30 23:56:01 CDT 2005
Wed Aug 31 04:56:01 UTC 2005
Comment 2 Andrew Pinski 2005-09-03 11:52:04 UTC
This is most likely a target problem.
For the target maintainer see <http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00053.html> for 
more information.
Comment 3 Eric Botcazou 2005-09-03 13:36:57 UTC
> This is most likely a target problem.
> For the target maintainer see
<http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00053.html> for 
> more information.

Thanks for the tip!
Comment 4 Eric Botcazou 2005-09-04 11:36:52 UTC
I cannot reproduce on SPARC/Solaris as of

hikaru% cat ~/cvs/gcc/LAST_UPDATED
Sat Sep  3 23:56:02 CDT 2005
Sun Sep  4 04:56:02 UTC 2005

Moreover, an inspection of the back-end didn't uncover any smoking gun.
Comment 5 Debian GCC Maintainers 2005-09-05 08:08:36 UTC
works again with CVS 20050904