public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57907] New: warning: switch -mcpu=cortex-a15 conflicts with -march=armv7-a switch [enabled by default]
@ 2013-07-16 12:04 christian.helmuth@genode-labs.com
  2013-07-23 16:23 ` [Bug target/57907] " rearnsha at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: christian.helmuth@genode-labs.com @ 2013-07-16 12:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57907

            Bug ID: 57907
           Summary: warning: switch -mcpu=cortex-a15 conflicts with
                    -march=armv7-a switch [enabled by default]
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: christian.helmuth@genode-labs.com

The manpage states that "This option [-march] can be used in conjunction with
or instead of the -mcpu= option." and this works for, e.g., -mcpu=cortex-a9. On
the other GCC complains for -mcpu=cortex-a15 and -mcpu=cortex-a7 in conjunction
with -march=armv7-a.

The following command line reproduces the issue:

> echo "int main() {}" | /usr/local/genode-gcc/bin/genode-arm-g++ -c -x c++ - -o /tmp/stdin.o -march=armv7-a -mcpu=cortex-a15
<stdin>:1:0: warning: switch -mcpu=cortex-a15 conflicts with -march=armv7-a
switch [enabled by default]

Examples in bugzilla never user both options for ARM but just -mcpu. Will the
combination be supported in the future or should I adapt the mcpu-only
approach? Does it have drawbacks?


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

end of thread, other threads:[~2014-02-11 15:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-16 12:04 [Bug target/57907] New: warning: switch -mcpu=cortex-a15 conflicts with -march=armv7-a switch [enabled by default] christian.helmuth@genode-labs.com
2013-07-23 16:23 ` [Bug target/57907] " rearnsha at gcc dot gnu.org
2013-08-14 15:50 ` ramana at gcc dot gnu.org
2014-01-29 14:38 ` alexander.stohr at gmx dot de
2014-01-29 14:40 ` ramana at gcc dot gnu.org
2014-02-11 15:58 ` ramana at gcc dot gnu.org

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).