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

Jan Vesely jan.vesely at rutgers.edu
Fri Oct 24 14:30:30 PDT 2014


On Fri, 2014-10-24 at 22:42 +0200, Kai Wasserbäch wrote:
> 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

yeah, that's because the correct form should be "-Wl,--exclude-libs
ALL",
sorry about that

> 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

-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141024/5bb9f2f9/attachment.sig>


More information about the mesa-dev mailing list