This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Fix mainline bootstrap issue for *-*-freebsd4
- From: Loren James Rittle <rittle at latour dot waar dot labs dot mot dot com>
- To: java-patches at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 4 Oct 2004 17:27:39 -0500 (CDT)
- Subject: Fix mainline bootstrap issue for *-*-freebsd4
- Reply-to: rittle at labs dot mot dot com
Bootstrap has been broken on mainline for *-*-freebsd4 since $(LINK)
was changed to $(GCJ) inside libjava's build machinery. This patch
restores bootstrap by weaken the spec-checked condition. Now, only a
final link on this platform requires the -pthread switch (this matches
the existing semi-broken usage of -lc vs. -lc_r, which was finally
fixed for *-*-freebsd5). As bootstrapped, checked and committed.
2004-10-04 Loren J. Rittle <ljrittle@acm.org>
* configure.ac (*-*-freebsd[[1234]]*): Refine error message
emission rule.
* configure: Rebuilt.
Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.ac,v
retrieving revision 1.8
diff -c -r1.8 configure.ac
*** configure.ac 22 Sep 2004 20:59:14 -0000 1.8
--- configure.ac 4 Oct 2004 22:20:41 -0000
***************
*** 652,658 ****
# the command line. For now, the user must provide the -pthread
# switch to link code compiled with gcj. In future, consider adding
# support for weak references to pthread_* functions ala gthr.h API.
! THREADSPEC='%{!pthread: %eUnder this configuration, the user must provide -pthread when linking.}'
;;
*-*-freebsd*)
# FreeBSD 5 implements a model much closer to other modern UNIX
--- 652,658 ----
# the command line. For now, the user must provide the -pthread
# switch to link code compiled with gcj. In future, consider adding
# support for weak references to pthread_* functions ala gthr.h API.
! THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
;;
*-*-freebsd*)
# FreeBSD 5 implements a model much closer to other modern UNIX