Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2017 09:09:53 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        Tijl Coosemans <tijl@FreeBSD.org>, Yuri <yuri@freebsd.org>, svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r457438 - head/devel/ispc
Message-ID:  <20171229090953.GA98698@FreeBSD.org>
In-Reply-To: <r2re-937x-wny@FreeBSD.org>
References:  <201712280506.vBS56ZSj011894@repo.freebsd.org> <20171228071400.GA42910@FreeBSD.org> <a5b19d77-4a12-b11f-98aa-ffc94a6037e6@freebsd.org> <20171228133631.GB61460@FreeBSD.org> <20171228164809.GA33755@FreeBSD.org> <20171228175548.1cce8ada@kalimero.tijl.coosemans.org> <r2re-937x-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 28, 2017 at 06:22:58PM +0100, Jan Beich wrote:
> Tijl Coosemans <tijl@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171229090953.GA98698>