Title: is not linked correctly on FreeBSD when threads are enabled
Type: Stage: patch review
Components: Build Versions: Python 3.1, Python 3.2, Python 2.7, Python 2.6
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: aballier, benjamin.peterson, rpetrov
Priority: normal Keywords: needs review, patch

Created on 2010-01-15 05:59 by aballier, last changed 2010-03-14 19:11 by rpetrov. This issue is now closed.

File name Uploaded Description Edit
python_fbsd_pthread.patch aballier, 2010-01-15 05:59 fix
Messages (3)
msg97800 - (view) Author: Alexis Ballier (aballier) Date: 2010-01-15 05:59
As reported in :

# gcc foo.c -lpython2.6
/usr/lib/gcc/i686-gentoo-freebsd7.2/4.4.2/../../../ undefined
reference to `pthread_create'
collect2: ld returned 1 exit status doesn't get linked with -pthread; I'll attach a patch fixing this, the configure script does its magic but doesn't reuse that magic for setting LDSHARED.
msg101057 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2010-03-14 14:24
Fixed in r78962.
msg101061 - (view) Author: Roumen Petrov (rpetrov) * Date: 2010-03-14 19:11
the applied patch is not correct - please replace " with '
Date User Action Args
2010-03-14 19:11:02rpetrovsetnosy: + rpetrov
messages: + msg101061
2010-03-14 14:24:56benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg101057

resolution: fixed
2010-03-14 14:09:48Arfreversetversions: + Python 3.1, Python 2.7, Python 3.2
2010-01-15 15:04:55brian.curtinsetpriority: normal
keywords: + needs review
stage: patch review
2010-01-15 05:59:44aballiercreate