https://llvm.org/bugs/show_bug.cgi?id=25534
Bug ID: 25534 Summary: Build breaks on OpenBSD when linking shared libs Product: Build scripts Version: trunk Hardware: PC OS: OpenBSD Status: NEW Severity: normal Priority: P Component: cmake Assignee: unassignedb...@nondot.org Reporter: sisnk...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified When linking libLTO.so, the build aborts, complaining about undefined references to assert2, cxa_exit, etc. The solution is not not use the -z,defs option when building a shared library on OpenBSD. This is option is also avoided on FreeBSD, Darwin, Win32 or Cygwin. A diff to make the build go through on OpenBSD is given at: http://reviews.llvm.org/D14236 Linking explictly against libc does not work for the reasons described here: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20151102/309783.html -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs