This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/44531] New: [SuperH] Multilib configuration does not work as expected


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]