Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://freedesktop.org/bugzilla/show_bug.cgi?id=1809 Summary: Still required to compile libGL without PIC on i386? Product: xorg Version: CVS_head Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Lib/GLX AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED],[EMAIL PROTECTED]
% prelink /usr/lib/xscreensaver/spheremonics prelink: /usr/lib/xscreensaver/spheremonics: shared library /usr/lib/libGL.so.1.2 appears possibly non-PIC and contains conflicts. Symbol offset: 413205fc It turns out that shared libGL is still built without PIC on i386. linux.cf: [...] /* * Build shared libGL and the DRI modules without -fPIC on some architectures. * This improves performance. */ #if BuildXF86DRI # if defined(i386Architecture) # define BuildLibGlxWithoutPIC YES # endif #endif [...] revision 3.162 date: 2001/04/03 02:29:30; author: dawes; state: Exp; lines: +9 -1 320. Build shared libGL and DRI client modules on Linux without PIC for performance reasons. I finally did some testing with PIC/non-PIC with viewperf 7.1.1: (Radeon 7500, AMD64 1.6 GHz, 1 GB Memory, 32bit) non-PIC PIC 3dsmax-02 3.047 3.049 drv-09 3.928 3.282 dx-08 19.06 19.00 light-06 3.433 3.373 proe-02 2.328 2.319 ugs-03 1.492 1.434 I can't see any significant differences. Therefore I propose to enable PIC for libGL again. What do you think? Maybe gcc has improved a *lot* in the last 3 years, so this is no longer required? -- Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel