gcc-4.1-20050716:A patch to support FreeBSD 5 pthread
NAKATA Maho
chat95@mac.com
Wed Aug 17 01:57:00 GMT 2005
Dear Tom,
Could you please commit my patch to
libjava/configure.ac, libjava/configure ?
2005-08-17 NAKATA Maho <maho@FreeBSD.org>
* configure.ac: Link against -lpthread rather than -lc_r on FreeBSD 5.
--- libjava/configure.ac.orig Sat Jul 16 10:22:59 2005
+++ libjava/configure.ac Fri Jul 22 10:52:24 2005
@@ -757,11 +757,10 @@
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
- # which support threads. However, it still does not support
- # -lpthread.
+ # FreeBSD >=5.3 implements a model much closer to other modern UNIX
+ # which support threads, and support -lpthread.
THREADLDFLAGS=-pthread
- THREADSPEC=-lc_r
+ THREADSPEC=-lpthread
;;
alpha*-dec-osf*)
THREADCXXFLAGS=-pthread
--- libjava/configure.orig Fri Jul 22 10:55:25 2005
+++ libjava/configure Fri Jul 22 10:59:36 2005
@@ -8444,10 +8444,9 @@
;;
*-*-freebsd*)
# FreeBSD 5 implements a model much closer to other modern UNIX
- # which support threads. However, it still does not support
- # -lpthread.
+ # which support threads, and supports -lpthread.
THREADLDFLAGS=-pthread
- THREADSPEC=-lc_r
+ THREADSPEC=-lpthread
;;
alpha*-dec-osf*)
THREADCXXFLAGS=-pthread
In Message-ID: <20050813.133728.115962666.chat95@mac.com>
NAKATA Maho <chat95@mac.com> wrote:
> Dear Tom,
>
> it seems no objection from O'brien (and we e-mailed each other
> for other topics) so please commit!
>
> thanks
> -- NAKATA, Maho (maho@FreeBSD.org)
>
> In Message-ID: <20050802.104923.74751249.chat95@mac.com>
> NAKATA Maho <chat95@mac.com> wrote:
>
> > In Message-ID: <Pine.BSF.4.62.0508010218590.24596@pulcherrima.dbai.tuwien.ac.at>
> > Gerald Pfeifer <gerald@pfeifer.com> wrote:
> >
> > Dear Tom and Gerald,
> >
> > Thanks for your kind assistances!
> > > Might the following be a GNU-ish translation of this?
> > >
> > > 2005-08-01 NAKATA Maho <maho@FreeBSD.org>
> > >
> > > * configure.ac: Link against -lpthread rather than -lc_r on
> > > FreeBSD.
> >
> >
> > -> * configure.ac: Link against -lpthread rather than -lc_r on
> > FreeBSD 5.
> >
> > since as you can see from the configure.ac, there are several
> > cases by versions.
> >
> > seems to be patch is ready. so I hope this will be merged soon.
> > thanks!
> > -- NAKATA, Maho (maho@FreeBSD.org)
> >
>
More information about the Java-patches
mailing list