public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64008] New: [SH] sh4-linux configured compiler rejects -m4-nofpu
@ 2014-11-21  2:04 olegendo at gcc dot gnu.org
  2014-11-21  5:09 ` [Bug target/64008] " kkojima at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: olegendo at gcc dot gnu.org @ 2014-11-21  2:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64008

            Bug ID: 64008
           Summary: [SH] sh4-linux configured compiler rejects -m4-nofpu
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: olegendo at gcc dot gnu.org
                CC: kkojima at gcc dot gnu.org, segher at gcc dot gnu.org
            Target: sh*-*-*

This issue has been mentioned by Segher while he was trying to build an SH4
linux kernel on a powerpc host.  Segher, could you please add the configure
options you have used for that?

Looking at the SUPPORT_SH* macros in sh.h starting at line 161, it's not
entirely clear to me what those are trying to accomplish.

For instance:

#if SUPPORT_SH1
#define SUPPORT_SH2 1
#endif

... to me reads that when SH1 support is enabled (-m1 option), then support for
SH2 (-m2 option) is also enabled.  This looks like it should be the other way
around.

Kaz, do you have any idea why these SUPPORT_SH* macros are needed?  Why isn't
just every CPU/FPU type marked as supported?


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

end of thread, other threads:[~2014-12-21 20:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-21  2:04 [Bug target/64008] New: [SH] sh4-linux configured compiler rejects -m4-nofpu olegendo at gcc dot gnu.org
2014-11-21  5:09 ` [Bug target/64008] " kkojima at gcc dot gnu.org
2014-11-22  4:30 ` olegendo at gcc dot gnu.org
2014-11-22  7:59 ` kkojima at gcc dot gnu.org
2014-11-22 14:58 ` segher at gcc dot gnu.org
2014-11-23  1:23 ` kkojima at gcc dot gnu.org
2014-12-21 20:56 ` olegendo 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).