[PATCH] Re: libjava broken on the trunk on i386-darwin8.11
Dave Korn
dave.korn.cygwin@googlemail.com
Wed Sep 30 13:57:00 GMT 2009
Dave Korn wrote:
> I'm now bootstrapping this. Andrew, would you like to check if it fixes
> your problem on Darwin?
As we see upthread, the first spin lacked some quoting. Here's the fixed
version, tested by blowing away the $target/libjava directory and rebuilding
with "make configure-target-libjava all-target-libjava install-target-libjava"
(using DESTDIR for the install stage). Build completed successfully and
verified manually that the correct definition of LIBGCJ_SUBLIB_LTFLAGS made it
into the generated $target/libjava/Makefile and the correct files got
installed into the correct locations in the DESTDIR, for
target=i686-pc-cygwin. Same ChangeLog as before:
> libjava/ChangeLog:
>
> * configure.host (libgcj_sublib_ltflags): New variable.
> * configure.ac (LIBGCJ_SUBLIB_LTFLAGS): AC_SUBST variable for
> the above in makefiles.
> * configure: Regenerate.
>
> * Makefile.am (libgcj_la_LDFLAGS_NOUNDEF): Rename from this ...
> (LIBJAVA_LDFLAGS_NOUNDEF): ... to this, initialise from
> LIBGCJ_SUBLIB_LTFLAGS (only when building sublibs), and ...
> (libgij_la_LDFLAGS, libgcj_tools_la_LDFLAGS, libjvm_la_LDFLAGS,
> lib_gnu_awt_xlib_la_LDFLAGS, libgcj_bc_la_LDFLAGS): ... use it in
> all these places to replace hard-coded -no-undefined and -bindir
> flags, as well as ...
> (libgcj_la_LDFLAGS): ... updating existing reference here.
> * Makefile.in: Regenerate.
> * include/Makefile.in: Likewise.
> * testsuite/Makefile.in: Likewise.
> * gcj/Makefile.in: Likewise.
Tests running now, assuming no regressions OK for head?
cheers,
DaveK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libjava-pinski-darwin.diff
Type: text/x-c
Size: 5855 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20090930/865d4cd9/attachment.bin>
More information about the Java-patches
mailing list