https://llvm.org/bugs/show_bug.cgi?id=24360
Bug ID: 24360
Summary: lld missing linkage to libpthread (required for
DragonFly)
Product: lld
Version: unspecified
Hardware: PC
OS: DragonFly BSD
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 14691
--> https://llvm.org/bugs/attachment.cgi?id=14691&action=edit
patch to link libpthread with 5 lld libraries.
Starting with LLVM 3.7, LLD is built by default in FreeBSD ports which
DragonFly uses. It did not build on DragonFly because the pthread_create
symbols could not be found.
The attached patch was required to get it to build (although I assume the fix
would be in a different form). As DragonFly uses modern GNU binutils linkers
with their defaults, explicit linking is required on DragonFly.
Consider this a "problem report" the provides an illustratory fix.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs