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

Kai Wasserbäch kai at dev.carbon-project.org
Fri Oct 24 13:42:29 PDT 2014


Hi Jan,
Jan Vesely wrote on 24.10.2014 19:03:
> -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)

with this patch applied on top of attachment 108315, I get the following build
error:
> /usr/bin/ld: cannot find exclude-libs: No such file or directory
> collect2: error: ld returned 1 exit status
> Makefile:894: recipe for target 'pipe_r600.la' failed
> make[4]: *** [pipe_r600.la] Error 1
> make[4]: *** Waiting for unfinished jobs....
> /usr/bin/ld: cannot find exclude-libs: No such file or directory
> collect2: error: ld returned 1 exit status
> Makefile:900: recipe for target 'pipe_swrast.la' failed
> make[4]: *** [pipe_swrast.la] Error 1
> /usr/bin/ld: cannot find exclude-libs: No such file or directory
> collect2: error: ld returned 1 exit status
> Makefile:903: recipe for target 'pipe_vmwgfx.la' failed
> make[4]: *** [pipe_vmwgfx.la] Error 1
> /usr/bin/ld: cannot find exclude-libs: No such file or directory
> collect2: error: ld returned 1 exit status
> Makefile:897: recipe for target 'pipe_radeonsi.la' failed
> make[4]: *** [pipe_radeonsi.la] Error 1
> /usr/bin/ld: cannot find exclude-libs: No such file or directory
> collect2: error: ld returned 1 exit status
> Makefile:888: recipe for target 'pipe_nouveau.la' failed
> make[4]: *** [pipe_nouveau.la] Error 1
> /usr/bin/ld: cannot find exclude-libs: No such file or directory
> collect2: error: ld returned 1 exit status
> Makefile:891: recipe for target 'pipe_r300.la' failed
> make[4]: *** [pipe_r300.la] Error 1
> make[4]: Leaving directory '/tmp/buildd/mesa-10.4~20141024.1.git5fc0e11053/build/dri/src/gallium/targets/pipe-loader'
> Makefile:558: recipe for target 'all-recursive' failed
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory '/tmp/buildd/mesa-10.4~20141024.1.git5fc0e11053/build/dri/src/gallium'
> Makefile:521: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/tmp/buildd/mesa-10.4~20141024.1.git5fc0e11053/build/dri/src'
> Makefile:589: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/tmp/buildd/mesa-10.4~20141024.1.git5fc0e11053/build/dri'
> debian/rules:204: recipe for target 'debian/stamp/x86_64-linux-gnu-build-dri' failed
> make: *** [debian/stamp/x86_64-linux-gnu-build-dri] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

You can find the full build log attached to this e-mail.

Cheers,
Kai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesa.amd64.priv.log.xz
Type: application/x-xz
Size: 91764 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141024/85f19946/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/20141024/85f19946/attachment-0001.sig>


More information about the mesa-dev mailing list