Issue 7705: libpython2.6.so is not linked correctly on FreeBSD when threads are enabled (original) (raw)

Issue7705

Created on 2010-01-15 05:59 by aballier, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
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 https://bugs.gentoo.org/show_bug.cgi?id=300961 : # gcc foo.c -lpython2.6 /usr/lib/gcc/i686-gentoo-freebsd7.2/4.4.2/../../../libpython2.6.so: undefined reference to `pthread_create' collect2: ld returned 1 exit status libpython2.6.so 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 '
History
Date User Action Args
2022-04-11 14:56:56 admin set github: 51954
2010-03-14 19:11:02 rpetrov set nosy: + rpetrovmessages: +
2010-03-14 14:24:56 benjamin.peterson set status: open -> closednosy: + benjamin.petersonmessages: + resolution: fixed
2010-03-14 14:09:48 Arfrever set versions: + Python 3.1, Python 2.7, Python 3.2
2010-01-15 15:04:55 brian.curtin set priority: normalkeywords: + needs reviewstage: patch review
2010-01-15 05:59:44 aballier create