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:49:18 -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 #6 from davek at gcc dot gnu dot org 2010-01-09 07:49 -------
(In reply to comment #4)
> Created an attachment (id=19517)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19517&action=view) [edit]
> diff file i used
I don't like the look of this one:
diff --git a/libjava/configure.host b/libjava/configure.host
old mode 100644
new mode 100755
index 3baaf27..74aac08
--- a/libjava/configure.host
+++ b/libjava/configure.host
@@ -353,7 +353,7 @@ case "${host}" in
BACKTRACESPEC=
# Win32 DLLs are limited to 64k exported symbols each.
enable_libgcj_sublibs_default=yes
- libgcj_sublib_ltflags='-no-undefined -bindir $(bindir)'
+ libgcj_sublib_ltflags='-Wl,--export-all-symbols -no-undefined -bindir
$(bindir)'
I don't know what the intent is of this change. It shouldn't be necessary, I
hope, and one possible result of exporting all the undesired symbols is that
you may have pushed the number of exports from the dll over 65535, which breaks
it. Can you please run "objdump -p cyggcj-11.dll > hdrs.txt" and attach
hdrs.txt to the PR?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42658