public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/10117: Problem of arm-elf-gcc.
@ 2003-03-17  2:46 ken
  0 siblings, 0 replies; 2+ messages in thread
From: ken @ 2003-03-17  2:46 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c/10117: Problem of arm-elf-gcc.
@ 2003-03-20 10:23 rearnsha
  0 siblings, 0 replies; 2+ messages in thread
From: rearnsha @ 2003-03-20 10:23 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, ken, nobody, rearnsha

Synopsis: Problem of arm-elf-gcc.

Responsible-Changed-From-To: unassigned->rearnsha
Responsible-Changed-By: rearnsha
Responsible-Changed-When: Thu Mar 20 10:23:12 2003
Responsible-Changed-Why:
    .
State-Changed-From-To: open->closed
State-Changed-By: rearnsha
State-Changed-When: Thu Mar 20 10:23:12 2003
State-Changed-Why:
    That the assembler doesn't recognize this particular architecture variant is a problem with the assembler, not with the compiler.  Both the compiler and assembler should accept -march=armv5e and that ought to be close enough for your needs.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10117


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-20 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-17  2:46 c/10117: Problem of arm-elf-gcc ken
2003-03-20 10:23 rearnsha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).