From owner-svn-ports-all@freebsd.org Thu Dec 28 17:17:29 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF361EA9F6F; Thu, 28 Dec 2017 17:17:29 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (xvm-110-62.dc2.ghst.net [46.226.110.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "theravensnest.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 492D133A2; Thu, 28 Dec 2017 17:17:28 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from pc23.home (ABordeaux-656-1-130-30.w109-222.abo.wanadoo.fr [109.222.247.30]) (authenticated bits=0) by theravensnest.org (8.15.2/8.15.2) with ESMTPSA id vBSH3ge3077121 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 28 Dec 2017 17:03:43 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: d60e724c-75b0-4b63-9702-f4a9d2bf6793: Host ABordeaux-656-1-130-30.w109-222.abo.wanadoo.fr [109.222.247.30] claimed to be pc23.home Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r457438 - head/devel/ispc From: David Chisnall In-Reply-To: <20171228175548.1cce8ada@kalimero.tijl.coosemans.org> Date: Thu, 28 Dec 2017 17:03:42 +0000 Cc: Alexey Dokuchaev , Yuri , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <201712280506.vBS56ZSj011894@repo.freebsd.org> <20171228071400.GA42910@FreeBSD.org> <20171228133631.GB61460@FreeBSD.org> <20171228164809.GA33755@FreeBSD.org> <20171228175548.1cce8ada@kalimero.tijl.coosemans.org> To: Tijl Coosemans X-Mailer: Apple Mail (2.3273) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Dec 2017 17:17:29 -0000 On 28 Dec 2017, at 16:55, Tijl Coosemans wrote: >=20 > On Thu, 28 Dec 2017 16:48:09 +0000 Alexey Dokuchaev = wrote: >> On Thu, Dec 28, 2017 at 01:36:31PM +0000, Alexey Dokuchaev wrote: >>> On Thu, Dec 28, 2017 at 01:29:20AM -0800, Yuri wrote: =20 >>>> On 12/27/17 23:14, Alexey Dokuchaev wrote: =20 >>>>> But just couple of days ago X.org/Mesa had switched to 5.0, and >>>>> I'm not sure what to do about this yet. =20 >>>>=20 >>>> Please feel free to further update ISPC's clang dependency if you = feel >>>> this is needed for embree. =20 >>>=20 >>> Yes, that's probably the most straight way forward. I'm now = (re)building >>> all the ports involved (that might take some time on my slow = hardware) to >>> verify that CLANG_VERSION=3D50 does not cause regressions (vs. 40). =20= >>=20 >> 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:(.t= ext+0x20e0): undefined reference to `backtrace' >> clang-5.0: error: linker command failed with exit code 1 (use -v to = seeinvocation) >>=20 >> It builds fine against LLVM 4.0. Anyone got ideas (I'm too drunk to = debug >> this myself now) how do we proceed from here? >=20 > "backtrace" is provided by libexecinfo. Note that recent versions of LLVM added a --system-libs flag to = llvm-config. On FreeBSD, this provides the relevant linker flags for = adding libexecinfo. Older projects may not have added this to their = build systems and will find that things mostly work on Linux (I don=E2=80=99= t think it adds anything for the most common build configurations). The = correct fix is likely to add this in the same place that they do = llvm-config --libs --ldflags or similar. David