Re: [jakub_at_redhat.com:Linking against libpthread via -pthread?

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Fri, 10 Feb 2006 16:34:54 -0800
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
Received on Fri Feb 10 2006 - 23:34:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC