[Mesa-dev] Please test the automake-gallium branch

Matt Turner mattst88 at gmail.com
Tue Sep 25 12:39:40 PDT 2012


On Tue, Sep 25, 2012 at 12:33 PM, Marcin Slusarz
<marcin.slusarz at gmail.com> wrote:
> On Mon, Sep 24, 2012 at 02:52:28PM -0700, Matt Turner wrote:
>> This series of 105 patches finishes the automake conversion.
>>
>> I don't think the series needs to be reviewed patch by patch, since
>> large chunks are making nearly identical changes to different
>> directories. Plus, incorrect changes in the build system should be
>> detectable with testing. As such, I won't send the patches to the
>> list.
>>
>> The first patches are some clean ups that may be applicable to 9.0
>> depending on when it's actually going to be released. The middle of
>> the series is mostly mindless conversion. And the last of the series
>> is removing gobs and gobs of crap like makedepend, MESA_PIC_FLAGS,
>> VAAPI, and dead makefiles.
>>
>> I've paid special attention to linking Gallium targets with gcc vs
>> g++. Some drivers (like Nouveau) use C++ in the driver so always need
>> to be linked with g++. Others (like r300) always require LLVM and need
>> to be linked with g++. Others still, like softpipe, should be linked
>> with g++ conditional on LLVM usage. I've tried to handle this, so
>> testing with and without LLVM is important.
>>
>> Please help me find problems now before it goes into master. Here's a
>> branch. It's easy to test. If you don't test and I commit this in a
>> week and break your stuff, I'm sorry, but you didn't test.
>>
>> http://cgit.freedesktop.org/~mattst88/mesa/log/?h=automake-gallium
>
> egl seems to be broken:
>
> libEGL warning: Could not open driver /usr/src/gfx/mesa/src/gallium/targets/egl-static/.libs//egl_gallium.so (/usr/src/gfx/mesa/src/gallium/targets/egl-static/.libs//egl_gallium.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE)
> libEGL warning: DRI2: xcb_connect failed
> libEGL warning: DRI2: xcb_connect failed
> libEGL warning: GLX: XOpenDisplay failed
> EGLUT: failed to initialize EGL display
>
> configuration:
> ./autogen.sh --enable-debug --enable-glx-tls --disable-asm --with-dri-drivers=
> --with-gallium-drivers=nouveau --enable-texture-float --enable-gles1 --enable-gles2
> --disable-gallium-llvm --enable-shared-glapi --enable-gbm --enable-gallium-gbm
> --enable-gallium-egl --prefix=$XXX --with-egl-platforms=drm,x11

Ah, right. Need to link with g++ when LLVM is used.

I'll fix this up and push a new branch with some other fixes as well.
Thanks for testing!
Matt


More information about the mesa-dev mailing list