This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Fix mainline bootstrap issue for *-*-freebsd4


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


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