Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Atom archspecs clash

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Ismael Luceno <ismael.luceno AT gmail.com>
  • To: sm-discuss AT lists.ibiblio.org <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] Atom archspecs clash
  • Date: Sun, 26 Feb 2012 03:28:30 -0200

The attached patch fixes the clash which makes 64bit version
unavailable. Also adding -m32 or -m64 as corresponding.
From 66ff5e73697e2b301cdca3e2c904f6b57629818d Mon Sep 17 00:00:00 2001
From: Ismael Luceno <ismael.luceno AT gmail.com>
Date: Sun, 26 Feb 2012 03:17:30 -0200
Subject: [PATCH] Fix Atom specs clash


Signed-off-by: Ismael Luceno <ismael.luceno AT gmail.com>
---
 32/ia32/intel/x86/atom                  |    4 ++--
 64/x86_64/intel/em64t/{atom => atom_64} |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename 64/x86_64/intel/em64t/{atom => atom_64} (80%)

diff --git a/32/ia32/intel/x86/atom b/32/ia32/intel/x86/atom
index 86f6e26..054a669 100755
--- a/32/ia32/intel/x86/atom
+++ b/32/ia32/intel/x86/atom
@@ -1,8 +1,8 @@
-CPUNAME="Intel Atom"
+CPUNAME="Intel Atom, 32bit mode"
 if use_gcc2; then
   CFLAGS="-march=i686"
 else
-  CFLAGS="-march=atom"
+  CFLAGS="-march=atom -m32"
 fi
 HOST="i686-pc-linux-gnu"
 FAST="-O3"
diff --git a/64/x86_64/intel/em64t/atom b/64/x86_64/intel/em64t/atom_64
similarity index 80%
rename from 64/x86_64/intel/em64t/atom
rename to 64/x86_64/intel/em64t/atom_64
index d53e16b..247fc4a 100755
--- a/64/x86_64/intel/em64t/atom
+++ b/64/x86_64/intel/em64t/atom_64
@@ -3,7 +3,7 @@ CPUNAME="Intel Atom 64bit (all except Z5xx, Z6xx and N2xx)"
 if use_gcc2 ; then
   CFLAGS="-march=i686"
 else
-  CFLAGS="-march=atom -fPIC -DPIC"
+  CFLAGS="-march=atom -m64 -fPIC -DPIC"
 fi
 
 HOST="x86_64-pc-linux-gnu"
-- 
1.7.9.1

Attachment: signature.asc
Description: PGP signature



  • [SM-Discuss] Atom archspecs clash, Ismael Luceno, 02/26/2012

Archive powered by MHonArc 2.6.24.

Top of Page