This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Re: libjava broken on the trunk on i386-darwin8.11


Dave Korn wrote:
> 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?

Sure.  Andrew Pinski, is this OK?

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]