[SM-Commit] GIT changes to master grimoire by Thomas Orgis (a6dcb806dffa9477b5bda24dceaaac4caca41c29)

Thomas Orgis scm at sourcemage.org
Wed Dec 7 04:06:18 EST 2011


GIT changes to master grimoire by Thomas Orgis <sobukus at sourcemage.org>:

 libs/elfutils/BUILD   |    5 ++++-
 libs/elfutils/HISTORY |    3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

New commits:
commit a6dcb806dffa9477b5bda24dceaaac4caca41c29
Author: Thomas Orgis <sobukus at sourcemage.org>
Commit: Thomas Orgis <sobukus at sourcemage.org>

    elfutils: enforce disable_pic also for x86-64

diff --git a/libs/elfutils/BUILD b/libs/elfutils/BUILD
index 7694d86..db6d5d3 100755
--- a/libs/elfutils/BUILD
+++ b/libs/elfutils/BUILD
@@ -2,7 +2,10 @@
 #  We could write wrappers for all of the possible binaries
 [[ $CROSS_INSTALL == on ]] && OPTS="$OPTS --host=${HOST} --build=${BUILD}"
 OPTS="$OPTS --program-suffix=.elfutils" &&
-disable_pic &&
+# We really need to disable PIC, also on archs that otherwise need it.
+# see
+# http://web.archiveorange.com/archive/v/hlgHmPOOA2S1Ez3KjzWJ
+disable_pic force &&
 # Ensure at least some opts... buld fails with gcc-4.3 without opts.
 # When user does -O0, she has to know why...
 CFLAGS="-O $CFLAGS" &&
diff --git a/libs/elfutils/HISTORY b/libs/elfutils/HISTORY
index 33a1018..4a13468 100644
--- a/libs/elfutils/HISTORY
+++ b/libs/elfutils/HISTORY
@@ -1,3 +1,6 @@
+2011-12-07 Thomas Orgis <sobukus at sourcemage.org>
+	* BUILD: really enforce _no_ PIC, this spell needs it also on x86-64
+
 2011-04-17 Ladislav Hagara <hgr at vabo.cz>
 	* DETAILS: 0.152
 	* DOWNLOAD: removed


More information about the SM-Commit mailing list