Bug 33323 - [regression]undefined symbol: u_current_get_internal on 32bits OS
Summary: [regression]undefined symbol: u_current_get_internal on 32bits OS
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-21 00:24 UTC by fangxun
Modified: 2011-01-23 18:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
use stringify (794 bytes, patch)
2011-01-21 00:59 UTC, Chia-I Wu
Details | Splinter Review

Description fangxun 2011-01-21 00:24:48 UTC
System Environment:
--------------------------
Arch:           i686 
Platform:       pineview 
OS:             fedora13
Libdrm:		(master)2.4.23-6-g550fe2ca3b29ad2191eab4fdfbed9ed21e25492d
Mesa:		(master)e8c7d7598fb48237508f566204c71ba8f74d544f
Xserver:  (master)xorg-server-1.9.99.901-118-gc6aa4755ec355101a62bef86dbb090262fe806f6
Xf86_video_intel: (master)2.14.0-10-g4c4ad555564a80311df1a4b762eb1e119c6d95fb
Kernel:	(drm-intel-next) fe4402931e43e81a4129eba41d05cf8907603af5


Bug detailed description:
-------------------------
With current mesa tip, building ogles2conform failed. Errors shows on screen: 
/opt/X11R7/lib/libglapi.so.0: undefined reference to `u_current_get_internal'.
This issue only happens on mesa master branch with 32 bit OS. It works fine on 64bits OS.


Reproduce step:
1. Updateing mesa code with current tip
2. build ogles2conform, or run ogles2conform case.
Comment 1 Chia-I Wu 2011-01-21 00:59:51 UTC
Created attachment 42257 [details] [review]
use stringify

Does this patch help?  It seems I missed non-TLS x86 case in my testing.
Comment 2 Iaroslav Andrusyak 2011-01-21 04:33:06 UTC
(In reply to comment #1)
> Created an attachment (id=42257) [details]
> use stringify
> 
> Does this patch help?  It seems I missed non-TLS x86 case in my testing.

patch works, before i have
/home/download/git/git/demos/src/egl/opengles2/es2_info: symbol lookup error: /usr/lib/libglapi.so.0: undefined symbol: u_current_get_internal
after all works fine.
Comment 3 Kristian Høgsberg 2011-01-21 08:43:27 UTC
(In reply to comment #1)
> Created an attachment (id=42257) [details]
> use stringify
> 
> Does this patch help?  It seems I missed non-TLS x86 case in my testing.

Yes, if fixes it for me too.
Comment 4 Chia-I Wu 2011-01-21 20:00:08 UTC
Patch committed.
Comment 5 fangxun 2011-01-23 18:51:23 UTC
Verified with mesa master branch: 2db46fe5f0145a6afff5b8edc2f00b8c734bb640.


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.