Bug 714763

Summary: GLX_OML_sync_control missing from GLEW
Product: [Fedora] Fedora Reporter: Owen Taylor <otaylor>
Component: glewAssignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: ajax
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glew-1.5.8-4.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-12 04:58:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Owen Taylor 2011-06-20 16:07:34 UTC
Trying to use glXWaitForMscOML via glew:

nm -D /usr/lib64/libGLEW.so | grep -i Msc

Looking at the header, it's guarded (because of usage of int64_t apparently), by:

#if !defined(GLX_OML_sync_control) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
#include <inttypes.h>
#define GLX_OML_sync_control 1
[...]

Looking at the sources, it's guarded by:

#ifdef GLX_OML_sync_control

So, I'm guessing that glew was build without -std=c99, so the __STDC_VERSION__ >= 199901L didn't pass.

Comment 1 Fedora Update System 2011-06-21 15:14:04 UTC
glew-1.5.8-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/glew-1.5.8-4.fc15

Comment 2 Fedora Update System 2011-06-21 23:51:51 UTC
Package glew-1.5.8-4.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing glew-1.5.8-4.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/glew-1.5.8-4.fc15
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-07-12 04:58:34 UTC
glew-1.5.8-4.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.