[xorg-bugzilla-noise] [Bug 1466] New: [PATCH] selectable with/without PIC to build libGL on i386 Linux

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 25 07:58:03 UTC 2004


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=1466        
   
           Summary: [PATCH] selectable with/without PIC to build libGL on
                    i386 Linux
           Product: xorg
           Version: CVS_head
          Platform: PC
               URL: http://hanzubon.jp/patches/xorg/selectable_BuildLibGlxWi
                    thoutPIC.diff
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Lib/GLX
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: ishikawa at debian.org


on ix86 Linux, GLX force to build without PIC flag. 
 
--- xc/config/cf/linux.cf (line 365...) 
/* 
 * 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 
---- 
 
  So, if we wisth to build libGL with PIC on i386 Linux, we have to edit 
xc/config/cg/linux.cf directly.  I think better to be able to select with/without 
PIC. 
 
  For Debian package, Shared libraries must to be built with -fPIC 
option. It is describe in Debian policy #10.2. 
 
  http://www.debian.org/doc/debian-policy/ch-files.html#s-libraries        
   
   
--         
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.


More information about the xorg-bugzilla-noise mailing list