svn commit: r457438 - head/devel/ispc

Alexey Dokuchaev danfe at FreeBSD.org
Fri Dec 29 09:09:54 UTC 2017


On Thu, Dec 28, 2017 at 06:22:58PM +0100, Jan Beich wrote:
> Tijl Coosemans <tijl at FreeBSD.org> writes:
> > On Thu, 28 Dec 2017 16:48:09 +0000 Alexey Dokuchaev wrote:
> >> ...
> >> We have a problem building `devel/ispc' againt LLVM 5.0:
> >>   ...
> >>   /usr/local/llvm50/lib/libLLVMSupport.a(Signals.cpp.o): In function
> >> `llvm::sys::PrintStackTrace(llvm::raw_ostream&)':
> >>   /work/a/ports/devel/llvm50/work/llvm-5.0.0.src/lib/Support/Signals.cpp:(.text+0x20e0):
> >> undefined reference to `backtrace'
> >>   clang-5.0: error: linker command failed with exit code 1 (use -v to seeinvocation)
> >> 
> >> It builds fine against LLVM 4.0.
> >
> > "backtrace" is provided by libexecinfo.
> 
> Maybe related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223191#c3
> llvm-config50 is broken in more ways than one. ;(

Thanks, that was helpful.  Indeed, adding -lexecinfo to LLVM_LIBS fixes
the build of `devel/ispc' against LLVM 5.0, moving on...

./danfe


More information about the svn-ports-head mailing list