Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2011 21:40:13 GMT
From:      Alexander <freebsd@nagilum.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: gnu/146716: gcc(1) gcc CPU detection error
Message-ID:  <201103242140.p2OLeDMq022796@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/146716; it has been noted by GNATS.

From: Alexander <freebsd@nagilum.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: gnu/146716: gcc(1) gcc CPU detection error
Date: Thu, 24 Mar 2011 22:23:20 +0100

 The generated code using -march=geode -mtune=geode works fine on Geode CPUs.
 The only thing missing is the CPU detection on Geode but
 otherwise it seems to work.
 
 nagilum@cakebox ~/Projects/C/src/a16 > gcc -### -march=native
 -mtune=native -O3 -o a16 a16.c
 Using built-in specs.
 Target: i386-undermydesk-freebsd
 Configured with: FreeBSD/i386 system compiler
 Thread model: posix
 gcc version 4.2.1 20070719  [FreeBSD]
   "/usr/libexec/cc1" "-quiet" "-D_LONGLONG" "a16.c" "-march=athlon"
 "-mtune=athlon" "-quiet" "-dumpbase" "a16.c" "-auxbase" "a16" "-O3" "-o"
 "/var/tmp//ccLq86VU.s"
   "/usr/bin/as" "-o" "/var/tmp//ccYpfGUH.o" "/var/tmp//ccLq86VU.s"
   "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1"
 "-o" "a16" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o"
 "-L/usr/lib" "-L/usr/lib" "/var/tmp//ccYpfGUH.o" "-lgcc" "--as-needed"
 "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s"
 "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
 
 
 ========================================================================
 #    _  __          _ __     http://www.nagilum.org/ \n icq://69646724 #
 #   / |/ /__ ____ _(_) /_ ____ _  nagilum@nagilum.org \n +491776461165 #
 #  /    / _ `/ _ `/ / / // /  ' \  Amiga (68k/PPC): AOS/NetBSD/Linux   #
 # /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / Linux / MacOS-X #
 #           /___/     x86: FreeBSD/Linux/Solaris/Win2k  ARM9: EPOC EV6 #
 ========================================================================
 
 
 ----------------------------------------------------------------
 cakebox.homeunix.net - all the machine one needs..



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103242140.p2OLeDMq022796>