public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/52690] New: ICE after bootstrap comparison in libjava
@ 2012-03-23 18:05 fang at csl dot cornell.edu
  2012-03-23 18:19 ` [Bug middle-end/52690] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: fang at csl dot cornell.edu @ 2012-03-23 18:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52690

             Bug #: 52690
           Summary: ICE after bootstrap comparison in libjava
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: java
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: fang@csl.cornell.edu


On a powerpc-darwin8 bootstrap of release-4.7.0, after stage 3 comparison,
during libjava:

configured with:

../gcc-4.7.0/configure --prefix=/sw AS=odas AS_FOR_TARGET=odas
NM_FOR_TARGET=odnm LD_FOR_TARGET=odld AR_FOR_TARGET=oda
r LIPO_FOR_TARGET=odlipo OBJDUMP_FOR_TARGET=odobjdump
RANLIB_FOR_TARGET=odranlib STRIP_FOR_TARGET=odstrip --prefix=/sw/l
ib/gcc4.7 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.7/info
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --
with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw
--with-mpc=/sw --with-system-zlib --x-includes=/
usr/X11R6/include --x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.7
--enable-cloog-backend=isl --with-dwarf2 --disa
ble-libjava-multilib --disable-libquadmath

...
depbase=`echo interpret.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/sh ./libtool --tag=CXX   --mode=compile
/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/xgcc -
shared-libgcc -B/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc
-nostdinc++ -L/Volumes/Isolde/fink.build/gc
c47-4.7.0-1/darwin_objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/src
-L/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_
objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/bin/ -B/sw/lib/gcc4
.7/powerpc-apple-darwin8.11.0/lib/ -isystem
/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include -isystem /sw/lib/gcc4.7/po
werpc-apple-darwin8.11.0/sys-include    -DHAVE_CONFIG_H -I.
-I../../../gcc-4.7.0/libjava -I./include -I./gcj  -I../../..
/gcc-4.7.0/libjava -Iinclude -I../../../gcc-4.7.0/libjava/include
-I../../../gcc-4.7.0/libjava/classpath/include -Iclass
path/include -I../../../gcc-4.7.0/libjava/classpath/native/fdlibm
-I../../../gcc-4.7.0/libjava/../boehm-gc/include -I../
boehm-gc/include  -I../../../gcc-4.7.0/libjava/libltdl
-I../../../gcc-4.7.0/libjava/libltdl -I../../../gcc-4.7.0/libjava
/.././libjava/../libgcc  -I../../../gcc-4.7.0/libjava/../libffi/include
-I../libffi/include -I/sw/include -fno-rtti -fno
n-call-exceptions  -fdollars-in-identifiers -Wswitch-enum
-D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE -DPREFIX="\
"/sw/lib/gcc4.7\"" -DTOOLEXECLIBDIR="\"/sw/lib/gcc4.7/lib\""
-DJAVA_HOME="\"/sw/lib/gcc4.7\"" -DBOOT_CLASS_PATH="\"/sw/l
ib/gcc4.7/share/java/libgcj-4.7.0.jar\""
-DJAVA_EXT_DIRS="\"/sw/lib/gcc4.7/share/java/ext\"" -DGCJ_ENDORSED_DIRS="\"/sw/
lib/gcc4.7/share/java/gcj-endorsed\""
-DGCJ_VERSIONED_LIBDIR="\"/sw/lib/gcc4.7/lib/gcj-4.7.0-13\""
-DPATH_SEPARATOR="\":
\"" -DECJ_JAR_FILE="\"/sw/lib/gcc4.7/share/java/ecj.jar\""
-DLIBGCJ_DEFAULT_DATABASE="\"/sw/lib/gcc4.7/lib/gcj-4.7.0-13/
classmap.db\""
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL="\"gcj-4.7.0-13/classmap.db\"" -fwrapv -g
-O2 -MT interpret.lo -MD -M
P -MF $depbase.Tpo -c -o interpret.lo ../../../gcc-4.7.0/libjava/interpret.cc
&&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile: 
/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/xgcc
-shared-libgcc -B/Volumes/Isolde/fi
nk.build/gcc47-4.7.0-1/darwin_objdir/./gcc -nostdinc++
-L/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/powerpc-
apple-darwin8.11.0/libstdc++-v3/src
-L/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/powerpc-apple-darwin8.11.0/
libstdc++-v3/src/.libs -B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/bin/
-B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/lib/
 -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include -isystem
/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/sys-inclu
de -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.0/libjava -I./include -I./gcj
-I../../../gcc-4.7.0/libjava -Iinclude -I../../.
./gcc-4.7.0/libjava/include -I../../../gcc-4.7.0/libjava/classpath/include
-Iclasspath/include -I../../../gcc-4.7.0/libj
ava/classpath/native/fdlibm -I../../../gcc-4.7.0/libjava/../boehm-gc/include
-I../boehm-gc/include -I../../../gcc-4.7.0/
libjava/libltdl -I../../../gcc-4.7.0/libjava/libltdl
-I../../../gcc-4.7.0/libjava/.././libjava/../libgcc -I../../../gcc-
4.7.0/libjava/../libffi/include -I../libffi/include -I/sw/include -fno-rtti
-fnon-call-exceptions -fdollars-in-identifie
rs -Wswitch-enum -D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE
-DPREFIX=\"/sw/lib/gcc4.7\" -DTOOLEXECLIBDIR=\"/sw/l
ib/gcc4.7/lib\" -DJAVA_HOME=\"/sw/lib/gcc4.7\"
-DBOOT_CLASS_PATH=\"/sw/lib/gcc4.7/share/java/libgcj-4.7.0.jar\" -DJAVA_E
XT_DIRS=\"/sw/lib/gcc4.7/share/java/ext\"
-DGCJ_ENDORSED_DIRS=\"/sw/lib/gcc4.7/share/java/gcj-endorsed\" -DGCJ_VERSIONED
_LIBDIR=\"/sw/lib/gcc4.7/lib/gcj-4.7.0-13\" -DPATH_SEPARATOR=\":\"
-DECJ_JAR_FILE=\"/sw/lib/gcc4.7/share/java/ecj.jar\" 
-DLIBGCJ_DEFAULT_DATABASE=\"/sw/lib/gcc4.7/lib/gcj-4.7.0-13/classmap.db\"
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.7.
0-13/classmap.db\" -fwrapv -g -O2 -MT interpret.lo -MD -MP -MF
.deps/interpret.Tpo -c ../../../gcc-4.7.0/libjava/interpr
et.cc  -fno-common -DPIC -o .libs/interpret.o
../../../gcc-4.7.0/libjava/interpret.cc: In static member function 'static void
_Jv_InterpMethod::run_debug(void*, ffi_j
ava_raw*, _Jv_InterpMethod*)':
../../../gcc-4.7.0/libjava/interpret.cc:1007:1: internal compiler error: Bus
error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [interpret.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-target-libjava] Error 2
make: *** [all] Error 2

The previous release candidate 20120314 worked just fine:
http://gcc.gnu.org/ml/gcc-testresults/2012-03/msg01984.html

What would have possibly changed since then?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/52690] ICE after bootstrap comparison in libjava
  2012-03-23 18:05 [Bug java/52690] New: ICE after bootstrap comparison in libjava fang at csl dot cornell.edu
@ 2012-03-23 18:19 ` pinskia at gcc dot gnu.org
  2012-03-23 20:13 ` fang at csl dot cornell.edu
  2012-03-25 21:09 ` fang at csl dot cornell.edu
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-03-23 18:19 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52690

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
          Component|java                        |middle-end

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-23 18:15:23 UTC ---
The code where the ICE is is C++ code.  Can you attach the preprocessed source?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/52690] ICE after bootstrap comparison in libjava
  2012-03-23 18:05 [Bug java/52690] New: ICE after bootstrap comparison in libjava fang at csl dot cornell.edu
  2012-03-23 18:19 ` [Bug middle-end/52690] " pinskia at gcc dot gnu.org
@ 2012-03-23 20:13 ` fang at csl dot cornell.edu
  2012-03-25 21:09 ` fang at csl dot cornell.edu
  2 siblings, 0 replies; 4+ messages in thread
From: fang at csl dot cornell.edu @ 2012-03-23 20:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52690

--- Comment #2 from David Fang <fang at csl dot cornell.edu> 2012-03-23 19:58:55 UTC ---
Created attachment 26969
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26969
preprocessed source

generated by:
/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/xgcc
-shared-libgcc \
-B/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc -nostdinc++ \
-L/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/src
\
-L/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/src/.libs
\
-B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/bin/ \
-B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/lib/ \
-isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include \
-isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/sys-include \
-DHAVE_CONFIG_H -I. -I../../../gcc-4.7.0/libjava -I./include -I./gcj \
-I../../../gcc-4.7.0/libjava \
-Iinclude -I../../../gcc-4.7.0/libjava/include \
-I../../../gcc-4.7.0/libjava/classpath/include \
-Iclasspath/include -I../../../gcc-4.7.0/libjava/classpath/native/fdlibm \
-I../../../gcc-4.7.0/libjava/../boehm-gc/include -I../boehm-gc/include \
-I../../../gcc-4.7.0/libjava/libltdl -I../../../gcc-4.7.0/libjava/libltdl \
-I../../../gcc-4.7.0/libjava/.././libjava/../libgcc \
-I../../../gcc-4.7.0/libjava/../libffi/include \
-I../libffi/include -I/sw/include -fno-rtti -fnon-call-exceptions \
-fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 \
-Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/sw/lib/gcc4.7\" \
-DTOOLEXECLIBDIR=\"/sw/lib/gcc4.7/lib\" \
-DJAVA_HOME=\"/sw/lib/gcc4.7\" \
-DBOOT_CLASS_PATH=\"/sw/lib/gcc4.7/share/java/libgcj-4.7.0.jar\" \
-DJAVA_EXT_DIRS=\"/sw/lib/gcc4.7/share/java/ext\" \
-DGCJ_ENDORSED_DIRS=\"/sw/lib/gcc4.7/share/java/gcj-endorsed\" \
-DGCJ_VERSIONED_LIBDIR=\"/sw/lib/gcc4.7/lib/gcj-4.7.0-13\" \
-DPATH_SEPARATOR=\":\" -DECJ_JAR_FILE=\"/sw/lib/gcc4.7/share/java/ecj.jar\" \
-DLIBGCJ_DEFAULT_DATABASE=\"/sw/lib/gcc4.7/lib/gcj-4.7.0-13/classmap.db\" \
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.7.0-13/classmap.db\" \
-fwrapv -g -O2 -MT interpret.lo -MD -MP -MF .deps/interpret.Tpo \
-c ../../../gcc-4.7.0/libjava/interpret.cc  -fno-common -DPIC -o
.libs/interpret.o \
-save-temps

Oddly, when I generated it this time by hand (with -save-temps), the command
completed successfully.  Nondeterminism??


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/52690] ICE after bootstrap comparison in libjava
  2012-03-23 18:05 [Bug java/52690] New: ICE after bootstrap comparison in libjava fang at csl dot cornell.edu
  2012-03-23 18:19 ` [Bug middle-end/52690] " pinskia at gcc dot gnu.org
  2012-03-23 20:13 ` fang at csl dot cornell.edu
@ 2012-03-25 21:09 ` fang at csl dot cornell.edu
  2 siblings, 0 replies; 4+ messages in thread
From: fang at csl dot cornell.edu @ 2012-03-25 21:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52690

David Fang <fang at csl dot cornell.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #3 from David Fang <fang at csl dot cornell.edu> 2012-03-25 20:52:25 UTC ---
Second build just worked.  The failure I saw is not reproducible, and will
remain a mystery.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-25 20:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 18:05 [Bug java/52690] New: ICE after bootstrap comparison in libjava fang at csl dot cornell.edu
2012-03-23 18:19 ` [Bug middle-end/52690] " pinskia at gcc dot gnu.org
2012-03-23 20:13 ` fang at csl dot cornell.edu
2012-03-25 21:09 ` fang at csl dot cornell.edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).