[Bug 235158] lang/lua53 no longer linked against pthread
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 23 14:32:31 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235158
Bug ID: 235158
Summary: lang/lua53 no longer linked against pthread
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: i+fbsd at amlegion.org
CC: russ.haley at gmail.com
Flags: maintainer-feedback?(russ.haley at gmail.com)
CC: russ.haley at gmail.com
Prior to this, maintaining my own package repository, building lua53,
apparently it was linked against pthreads. Changes in the FreeBSD 12 ports
system may have caused this?
The issue is that it *was* previously by default linked against pthreads, so
when I did an upgrade to FreeBSD 12 and rebuilt the package repo and upgraded
all the packages, all of a sudden some of my lua code stopped working.
If it is intended to not by default link against pthreads, then perhaps a
package message notifying of this change would be a good idea so people
dependent upon the old behaviour will know they need to build their own lua if
they depended on anything that might create new lua states in threads.
If this was unintended then fixing the patch files in the ports to patch the
makefile again with '-pthread' in ldflags would be sufficient likely to
mitigate this issue.
For now, the only workaround is to build your own lua.
When lua is not linked against pthreads, and a thread is started, and a new lua
state is created in a thread, lua will hang completely.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list