------- 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