Bug 21979

Summary: glBlendEquationSeparate not exported in linux-x86 builds
Product: Mesa Reporter: Maarten Hoeben <maarten.hoeben>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 7.2   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Autoconf config.log.
Mesa 7.4.2 osmesa driver build log on x86 linux system
Fix for glBlendEquationSeparate

Description Maarten Hoeben 2009-05-28 06:03:28 UTC
The function glBlendEquationSeparate is not exported in libOSMesa.a or libOSMesa.so on x86 linux builds.  x86-64 linux builds are fine, as well as x86 OSX builds.
Comment 1 Tom Fogal 2009-05-28 08:48:06 UTC
bugzilla-daemon@freedesktop.org writes:
> http://bugs.freedesktop.org/show_bug.cgi?id=21979
> 
>            Summary: glBlendEquationSeparate not exported in linux-x86 builds
>            Product: Mesa
>            Version: 7.2
>           Platform: x86 (IA32)
>         OS/Version: Linux (All)
>             Status: NEW
>           Severity: normal
>           Priority: medium
>          Component: Mesa core
>         AssignedTo: mesa3d-dev@lists.sourceforge.net
>         ReportedBy: maarten.hoeben@avinity.tv
> 
> 
> The function glBlendEquationSeparate is not exported in libOSMesa.a or
> libOSMesa.so on x86 linux builds.  x86-64 linux builds are fine, as well as x
> 86
> OSX builds.

Please give exact configuration paramters.  That is, are you using
`make linux-osmesa'?  Or the autoconf build system?  If the latter,
either attach your config.log (best) or give the ./configure line you
used.

-tom
Comment 2 Maarten Hoeben 2009-05-29 04:55:38 UTC
Created attachment 26285 [details]
Autoconf config.log.
Comment 3 Maarten Hoeben 2009-05-29 04:56:45 UTC
Created attachment 26286 [details]
Mesa 7.4.2 osmesa driver build log on x86 linux system
Comment 4 Przemyslaw.szczepaniak 2010-01-11 08:15:42 UTC
Created attachment 32569 [details] [review]
Fix for glBlendEquationSeparate

glBlendEquationSeparate/glBlendEquationSeparateEXT was marked as not a static_dispatch function. This one liner will make glBlendEquationSeparate exported symbol.
Comment 5 Matt Turner 2012-09-27 23:24:30 UTC
Mesa exports this symbol now. No idea when that changed. Closing.
Comment 6 Ian Romanick 2012-09-28 15:09:52 UTC
So... there actually was no bug before.  glBlendEquationSeparate isn't part of the ABI, so it's not supposed to be exported!  Applications are required to use glXGetProcAddress to access these functions.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.