FreeBSD's ld does not understand -pthread
Closed / Accepted1636685fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 17 years ago
Descriptionplain2007-01-16 10:47:20
FreeBSD's linker does not understand the -pthread option. Since FreeBSD 5.3 on all architectures except alpha and sparc64 -lpthread is used. The mentioned two use -lkse. See attached patch.
rebumplain2007-01-16 17:47:22
File Added - 211501: tcl.m4.patch
rebumplain2007-01-17 17:54:10
Logged In: YES user_id=41220 Originator: YES Looks like I was not quite right.
rebumplain2007-01-17 17:54:13
File Deleted - 211501:
rebumplain2007-01-17 18:00:03
File Added - 211669: tcl.m4.patch Logged In: YES user_id=41220 Originator: YES I removed the patch attached and replaced it by a new one. Inspiration: Patch for TCL configure in the FreeBSD ports tree ports/lang/tcl84/files/patch-configure: http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/tcl84/files/patch-configure?rev=1.10&content-type=text/x-cvsweb-markup PTHREAD_CFLAGS and PTHREAD_LIBS are initialized in ports/Mk/bsd.port.mk: http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk?rev=1.545&content-type=text/x-cvsweb-markup SHLIB_MAJOR in src/share/mk/bsd.lib.mk, it is commonly used in FreeBSD ports: http://www.freebsd.org/cgi/cvsweb.cgi/src/share/mk/bsd.lib.mk?rev=1.179&content-type=text/x-cvsweb-markup File Added: tcl.m4.patch
rebumplain2007-01-17 18:58:27
File Deleted - 211669:
rebumplain2007-01-17 18:59:17
File Added - 211674: tcl.m4.patch Logged In: YES user_id=41220 Originator: YES File Added: tcl.m4.patch
dkf Ticket [1636685fff]: 2 changes
[History diff]2009-06-18 15:38:55
dkfplain2010-01-01 20:24:31
Patch no longer applies to the HEAD nicely, and possibly interferes with NetBSD or ancient FreeBSD support. Suggested new patch (distilled from the old one except in a slightly different way) attached; let me know if it is right and I'll get it applied ASAP.
dkf Ticket [1636685fff]: 1 change
[History diff]2010-01-01 20:24:32
dkfplain2010-01-01 20:25:01
File Added - 357319: tcl.m4.patch
dkfplain2010-01-01 20:25:20
File Deleted - 211674:
dkfplain2010-01-01 20:28:25
BTW, my patch should bring tcl.m4 into alignment with that used in the most current ports. (Thanks for the link, that let me check this directly.)
dkfplain2010-01-04 04:14:42
Applied to HEAD and TEA. Since this is the configuration that is used in FreeBSD builds (and it looks very good) I've not had to spend so long hanging around waiting for confirmation.
dkf Ticket [1636685fff]: 1 change
[History diff]2010-01-04 04:14:43
dkfplain2010-01-04 04:17:22
allow_comments - 1 And to 8.5 branch too
Log in (anonymous is fine) to add a comment.
Attachments:
- tcl.m4.patch [download] added by dkf on 2010-01-01 20:25:01. [details]