From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14867 invoked by alias); 8 Jul 2004 18:27:46 -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 14843 invoked by uid 48); 8 Jul 2004 18:27:45 -0000 Date: Thu, 08 Jul 2004 18:27:00 -0000 Message-ID: <20040708182745.14840.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-07/txt/msg00822.txt.bz2 List-Id: ------- Additional Comments From jakub at gcc dot gnu dot org 2004-07-08 18:27 ------- If the compiler is configured with --with-cpu=v7, then it defaults to -m32. #define OPTION_DEFAULT_SPECS \ {"cpu", "%{!m64:%{!mcpu=*:-mcpu=%(VALUE)}}" }, \ ... means that -mcpu=v7 will be passed if no -mcpu is given AND -m64 is not present on the command line. If -m64 is present and -mcpu is not given, CC1_SPEC will add -mcpu=ultrasparc. Similarly for a compiler defaulting to -m64. BTW, the compiler is misconfigured, it ought to use --libdir /usr/lib on sparc64, not /usr/lib64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16109