Bug 56827

Summary: mesa/main/api_exec.c:940: undefined reference to `_es_AlphaFuncx'
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: medium CC: stereotype441
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2012-11-06 23:31:05 UTC
mesa: 91b828ea740daa0bff6abb7da03dd18594016091 (master)

$ scons platform=windows toolchain=crossmingw
[...]
  Linking gallium/targets/libgl-gdi/opengl32.dll ...
mesa/libmesa.a(api_exec.o): In function `_mesa_create_exec_table':
mesa/main/api_exec.c:940: undefined reference to `_es_AlphaFuncx'
mesa/main/api_exec.c:941: undefined reference to `_es_ClearColorx'
mesa/main/api_exec.c:942: undefined reference to `_es_ClearDepthx'
mesa/main/api_exec.c:943: undefined reference to `_es_ClipPlanef'
mesa/main/api_exec.c:944: undefined reference to `_es_ClipPlanex'
mesa/main/api_exec.c:945: undefined reference to `_es_Color4x'
mesa/main/api_exec.c:946: undefined reference to `_es_DepthRangex'
mesa/main/api_exec.c:953: undefined reference to `_es_DrawTexxOES'
mesa/main/api_exec.c:954: undefined reference to `_es_DrawTexxvOES'
mesa/main/api_exec.c:955: undefined reference to `_es_Fogx'
mesa/main/api_exec.c:956: undefined reference to `_es_Fogxv'
mesa/main/api_exec.c:957: undefined reference to `_es_Frustumf'
mesa/main/api_exec.c:958: undefined reference to `_es_Frustumx'
mesa/main/api_exec.c:959: undefined reference to `_es_GetClipPlanef'
mesa/main/api_exec.c:960: undefined reference to `_es_GetClipPlanex'
mesa/main/api_exec.c:962: undefined reference to `_es_GetLightxv'
mesa/main/api_exec.c:963: undefined reference to `_es_GetMaterialxv'
mesa/main/api_exec.c:964: undefined reference to `_es_GetTexEnvxv'
mesa/main/api_exec.c:965: undefined reference to `_check_GetTexGenxvOES'
mesa/main/api_exec.c:966: undefined reference to `_es_GetTexParameterxv'
mesa/main/api_exec.c:967: undefined reference to `_es_LightModelx'
mesa/main/api_exec.c:968: undefined reference to `_es_LightModelxv'
mesa/main/api_exec.c:969: undefined reference to `_es_Lightx'
mesa/main/api_exec.c:970: undefined reference to `_es_Lightxv'
mesa/main/api_exec.c:971: undefined reference to `_es_LineWidthx'
mesa/main/api_exec.c:972: undefined reference to `_es_LoadMatrixx'
mesa/main/api_exec.c:973: undefined reference to `_es_Materialx'
mesa/main/api_exec.c:974: undefined reference to `_es_Materialxv'
mesa/main/api_exec.c:975: undefined reference to `_es_MultMatrixx'
mesa/main/api_exec.c:976: undefined reference to `_es_MultiTexCoord4x'
mesa/main/api_exec.c:977: undefined reference to `_es_Normal3x'
mesa/main/api_exec.c:978: undefined reference to `_es_Orthof'
mesa/main/api_exec.c:979: undefined reference to `_es_Orthox'
mesa/main/api_exec.c:980: undefined reference to `_es_PointParameterx'
mesa/main/api_exec.c:981: undefined reference to `_es_PointParameterxv'
mesa/main/api_exec.c:983: undefined reference to `_es_PointSizex'
mesa/main/api_exec.c:984: undefined reference to `_es_PolygonOffsetx'
mesa/main/api_exec.c:986: undefined reference to `_es_Rotatex'
mesa/main/api_exec.c:987: undefined reference to `_es_SampleCoveragex'
mesa/main/api_exec.c:988: undefined reference to `_es_Scalex'
mesa/main/api_exec.c:989: undefined reference to `_es_TexEnvx'
mesa/main/api_exec.c:990: undefined reference to `_es_TexEnvxv'
mesa/main/api_exec.c:991: undefined reference to `_check_TexGenxOES'
mesa/main/api_exec.c:992: undefined reference to `_check_TexGenxvOES'
mesa/main/api_exec.c:993: undefined reference to `_es_TexParameterx'
mesa/main/api_exec.c:994: undefined reference to `_es_TexParameterxv'
mesa/main/api_exec.c:995: undefined reference to `_es_Translatex'
collect2: ld returned 1 exit status
scons: *** [gallium/targets/libgl-gdi/opengl32.dll] Error 1
scons: building terminated because of errors.


5708e2711366e4dd1f19275c943b04706fd9c633 is the first bad commit
commit 5708e2711366e4dd1f19275c943b04706fd9c633
Author: Paul Berry <stereotype441@gmail.com>
Date:   Tue Oct 30 14:03:28 2012 -0700

    dispatch: Remove a few FEATURE_ES1 conditionals.
    
    This allows the GLES1.1 dispatch sanity test to be run on all builds,
    even builds that do not include GLES1 support.
    
    Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
    Reviewed-by: Matt Turner <mattst88@gmail.com>

:040000 040000 d13effc8130975e21dc1aa770c06726e43f6fb78 d26241fff2d331c44053db21606e25292467fa60 M	src
bisect run success
Comment 1 Paul Berry 2012-11-07 17:51:00 UTC
I believe this is fixed by the following commit:

commit 5cbc0f00368b9ddc127007be2bd7f60940aa93ed
Author: Vinson Lee <vlee@freedesktop.org>
Date:   Tue Nov 6 23:16:29 2012 -0800

    scons: Build src/mesa/main/es1_conversion.c for all builds.
    
    Signed-off-by: Vinson Lee <vlee@freedesktop.org>

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.