[Erp5-report] r44801 vincent - /erp5/trunk/buildout/software-profiles/xorg.cfg

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 30 15:27:26 CEST 2011


Author: vincent
Date: Wed Mar 30 15:27:26 2011
New Revision: 44801

URL: http://svn.erp5.org?rev=44801&view=rev
Log:
Disable -fPIC for libXext.

Also, explain why it's bad to enable it, and that it doesn't solve the problem
encountered on some old distros (still to be understood).

Modified:
    erp5/trunk/buildout/software-profiles/xorg.cfg

Modified: erp5/trunk/buildout/software-profiles/xorg.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/xorg.cfg?rev=44801&r1=44800&r2=44801&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/xorg.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/xorg.cfg [utf8] Wed Mar 30 15:27:26 2011
@@ -89,7 +89,8 @@ environment =
   LD_LIBRARY_PATH=${xcbproto:location}/lib:${libXau:location}/lib:${xorg-libpthread-stubs:location}/lib:${xextproto:location}/lib:${libX11:location}/lib:${libxcb:location}/lib
   LD_RUN_PATH=${xcbproto:location}/lib:${libXau:location}/lib:${xorg-libpthread-stubs:location}/lib:${xextproto:location}/lib:${libX11:location}/lib:${libxcb:location}/lib
   PATH=${pkgconfig:location}/bin:%(PATH)s
-  CFLAGS=-fPIC
+# Warning: do *not* enable -fPIC CFLAGS for this library. Even if it fails and ld asks you to enable it. This will not solve your problem, and create an unexpected (by build chain) setup (all .o will be position-independant code).
+# CFLAGS=-fPIC
 configure-options =
   --disable-specs
 



More information about the Erp5-report mailing list