[Mesa-dev] [PATCH V2 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

Axel Davy axel.davy at ens.fr
Thu May 29 20:49:46 PDT 2014


On 29/05/2014 23:31, Michel Dänzer a wrote :
> On 30.05.2014 12:02, Axel Davy wrote:
>>
>> Could you tell me what are your configure flags?
>>
>> I tried the patches on top of febec731475a5b288cc50660b2d32780e395b950
> I can still reproduce it on top of that.
>
>
>> and I didn't have any compiling issues, even when building gallium-egl.
> Here you go:
>
> '../configure'  '--enable-dri3' '--enable-debug' '--with-llvm-shared-libs' '--with-llvm-prefix=/home/daenzer/src/llvm-git/llvm/build-amd64/Release+Debug+Asserts' '--with-dri-searchpath=/usr/local/lib/x86_64-linux-gnu/dri' '--enable-texture-float' '--enable-glx-tls' '--enable-gallium-egl' '--enable-gallium-g3dvl' '--enable-gles1' '--enable-gles2' '--enable-opencl' '--enable-opencl-icd' '--enable-openvg' '--with-egl-platforms=x11,drm,wayland' '--enable-shared-glapi' '--with-gallium-drivers=r300,r600,radeonsi,swrast' '--enable-r600-llvm-compiler' '--with-dri-drivers=' 'USER_CFLAGS=-fno-omit-frame-pointer -O2 -ftree-vectorize -march=amdfam10 -mtune=native' 'USER_CXXFLAGS=-fno-omit-frame-pointer -O2 -ftree-vectorize -march=amdfam10 -mtune=native'
>
>
> P.S. The patches need to be rebased onto current master.
>

I tried with your compile options (except for the opencl flags, didn't 
have the required libs), and it worked.

Did you try adding -lm to libloader_la_LIBADD ?

Axel Davy.


More information about the mesa-dev mailing list