From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18336 invoked by alias); 17 Mar 2003 02:46:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 18315 invoked by uid 71); 17 Mar 2003 02:46:00 -0000 Resent-Date: 17 Mar 2003 02:46:00 -0000 Resent-Message-ID: <20030317024600.18314.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, ken@msr.mei.co.jp Received: (qmail 6676 invoked by uid 48); 17 Mar 2003 02:37:43 -0000 Message-Id: <20030317023743.6675.qmail@sources.redhat.com> Date: Mon, 17 Mar 2003 02:46:00 -0000 From: ken@msr.mei.co.jp Reply-To: ken@msr.mei.co.jp To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c/10117: Problem of arm-elf-gcc. X-SW-Source: 2003-03/txt/msg01097.txt.bz2 List-Id: >Number: 10117 >Category: c >Synopsis: Problem of arm-elf-gcc. >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Mar 17 02:46:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: ken@msr.mei.co.jp >Release: gcc-3.1, gcc-3.2.2 >Organization: >Environment: RedHat Linux 7.2 and later, Solaris 2.6, Cygwin >Description: We used the following sources to build the gcc for ARM. gcc-3.1 binutils-2.12.1 newlib-1.10.0 After that, when the -march=armv5te option is given to the arm-elf-gcc, the arm-elf-gcc gives the -marmv5te option to the as(assembler). However, the as will not accept the -marmv5te option. We would probably think inconsistency of the options between the gcc and the as causes this problem. The following is an execution log that shows the problem. /usr/cygnus/arm-3.1/H-i686-pc-linux-gnulibc2.2/bin/arm-elf-gcc -v -c --march=armv5te test.c Reading specs from /usr/cygnus/arm-3.1/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/arm-elf/3.1-030221/specs Configured with: /home/ken/GNU/src/gcc-3.1/configure --enable-languages=c,c++ --with-included-gettext --enable-threads --target=arm-elf --with-newlib --with-cpu=arm9 --prefix=/usr/cygnus/arm-3.1 --exec-prefix=/usr/cygnus/arm-3.1/H-i686-pc-linux-gnulibc2.2 Thread model: single gcc version 3.1-030221 /usr/cygnus/arm-3.1/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/arm-elf/3.1-030221/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=030221 -D__ELF__ -D__ELF__ -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=arm -Amachine=arm -D__ARM_ARCH_5TE__ -D__APCS_32__ -D__ARMEL__ -D__ELF__ -D__USES_INITFINI__ -D__arm__ test.c -quiet -dumpbase test.c -march=armv5te -version -o /tmp/ccMZfi0O.s GNU CPP version 3.1-030221 (cpplib) (ARM/ELF) GNU C version 3.1-030221 (arm-elf) compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.1 2.96-98). ignoring nonexistent directory "/usr/cygnus/arm-3.1/H-i686-pc-linux-gnulibc2.2/arm-elf/sys-include" #include "..." search starts here: #include <...> search starts here: /usr/cygnus/arm-3.1/include /usr/cygnus/arm-3.1/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/arm-elf/3.1-030221/include /usr/cygnus/arm-3.1/H-i686-pc-linux-gnulibc2.2/arm-elf/include End of search list. /usr/cygnus/arm-3.1/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/arm-elf/3.1-030221/../../../../arm-elf/bin/as -marmv5te -mno-fpu -o test.o /tmp/ccMZfi0O.s Assembler messages: Error: unrecognized option `-marmv5te' >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: