public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/44531]  New: [SuperH] Multilib configuration does not work as expected
@ 2010-06-14  2:57 ljsebald at gmail dot com
  2010-06-19  9:50 ` [Bug target/44531] " kkojima at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ljsebald at gmail dot com @ 2010-06-14  2:57 UTC (permalink / raw)
  To: gcc-bugs

When building a clean GCC 4.5.0 targeting sh-elf, the multilib configuration of
the compiler does not appear to work at all. For instance, building GCC 4.5.0
with the following set of configure flags:

../gcc-4.5.0/configure --target=sh-elf --prefix=/usr/local/dc2/sh-elf
--with-newlib --enable-languages=c --disable-libssp --disable-tls
--without-headers --disable-nls --with-multilib-list=m4-single-only,m4-nofpu,m4
--with-endian=little --with-cpu=m4-single-only

Results in a compiler that can only compile with -m4-single-only. -m4 and
-m4-nofpu do not work at all, even though they were explicitly specified in the
--with-multilib-list.

Attempting to specify -m4 results in the following error (similar for
-m4-nofpu):
cc1: error: command line option '-m4' is not supported by this configuration

Configuring GCC 4.4.4 with the same set of configure flags results in a
compiler that does support all of -m4, -m4-single-only, and -m4-nofpu (and
defaults to -m4-single-only, as expected).


-- 
           Summary: [SuperH] Multilib configuration does not work as
                    expected
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ljsebald at gmail dot com
 GCC build triplet: x86_64-apple-darwin10.3.1
  GCC host triplet: x86_64-apple-darwin10.3.1
GCC target triplet: sh-unknown-elf


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


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

end of thread, other threads:[~2010-07-05 22:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-14  2:57 [Bug target/44531] New: [SuperH] Multilib configuration does not work as expected ljsebald at gmail dot com
2010-06-19  9:50 ` [Bug target/44531] " kkojima at gcc dot gnu dot org
2010-06-19 15:58 ` ljsebald at gmail dot com
2010-06-20 10:57 ` [Bug target/44531] [4.5/4.6 Regression] [SH] Multilib configuration does not work as expected on darwin kkojima at gcc dot gnu dot org
2010-06-20 14:01 ` ljsebald at gmail dot com
2010-06-20 22:23 ` kkojima at gcc dot gnu dot org
2010-06-24 21:32 ` rguenth at gcc dot gnu dot org
2010-06-24 21:42 ` rguenth at gcc dot gnu dot org
2010-07-04 22:07 ` kkojima at gcc dot gnu dot org
2010-07-05 22:34 ` kkojima at gcc dot gnu dot org
2010-07-05 22:39 ` kkojima at gcc dot gnu dot 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).