[Mesa-dev] [PATCH WIP 1/1] configure: include llvm systemlibs when using static llvm

Kai Wasserb├Ąch kai at dev.carbon-project.org
Mon Oct 27 01:50:58 PDT 2014

Hi Jan,
Jan Vesely wrote on 26.10.2014 20:36:
> On Fri, 2014-10-24 at 23:54 +0000, Emil Velikov wrote:
>> On 24/10/14 17:03, Jan Vesely wrote:
>>> -Wl,--exclude-libs prevents automatic export of symbols
>>> CC: Kai Wasserbach <kai at dev.carbon-project.org>
>>> CC: Emil Velikov <emil.l.velikov at gmail.com>
>>> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
>>> ---
>>> Kai,
>>> can you try this patch with your setup, and check whether LLVM symbols are
>>> exported from mesa library? (and it's still working)
>>> Emil,
>>> would it help to have --exclude-libs ALL enabled globally?
>> Haven't really looked up on the documentation about it, yet there should
>> be no (unneeded) exported symbols thanks to the version scripts.
>> As such I'm not entirely sure what this patch (attempts to) resolve :(
> you are right. I don't know why I thought it was still a problem.
> In that case the attached patch should fix compiling with llvm static
> libs (#70410)

this patch on top of attachment 108315 from bug 85380 gives a successful build
with current Git HEAD (1a170980a0) and LLVM r220648 from SVN.

You can have my
  Tested-by: Kai Wasserb├Ąch <kai at dev.carbon-project.org>
for both.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesa.amd64.upl.log.xz
Type: application/x-xz
Size: 106352 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141027/d241e6cf/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141027/d241e6cf/attachment-0001.sig>

More information about the mesa-dev mailing list