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

Marek Olšák maraeo at gmail.com
Sun Dec 2 17:42:22 PST 2012


On Mon, Dec 3, 2012 at 2:30 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 03/12/12 00:15, Marek Olšák wrote:
>> On Sun, Dec 2, 2012 at 9:48 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>>> On 23/11/12 21:23, Andreas Boll wrote:
>>>> Hi mesa-list,
>>>>
>>>> I'm happy to announce that I've finished Matt's automake-gallium branch [0].
>>>> Some of the independent patches are already in the master branch.
>>>> I've fixed the missing symbols in vdpau and xvmc
>>>> and installed lots of compatibility links to provide the same
>>>> behaviour as the old build system. (lib/*.so and lib/gallium/*.so)
>>>>
>>>> Please help Matt and me to test the automake-gallium4 branch [1] !
>>>>
>>>> Here you have a list of things you could test:
>>>>
>>>> Drivers:
>>>> - i915g
>>>> - llvmpipe
>>>> - nv30
>>>> - nv50
>>>> - nvc0
>>>> - r300g
>>>> - r600g
>>>> - radeonsi
>>>> - softpipe
>>>> - svga
>>>>
>>>> State tracker:
>>>> - Clover (OpenCL)
>>>> - Mesa (OpenGL)
>>>> - VDPAU
>>>> - Vega (OpenVG)
>>>> - XA
>>>> - Xorg
>>>> - XvMC
>>>>
>>>> The other build systems:
>>>> - Android
>>>> - Scons
>>>>
>>>> Some other things:
>>>> - egl, gles1,2, gbm, with and without LLVM, r600-llvm-compiler
>>>>
>>>>
>>>> If there are no objections I'll merge this branch next week.
>>>>
>>>> Thanks to Matt and Tom for the hard work.
>>>
>>> Hi Andreas
>>>
>>> I've been testing the branch for a few days now and apart from the
>>> increased number of symbols [1] I have not noticed any issues
>>>
>>> * Hardware - nvidia geforce GT 120M (nv96)
>>> * Drivers - nv50
>>> * State trackers - Mesa/Gallium (OpenGL)
>>>
>>> The following have also been built but not tested (yet)
>>> * egl, gles1,2, gbm, vdpau
>>>
>>> [1] The number and type of symbols varies greatly. The following are
>>> mostly affected
>>
>> How exactly does it vary? AFAIK the current build system uses a gcc or
>> linker flag to hide most of the symbols.
>
> A nice example is swrast_dri.so (oops forgot to mention it)
> 215 vs 1962 is the count of dynamic symbols before and after automake
>
> A brief list of the new symbols
>
>        D  *UND* 0000000000000000              _glapi_set_dispatch
>        D  *UND* 0000000000000000              _glapi_tls_Dispatch
> + g    DF .text 0000000000000002  Base        draw_create
> + g    DO .data.rel.ro  00000000000000d8  Base
> util_format_l32_uint_description
> + g    DF .text 0000000000000105  Base
> util_format_dxt1_rgb_unpack_rgba_8unorm
> + g    DO .data.rel.ro  00000000000000d8  Base
> util_format_r8g8b8a8_uscaled_description
> + g    DF .text 00000000000000a5  Base        trace_dump_ret_end
> + g    DF .text 000000000000006c  Base        ppc_comment
> + g    DF .text 00000000000000ff  Base        draw_pipeline_run_linear
> + g    DF .text 000000000000119a  Base        u_index_init
> + g    DF .text 0000000000000081  Base        x87_fsubp
>
> I can provide more info but not too sure where to start
> * compiler
> * linker
> * build flags...

Try -fvisibility=hidden. The flag is very important for linux
distributions, because it makes the libs smaller.

configure.ac sets it. I think the automake build system ignores it,
which is a bug.

Marek


More information about the mesa-dev mailing list