* sparse-llvm: link errors with LLVM 3.5.0
@ 2014-09-21 18:49 Alain Kalker
0 siblings, 0 replies; only message in thread
From: Alain Kalker @ 2014-09-21 18:49 UTC (permalink / raw)
To: linux-sparse
Hi all,
I'm getting link errors building sparse on Arch Linux, which has LLVM
version 3.5.0.
An example:
/usr/lib/libLLVMSupport.a(Mutex.o): In function
`llvm::sys::MutexImpl::MutexImpl(bool)':
(.text._ZN4llvm3sys9MutexImplC2Eb+0x37): undefined reference to
`pthread_mutexattr_init'
From some discussion in [1], we found that this is most likely due to a
change in LLVM[2] which requires the new "--system-libs" option to llvm-
config to get the list of link flags for correct linking of system
libraries (including "-lpthread") needed by the LLVM libraries.
Kind regards,
Alain
[1]: https://bugs.archlinux.org/task/42053
[2]: http://reviews.llvm.org/rL197664
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-21 18:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-21 18:49 sparse-llvm: link errors with LLVM 3.5.0 Alain Kalker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).