| Summary: | undefined reference to `_eglBuiltInDriverGALLIUM' | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Vinson Lee <vlee> |
| Component: | Mesa core | Assignee: | mesa-dev |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | medium | CC: | kallisti5 |
| Version: | git | Keywords: | bisected, regression |
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: |
Potential windows fix, v1. Needs testing
Fix v2 |
||
|
Description
Vinson Lee
2014-12-23 23:24:28 UTC
I was just looking at this :-)
The EGL scons code is a bit of a mess.
I wonder if Windows is seeing this due to:
diff --git a/src/SConscript b/src/SConscript
index 2657bba..eb4cd3c 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -33,6 +33,10 @@ if not env['embedded']:
if env['platform'] not in ('cygwin', 'darwin', 'freebsd', 'haiku', 'windows'):
SConscript('glx/SConscript')
if env['platform'] not in ['darwin', 'haiku', 'sunos']:
+ SConscript('egl/drivers/dri2/SConscript')
+ SConscript('egl/main/SConscript')
+ if env['platform'] == 'haiku':
+ SConscript('egl/drivers/haiku/SConscript')
SConscript('egl/main/SConscript')
Should windows be using dri2 egl?
I think the attached patch will fix the build issue on windows. It looks as though the egl dri2 code shouldn't be built on Windows based on the pre-402c80837 code. scons/gallium.py: env['dri'] = env['x11'] and env['drm'] Created attachment 111250 [details]
Potential windows fix, v1. Needs testing
Created attachment 111257 [details] [review] Fix v2 I finally think I see what happened. The GCI student attempted to get the final libEGL.so from src/egl/ vs src/gallium/targets/static-egl. Once I reverted that small change (leaving the rest of the dri2 egl driver changes in tact) things seem to be working with a basic egl/demo1.c test. Please confirm commit 890ef622d63cb1caa3f84dd04dc2442324e2b0f2 Author: Alexander von Gluck IV <kallisti5@unixzen.com> Date: Wed Dec 24 07:44:25 2014 -0600 egl: Fix non-dri SCons builds re #87657 * Revert change to egl main producing Shared Libraries * Check for dri before including dri code |
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.