[Mesa-users] building mesa-18.0.0-rc3 fails

Brian Paul brianp at vmware.com
Tue Feb 6 15:22:43 UTC 2018


On 02/06/2018 01:41 AM, Malte Gell wrote:
> Hi there,
> 
> in order to get an AMD Raven Ridge notebook to working, I try to build
> mesa-18.0.0-rc3.
> 
> But it failes with the following message, I put at the bottom.
> 
> I try to build against llvm svn version 7, llvm has target amdgpu and x86.
> I use GCC 7.3.0

I'm not familiar with "llvm svn version 7".  Have you tried an official 
release of LLVM, such as 5.0?

-Brian

> 
> I want to put mesa to /opt, because I donĀ“t want to erase the existing
> mesa, so I can go back to the existing stuff, should  something go wrong.
> 
> Configure was called with --prefix=/opt/mesa3d/
> --with-llvm-prefix=/opt/llvm/
> 
> Can mesa 18.0.0-rc3 be built fully, after all?
> 
> It would be great if someone has a hint for me!
> Thanks!!
> 
> 
> Does lp_tex_sample.c:(.text+0x23d): undefined reference to `LLVMConstInt'
> lp_tex_sample.c:(.text+0x24b): undefined reference to
> `LLVMInt32TypeInContext'
> lp_tex_sample.c:(.text+0x258): undefined reference to `LLVMConstInt'
> lp_tex_sample.c:(.text+0x266): undefined reference to
> `LLVMInt32TypeInContext'
> lp_tex_sample.c:(.text+0x272): undefined reference to `LLVMConstInt'
> lp_tex_sample.c:(.text+0x291): undefined reference to `LLVMBuildGEP'
> lp_tex_sample.c:(.text+0x2a8): undefined reference to `LLVMBuildLoad'
> collect2: error: ld returned 1 exit status
> Makefile:982: recipe for target 'gallium_dri.la' failed
> make[4]: *** [gallium_dri.la] Error 1
> make[4]: Leaving directory
> '/usr/src/meinZeug/mesa3d/mesa-18.0.0-rc3/src/gallium/targets/dri'
> Makefile:610: recipe for target 'all-recursive' failed
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> '/usr/src/meinZeug/mesa3d/mesa-18.0.0-rc3/src/gallium'
> Makefile:861: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/usr/src/meinZeug/mesa3d/mesa-18.0.0-rc3/src'
> Makefile:652: recipe for target 'all' failed
> make[1]: *** [all] Error 2
> make[1]: Leaving directory '/usr/src/meinZeug/mesa3d/mesa-18.0.0-rc3/src'
> Makefile:665: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
> 
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.freedesktop.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Dusers&d=DwIGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=Ie7_encNUsqxbSRbqbNgofw0ITcfE8JKfaUjIQhncGA&m=WlleF3I35E_C0yK7pNltz-87Iwd7-NFRmQcRXuvWWBU&s=oMb3AqluvFBehjTnhZA92IFNKgc_UY4C3OsGBzv5_9I&e=
> 



More information about the mesa-users mailing list