[Mesa-dev] Mesa symbol visibility

tom fogal tfogal at sci.utah.edu
Thu Aug 12 07:50:11 PDT 2010

"Kevin H. Hobbs" <hobbsk at ohiou.edu> writes:
> On 08/11/2010 05:18 PM, tom fogal wrote:
> > Right. This is exactly why Mesa's name mangling exists.
> > You mean you haven't been mangling this whole time?  I guess I haven't
> > been reading these mails closely enough.
> It just seems perverse to have to use name mangling to deal with the
> effects of adding -fvisibility=3Dhidden.

That's not why name mangling exists.

A GL library *always* needs, say, glVertex3f to be public and
available.  Visibility is only for hiding the things that glVertex3f
calls in Mesa.

Mangling mangles these entry points to the library.


More information about the mesa-dev mailing list