This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.
- From: "iains at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2010 16:08:54 -0000
- Subject: [Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.
- References: <bug-44132-19002@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #36 from iains at gcc dot gnu dot org 2010-06-03 16:08 -------
(In reply to comment #35)
> Extracted from x86_64-apple-darwin10.3.0/libjava/testsuite/libjava.log:
>
> ...
> set_ld_library_path_env_vars:
> ld_library_path=.:/opt/gcc/build_w/x86_64-apple-darwin10.3.0/./libjava/.libs
> invoke: /opt/gcc/build_w/x86_64-apple-darwin10.3.0/./libjava/gij -jar
> /opt/gcc/work/libjava/testsuite/libjava.jar/TestClosureGC.jar
> Setting LD_LIBRARY_PATH to
> .:/opt/gcc/build_w/x86_64-apple-darwin10.3.0/./libjava/.libs:.:/opt/gcc/build_w/x86_64-apple-darwin10.3.0/./libjava/.libs
> Exception in thread "main" java.lang.NullPointerException
> at TestClosureGC.main(TestClosureGC.java:108)
> FAIL: /opt/gcc/work/libjava/testsuite/libjava.jar/TestClosureGC.jar execution -
> gij test
> UNTESTED: /opt/gcc/work/libjava/testsuite/libjava.jar/TestClosureGC.jar output
> - gij test
> ...
>
> Note the failures occur only with -m64, not with -m32.
OK, libjava uses __thread so I need to investigate what's happening there;
However, java is not using the emutls facility from its FE (AFAICT).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44132