[jakub@redhat.com:Linking against libpthread via -pthread?
Steve Kargl
sgk at troutmask.apl.washington.edu
Fri Feb 10 16:34:58 PST 2006
On Fri, Feb 10, 2006 at 07:16:37PM -0500, Alexander Kabaev wrote:
> > > > In the last episode (Feb 10), Steve Kargl said:
> > > > > Some background information: I routinely build GCC mainline on
> > > > > i386-*-freebsd and amd64-*-freebsd. GCC mainline is introducing
> > > > > OpenMP support. When libgomp.so.1 is built, the compiler is
> > > > > given the -pthread option throughout the construction of
> > > > > libgomp.so.1. However, a "ldd libgomp.so.1" shows no dependence
> > > > > on libpthread.so.2
(context snipped)
> No. The change to link in libc by default and libpthread with -pthread
> are inthe works and will be committed shortly. There is not way around
> this if we want working versioned libc and libpthread in our system.
Thanks for the info. I'll relay this to the GCC developers
working on libgomp.
--
Steve
More information about the freebsd-current
mailing list