[Mesa-dev] [Bug 94489] osmesa gallium build with scons on linux contains no OSMesa* and GL* symbols

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 11 11:25:45 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94489

            Bug ID: 94489
           Summary: osmesa gallium build with scons on linux contains no
                    OSMesa* and GL* symbols
           Product: Mesa
           Version: git
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: a.faenger at e-sign.com
        QA Contact: mesa-dev at lists.freedesktop.org

When osmesa is build on linux using scons, then it contains none of the OSMesa
specific symbols nor any of the gl* symbols. So it's basically broken.

mesa-git # scons build=release
mesa-git # nm build/linux-x86_64/gallium/targets/osmesa/libosmesa.so | grep
OSMesaCreateContext
(no result)
mesa-git # nm lib/gallium/libOSMesa.so | grep glCreate
(no result)


However, when osmesa is build with make, then it contains all of the symbols:


mesa-git # ./configure --enable-gallium-osmesa --with-gallium-drivers=swrast
--disable-llvm-shared-libs --disable-driglx-direct --disable-dri --disable-glx
--disable-egl
mesa-git # make
mesa-git # nm lib/gallium/libOSMesa.so | grep OSMesaCreateContext
00000000004a1a40 T OSMesaCreateContext
00000000004a1610 t OSMesaCreateContextAttribs
00000000004a19e0 T OSMesaCreateContextExt

mesa-git # nm lib/gallium/libOSMesa.so | grep glCreate
00000000004ad370 T glCreateProgram
00000000004b2620 T glCreateProgramObjectARB
00000000004ad3a0 T glCreateShader
00000000004b2650 T glCreateShaderObjectARB


Just for reference, the classic osmesa (swrast) version build with scons also
contains all symbols (even more (!) than gallium osmesa
glCreateShaderProgramEXT/glCreateTextures):


mesa-10.5.9 # scons build=release openmp=true osmesa
mesa-10.5.9 # nm build/linux-x86_64/mesa/drivers/osmesa/libosmesa.so | grep
OSMesaCreateContext
000000000005a740 T OSMesaCreateContext
000000000005a320 T OSMesaCreateContextExt

mesa-10.5.9 # nm build/linux-x86_64/mesa/drivers/osmesa/libosmesa.so | grep
glCreate
00000000000637e0 T glCreateProgram
0000000000064fc0 T glCreateProgramObjectARB
0000000000063800 T glCreateShader
0000000000064fe0 T glCreateShaderObjectARB
0000000000069150 T glCreateShaderProgramEXT
0000000000066de0 T glCreateTextures

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160311/9ae8227d/attachment.html>


More information about the mesa-dev mailing list