------- Comment #4 from gdr at gcc dot gnu dot org 2005-12-31 01:13 ------- (In reply to comment #0) > g++ from mainline (and 4.1.x) miscompilers gcjx from gcjx-branch. > > How to repeat: > > (1) check out gcjx-branch > (2) configure and build gcjx (make all-gcjx, make install-gcjx) > (3) Check out classpath > (4) configure classpath for build with --with-gcjx pointing to gcjx (2) > (5) make > > The classpath build stalls at > > /home/gdr/bin/gcjx -bootclasspath '' -sourcepath '' -classpath ../lib:. -d > classes > /home/gdr/redhat/classpath/classpath/examples/gnu/classpath/examples/*/*.java > /home/gdr/redhat/classpath/classpath/examples/gnu/classpath/examples/*/*/*.java > /home/gdr/redhat/classpath/classpath/examples/gnu/classpath/examples/*/*/*/*.java > >
GDB seession seems to indicate a deadlock: [Thread debugging using libthread_db enabled] [New Thread 1078843072 (LWP 12228)] Program received signal SIGINT, Interrupt. [Switching to Thread 1078843072 (LWP 12228)] 0xffffe410 in ?? () (gdb) bt #0 0xffffe410 in ?? () #1 0xbfffd2b8 in ?? () #2 0x00000002 in ?? () #3 0x00000000 in ?? () #4 0x404c305e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #5 0x404bfe2d in _L_mutex_lock_33 () from /lib/tls/libpthread.so.0 #6 0x00000000 in ?? () #7 0x00000000 in ?? () #8 0x404b4ff4 in ?? () from /lib/tls/libc.so.6 #9 0xbfffd428 in ?? () #10 0xbfffd318 in ?? () #11 0xbfffd2c8 in ?? () #12 0x404656ba in pthread_mutex_lock () from /lib/tls/libc.so.6 #13 0x404656ba in pthread_mutex_lock () from /lib/tls/libc.so.6 #14 0x402bd3de in locale (this=0x2fc4) at gthr-default.h:521 #15 0x402ba010 in std::ios_base::_M_init (this=0xbfffd3bc) at /home/gdr/redhat/trunk.gcc/libstdc++-v3/src/ios_locale.cc:48 #16 0x402ccd58 in std::basic_ios<char, std::char_traits<char> >::init ( this=0xbfffd3bc, __sb=0xbfffd394) at basic_ios.tcc:143 #17 0x401aa47d in format_repr::get_message (this=0x8513400) at sstream:441 #18 0x401aacdf in format_repr::dump (this=0x8513400, [EMAIL PROTECTED]) at /home/gdr/redhat/gcjx.gcc/gcjx/format/format.cc:69 #19 0x401aad9b in operator<< ([EMAIL PROTECTED], [EMAIL PROTECTED]) at /home/gdr/redhat/gcjx.gcc/gcjx/format/format.cc:59 #20 0x400afc18 in compiler::do_analyze_unit (this=0x8055248, unit=0x8089dc0) at exception.hh:63 #21 0x400afebf in compiler::semantic_analysis (this=0x8055248) at /home/gdr/redhat/gcjx.gcc/gcjx/compiler.cc:307 #22 0x0804a4d5 in gcjx_main (argv=0xbfffd7b4) at /home/gdr/redhat/gcjx.gcc/gcjx/main.cc:644 #23 0x0804abb6 in main (argc=Cannot access memory at address 0x0 ) at /home/gdr/redhat/gcjx.gcc/gcjx/main.cc:661 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25608