Bug 20942 - jc1 segfault causes mainline bootstrap failure
Summary: jc1 segfault causes mainline bootstrap failure
Status: RESOLVED DUPLICATE of bug 20934
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-11 08:20 UTC by Grigory Zagorodnev
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grigory Zagorodnev 2005-04-11 08:20:34 UTC
Have not seen this reported yet...
Bootstrap of mainline 4.1 compiler failed at ia32/IPF/x86_64 Linux due to jc1 
segmentation fault in 'in_unlikely_text_section'.

/bootstrap/bld/./gcc/gcj -B/bootstrap/bld/./gcc/ -B/bootstrap/usr/i586-suse-
linux/bin/ -B/bootstrap/usr/i586-suse-linux/lib/ -isystem /bootstrap/usr/i586-
suse-linux/include -isystem /bootstrap/usr/i586-suse-linux/sys-include -
findirect-dispatch -B../.. -ffloat-store -fno-omit-frame-pointer -fclasspath= -
fbootclasspath=/bootstrap/bld/i586-suse-
linux/libjava:../../../../../src/libjava/external/sax:../../../../../src/libjava
:../.. --encoding=UTF-8 -Wno-deprecated -g -O2 -MT libsax_gcj_la-sax.lo -MD -
MP -MF .deps/libsax_gcj_la-sax.Tpo -c sax.jar -fPIC -o .libs/libsax_gcj_la-sax.o
org/xml/sax/helpers/XMLReaderFactory.java: In 
class 'org.xml.sax.helpers.XMLReaderFactory':
org/xml/sax/helpers/XMLReaderFactory.java: In 
method 'org.xml.sax.helpers.XMLReaderFactory.createXMLReader()':
org/xml/sax/helpers/XMLReaderFactory.java:111: internal compiler error: 
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [libsax_gcj_la-sax.lo] Error 1
make[5]: Leaving directory `/bootstrap/bld/i586-suse-linux/libjava/external/sax'
......
 
Program received signal SIGSEGV, Segmentation fault.
in_unlikely_text_section () at varasm.c:309
309           ret_val = ((in_section == in_unlikely_executed_text)
(gdb) bt
#0  in_unlikely_text_section () at varasm.c:309
#1  0xbfffd69c in ?? ()
#2  0x08384f4a in named_section_real (name=0x0, flags=131104, decl=0x1) at 
varasm.c:444
#3  0x00000020 in ?? ()
#4  0x0808498d in build_utf8_ref (name=0x1) at class.c:906
#5  0x080a61cc in prepare_eh_table_type (type=0x4017ac3c) at except.c:362
#6  0x080a683c in expand_end_java_handler (range=0x8610f88) at except.c:447
#7  0x00000000 in ?? ()
#8  0x08096c74 in poplevel (keep=1, reverse=0, functionbody=0) at decl.c:1546
#9  0x080973b1 in maybe_poplevels (pc=12) at decl.c:1766
#10 0x0860fdf4 in ?? ()
#11 0x0860fdf4 in ?? ()
#12 0x080a11fc in expand_byte_code (jcf=0x40018bc0, method=0x403740d8) at 
expr.c:3021
#13 0x080b2a06 in parse_class_file () at jcf-parse.c:933
#14 0x080b61cc in java_parse_file (set_yydebug=0) at jcf-parse.c:1432
#15 0x08370395 in toplev_main (argc=32, argv=0xbfffd8f4) at toplev.c:1000
#16 0x40062b10 in __libc_start_main () from /lib/tls/libc.so.6
#17 0x08049ed1 in _start () at start.S:119
Comment 1 Andrew Pinski 2005-04-11 12:44:43 UTC

*** This bug has been marked as a duplicate of 20934 ***