This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/42658] [4.5 regression] ICE in _Jv_Linker::verify_class ../.././libjava/link.cc:1904
- From: "davek at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 9 Jan 2010 07:12:40 -0000
- Subject: [Bug libgcj/42658] [4.5 regression] ICE in _Jv_Linker::verify_class ../.././libjava/link.cc:1904
- References: <bug-42658-13856@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from davek at gcc dot gnu dot org 2010-01-09 07:12 -------
[ Replying to your post on binutils list ]
jojelino wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42658
>
> it is critical when linking libgcj library hence it uses .jcr section to
> initialize java class CTORs
>
> how can we workaround this phenomenon??
>
> $ nm -sn cyggcj-11.dll |grep JCR
> 6c9487d0 d ___JCR_END__
> 6c9487d0 d ___JCR_LIST__
I can't reproduce this: after bootstrapping GCC at r.155680, I get:
$ nm -sn i686-pc-cygwin/libjava/.libs/cyggcj-11.dll |grep JCR
6c93ecd0 d ___JCR_LIST__
6c94382c d ___JCR_END__
Also, gcj-dbtool works for me:
$ PATH=./i686-pc-cygwin/libjava/.libs:$PATH ./i686-pc-cygwin/libjava/.libs/gcj
-dbtool.exe --help
gcj-dbtool: Manipulate gcj map database files
Usage:
gcj-dbtool -n file.gcjdb [size] - Create a new gcj map database
gcj-dbtool -a file.gcjdb file.jar file.so
- Add the contents of file.jar to a gcj map database
gcj-dbtool -f file.gcjdb file.jar file.so
- Add the contents of file.jar to a gcj map database
gcj-dbtool -t file.gcjdb - Test a gcj map database
gcj-dbtool -l file.gcjdb - List a gcj map database
gcj-dbtool [-][-0] -m dest.gcjdb [source.gcjdb]...
- Merge gcj map databases into dest
Replaces dest
To add to dest, include dest in the list of sources
If the first arg is -, read the list from stdin
If the first arg is -0, filenames separated by nul
gcj-dbtool -p [LIBDIR] - Print default database name
What version of binutils are you using, and how do you configure your GCC
build?
--
davek at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |davek at gcc dot gnu dot org
GCC build triplet| |i686-pc-cygwin
GCC host triplet| |i686-pc-cygwin
GCC target triplet| |i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42658