[llvm-bugs] [Bug 24360] New: lld missing linkage to libpthread (required for DragonFly)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Aug 5 05:40:29 PDT 2015
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: unassignedbugs at nondot.org
Reporter: draco at marino.st
CC: llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150805/a4d84fc2/attachment.html>
More information about the llvm-bugs
mailing list