[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:56:30 PDT 2014


On Fri, 2014-10-24 at 23:48 +0200, Kai Wasserbäch wrote:
> Hi Jan,
> Jan Vesely wrote on 24.10.2014 23:30:
> > On Fri, 2014-10-24 at 22:42 +0200, Kai Wasserbäch wrote:
> >> 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
> 
> this still fails with (though I might have done something wrong in changing the
> patch):

thanks for testing, the patch is ok. looks like i'll need to setup a
static build and investigate this better.

thanks again,
jan

> > //usrusr//binbin//ld:ld :cannot  cannotfind  findrelro : relro:No  Nosuch  suchfile  fileor  ordirectory 
> > directory
> > /usr/bin/ld: cannot find relro: No such file or directory
> > /usr/bin/ld: cannot find relro: No such file or directory
> > /usr/bin/ld: cannot find relro: No such file or directory
> > /usr/bin/ld: cannot find relro: No such file or directory
> > collect2: error: ld returned 1 exit status
> > collect2: error: ld returned 1 exit status
> > collect2: error: ld returned 1 exit status
> > collect2: error: ld returned 1 exit status
> > collect2: error: ld returned 1 exit status
> > collect2: error: ld returned 1 exit status
> > Makefile:900: recipe for target 'pipe_swrast.la' failed
> > make[4]: *** [pipe_swrast.la] Error 1
> > make[4]: *** Waiting for unfinished jobs....
> > Makefile:888: recipe for target 'pipe_nouveau.la' failed
> > make[4]: *** [pipe_nouveau.la] Error 1
> > Makefile:903: recipe for target 'pipe_vmwgfx.la' failed
> > make[4]: *** [pipe_vmwgfx.la] Error 1
> > Makefile:897: recipe for target 'pipe_radeonsi.la' failed
> > make[4]: *** [pipe_radeonsi.la] Error 1
> > Makefile:891: recipe for target 'pipe_r300.la' failed
> > make[4]: *** [pipe_r300.la] Error 1
> > Makefile:894: recipe for target 'pipe_r600.la' failed
> > make[4]: *** [pipe_r600.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
> > E: Failed autobuilding of package
> 
> I've attached the full build log and the updated patch.
> 
> 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/3cf83dae/attachment-0001.sig>


More information about the mesa-dev mailing list