[SM-Grimoire-Bugs] [Bug 15203] New: gcc 3.3.6 does not know -march=core2

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Fri May 1 02:49:53 EDT 2009


http://bugs.sourcemage.org/show_bug.cgi?id=15203

           Summary: gcc 3.3.6 does not know -march=core2
           Product: Codex
           Version: stable grimoire
          Platform: x86
               URL: http://gcc.gnu.org/onlinedocs/gcc-3.3.6/gcc/i386-and-x
                    86_002d64-Options.html#i386-and-x86_002d64-Options
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: gnu
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: sandalle at sourcemage.org


The latest smgl-archspecs includes -march=core2, which is only in GCC 4.x.

$ gaze system-info
--------------------{Section:         ISO VERSION}--------------------
Source Mage GNU/Linux 0.9.6.1 i486-pc-linux-gnu
Installed from CD using installer v. 0.9.6.1 on Fri Feb 23 17:44:19 UTC 2007
--------------------{Section:               UNAME}--------------------
Linux pangomer 2.6.29.1 #7 SMP Fri Apr 24 23:26:55 PDT 2009 i686 GNU/Linux
...
--------------------{Section:     COMPILER CONFIG}--------------------
SMGL_COMPAT_ARCHS=32/ia32/intel/em64t/core2_32/
ARCHITECTURE="core2_32"
OPTIMIZATIONS="combreloc prelink strip "
CUSTOM_CFLAGS="-O2 -pipe -fomit-frame-pointer"
CUSTOM_CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
CUSTOM_LDFLAGS="-Wl,-O1"
CFLAGS="-march=core2 -m32 -mmmx -mfpmath=sse -msse -msse2 -msse3 -mssse3 -pipe
-DPIC -fPIC -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=core2 -m32 -mmmx -mfpmath=sse -msse -msse2 -msse3 -mssse3
-pipe -DPIC -fPIC -O2 -pipe -fomit-frame-pointer"
LDFLAGS="-z combreloc -s -Wl,-O1"
HOST="i686-pc-linux-gnu"
CCACHE="on"
DISTCC_HOSTS=""
JOBS_PER_HOST="0"
MAKE_NJOBS="2"
CCACHE_DIR="/var/cache/compiler"

# cast gcc33
...
checking whether the C compiler (gcc -march=core2 -m32 -mmmx -mfpmath=sse -msse
-msse2 -msse3 -mssse3 -pipe -DPIC -fPIC -O2 -pipe  -z combreloc -s -Wl,-O1)
works... yes
checking whether the C compiler (gcc -march=core2 -m32 -mmmx -mfpmath=sse -msse
-msse2 -msse3 -mssse3 -pipe -DPIC -fPIC -O2 -pipe  -z combreloc -s -Wl,-O1) is
a cross-compiler... no
...
checking how to recognise dependant libraries... pass_all
checking for object suffix... configure: error: installation or configuration
problem; compiler does not work
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/usr/src/gcc-3.3.6.bld'

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list