This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc (linker) 2.95.4 / pthreads / samba-3.5.21 / i386-unknown-freebsd4.11
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: "C.J. Adams-Collier KF7BMP" <cjac at colliertech dot org>
- Cc: Ian Lance Taylor <iant at google dot com>, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Sat, 23 Mar 2013 14:55:34 +0000
- Subject: Re: gcc (linker) 2.95.4 / pthreads / samba-3.5.21 / i386-unknown-freebsd4.11
- References: <1363998331 dot 6046 dot 10 dot camel at foxtrot> <CAKOQZ8xYadomBFNR+fTX-DGihbopRPtoGJrxrk1g-b-NvDBWVQ at mail dot gmail dot com> <1364014346 dot 6046 dot 22 dot camel at foxtrot>
On 23 March 2013 04:52, C.J. Adams-Collier KF7BMP wrote:
> Thank you, Ian. I figured that it was built in to libgcc, and it looks
> like my figuring was right:
>
> # strings /usr/lib/libgcc.a | grep pthread
> pthread_create
> pthread_getspecific
> pthread_once
> pthread_key_create
> pthread_setspecific
> pthread_create
> pthread_mutex_unlock
> pthread_mutex_lock
This only says the library refers to those symbols, it doesn't say
they're defined in that library. AFAIK GCC has never contained an
implementation of pthreads, that should be provided by your OS libc.