From: <bug...@fr...> - 2010-03-17 23:31:30
|
http://bugs.freedesktop.org/show_bug.cgi?id=27150 Summary: glBlitFramebuffer defined on 64bit but not 32bit of Ubuntu with Mesa7.7 Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Mesa core AssignedTo: mes...@li... ReportedBy: al...@au... CC: al...@au... I have built Mesa7.7 on both 32bit and 64bit Ubuntu but as I tried to link libGL.so against my program. I got the undefined reference to glBlitFramebuffer error on the 32bit machine but not on the 64bit machine. I ran the command "objdump -x libGL.so" and found the glBlitFramebuffer header on the 64bit machine but it is missing from the 32bit one. The version of Ubuntu I tested on are 6.06 and 8.04. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-03-18 03:41:18
|
http://bugs.freedesktop.org/show_bug.cgi?id=27150 --- Comment #1 from Chia-I Wu <ol...@gm...> 2010-03-17 20:41:10 PST --- Created an attachment (id=34186) --> (http://bugs.freedesktop.org/attachment.cgi?id=34186) fix gl_x86_asm.py This sounds like a bug to me. The attached patch should fix it. I can commit the patch if someone could help me double check the fix. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-03-18 03:46:04
|
http://bugs.freedesktop.org/show_bug.cgi?id=27150 --- Comment #2 from Alan <al...@au...> 2010-03-17 20:45:56 PST --- (In reply to comment #1) > Created an attachment (id=34186) --> (http://bugs.freedesktop.org/attachment.cgi?id=34186) [details] > fix gl_x86_asm.py > > This sounds like a bug to me. The attached patch should fix it. > > I can commit the patch if someone could help me double check the fix. > Cheers mate, I will have a go with it and let you know this patch fix it or not. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-03-18 04:31:22
|
http://bugs.freedesktop.org/show_bug.cgi?id=27150 --- Comment #3 from Alan <al...@au...> 2010-03-17 21:31:15 PST --- (In reply to comment #2) > (In reply to comment #1) > > Created an attachment (id=34186) --> (http://bugs.freedesktop.org/attachment.cgi?id=34186) [details] [details] > > fix gl_x86_asm.py > > > > This sounds like a bug to me. The attached patch should fix it. > > > > I can commit the patch if someone could help me double check the fix. > > > > Cheers mate, I will have a go with it and let you know this patch fix it or > not. > I applied the patch to 7.8-rc1 and the symbol is there now and my program successfully link against it on both 32bit and 64bit machine. Thanks a lot. And other 3 functions that you put in are also in the library. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-03-20 05:10:00
|
http://bugs.freedesktop.org/show_bug.cgi?id=27150 Chia-I Wu <ol...@gm...> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Chia-I Wu <ol...@gm...> 2010-03-19 22:09:52 PST --- Thanks. I've applied the patch to 7.8 branch and it will appear in next RC. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-03-20 16:51:18
|
http://bugs.freedesktop.org/show_bug.cgi?id=27150 Sedat Dilek <sed...@gm...> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sed...@gm... --- Comment #5 from Sedat Dilek <sed...@gm...> 2010-03-20 09:51:10 PST --- Here on i386 Debian/sid this requires an additional fix from mesa 7.8 GIT [1]: commit 6fed3a9fa0a87ae797f995de5b51eb9be3493fe0 "glapi: Fix aliases to non-static functions." See also thread at mesa3d-dev ML [2]: mesa 7.8 GIT: Broken by "glapi: Correctly generate static disatches for X86." - Sedat - [1] http://cgit.freedesktop.org/mesa/mesa/commit/?h=7.8&id=6fed3a9fa0a87ae797f995de5b51eb9be3493fe0 [2] http://marc.info/?t=126909319800003&r=1&w=2 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-03-22 01:58:14
|
http://bugs.freedesktop.org/show_bug.cgi?id=27150 --- Comment #6 from Alan <al...@au...> 2010-03-21 18:58:07 PST --- I also noticed that glBlitFramebufferEXT is defined on the header file but the symbol is not exported into libGL.so for both 32bit and 64bit. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-03-22 03:10:13
|
http://bugs.freedesktop.org/show_bug.cgi?id=27150 --- Comment #7 from Chia-I Wu <ol...@gm...> 2010-03-21 20:10:05 PST --- The gl* functions are generated from glAPI XMLs and scripts. The original bug was a bug in the scripts, and is fixed. On the other hand, the XMLs do say that glBlitFramebuffer should be exported while glBlitFramebuffer should not. See src/mesa/glapi/gen/{ARB,EXT}_framebuffer_object.xml. Applications should use glXGetProcAddress to get the pointer to the missing function. Depending on one's interpretation, it may or may not be considered a bug. Please open a new bug against the XMLs if you think it is. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |