Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Thomas Orgis (952f9cd9349812c57a25d30c27f4ea008c18faab)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (952f9cd9349812c57a25d30c27f4ea008c18faab)
  • Date: Fri, 23 Jun 2006 19:33:45 -0500

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

libs/glibc/BUILD | 14 +++++++++++++-
libs/glibc/HISTORY | 4 ++++
2 files changed, 17 insertions(+), 1 deletion(-)

New commits:
commit 952f9cd9349812c57a25d30c27f4ea008c18faab
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

Added entry for alpha arch in linux headers setup (archspecs for
that are pending in bugzilla) and also an "else" that lets the
build fail if the architecture is not yet supported by the spell.

diff --git a/libs/glibc/BUILD b/libs/glibc/BUILD
index fc6c555..42b0575 100755
--- a/libs/glibc/BUILD
+++ b/libs/glibc/BUILD
@@ -45,6 +45,7 @@ unset LD_LIBRARY_PATH &&

#
# Setup sanitised glibc-kernel-headers for the glibc compile
+# ...as well as other arch-dependend specialties
#
persistent_add GLIBC_ARCH &&
if [[ ${SMGL_COMPAT_ARCHS[1]} == x86_64 ]]; then
@@ -89,7 +90,18 @@ elif [[ ${SMGL_COMPAT_ARCHS[0]} == 32 &&
sedit "s:CPPFLAGS += -DHAVE_INITFINI:CPPFLAGS += -DHAVE_INITFINI -fno-pie
-fno-PIE:" csu/Makefile
export CFLAGS="${CFLAGS/-fcall-used-g7/}"
export CFLAGS="$CFLAGS -fcall-used-g6"
-fi &&
+elif [[ ${SMGL_COMPAT_ARCHS[1]} == alpha ]]; then
+ # This is a first attempt to get alpha going, being paranoid about any
CFLAGS,
+ # not without reason: -Os/-O breaks compile in strange ways:
+ # either an elf/ld.so that segfaults (build failing at sunrpc) or
+ # internal compiler error(s) in intl/
+ # glibc knows itself what flags to choose
+ export CFLAGS="" &&
+ GLIBC_ARCH=alpha
+else
+ message "Glibc spell doesn't know your architecture!" &&
+ false
+fi &&

# set the asm headers to point to the correct architecture
cd $GLIBC_HEADERS_DIR/include &&
diff --git a/libs/glibc/HISTORY b/libs/glibc/HISTORY
index c285dc0..c0139f9 100644
--- a/libs/glibc/HISTORY
+++ b/libs/glibc/HISTORY
@@ -1,3 +1,7 @@
+2006-06-24 Thomas Orgis <sobukus AT sourcemage.org>
+ * BUILD: added alpha headers/CFLAGS setup, made build fail for
+ unknown arch in a controlled way
+
2006-06-20 David Brown <dmlb2000 AT gmail.com>
* DETAILS: turned off staged install for this spell




  • [SM-Commit] GIT changes to master grimoire by Thomas Orgis (952f9cd9349812c57a25d30c27f4ea008c18faab), Thomas Orgis, 06/23/2006

Archive powered by MHonArc 2.6.24.

Top of Page