From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15901 invoked by alias); 21 Jun 2004 14:38:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15888 invoked by uid 48); 21 Jun 2004 14:38:09 -0000 Date: Mon, 21 Jun 2004 14:38:00 -0000 Message-ID: <20040621143809.15887.qmail@sourceware.org> From: "jakub at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040621084809.16109.pluto@pld-linux.org> References: <20040621084809.16109.pluto@pld-linux.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/16109] error: architecture mismatch on "fzero". X-Bugzilla-Reason: CC X-SW-Source: 2004-06/txt/msg02612.txt.bz2 List-Id: ------- Additional Comments From jakub at gcc dot gnu dot org 2004-06-21 14:38 ------- I don't think so. GCC on sparc64-*-linux is supposed to default to -mcpu=ultrasparc if no -mcpu= is given. > a.c; gcc34 -m64 -c -O2 a.c -v Reading specs from /usr/lib/gcc/sparc64-redhat-linux/3.4.0/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,java,f77 --host=sparc64-redhat-linux --build=sparc64-redhat-linux --target=sparc64-redhat-linux --with-cpu=v7 Thread model: posix gcc version 3.4.0 (Red Hat Linux 3.4.0-1.sparc) /usr/libexec/gcc/sparc64-redhat-linux/3.4.0/cc1 -quiet -v -D__arch64__ a.c -mptr64 -mstack-bias -mlong-double-128 -mcpu=ultrasparc -mvis -quiet -dumpbase a.c -m64 -auxbase a -O2 -version -o /tmp/cctmL5p8.s ignoring nonexistent directory "/usr/lib/gcc/sparc64-redhat-linux/3.4.0/../../../../sparc64-redhat-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/lib/gcc/sparc64-redhat-linux/3.4.0/include /usr/include End of search list. GNU C version 3.4.0 (Red Hat Linux 3.4.0-1.sparc) (sparc64-redhat-linux) compiled by GNU C version 3.4.0 (Red Hat Linux 3.4.0-1.sparc). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 as -V -Qy -s -Av9a -64 -no-undeclared-regs -relax -o a.o /tmp/cctmL5p8.s GNU assembler version 2.15.90.0.3 (sparc-redhat-linux) using BFD version 2.15.90.0.3 20040415 There used to be a bug in this area, but it should be fixed by my: * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): If SPARC_BI_ARCH, override sparc.h definition. patch. asm_cpu_default is supposed to be used, because no -mcpu=* nor one of its obsolete variants are used. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16109