From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13763 invoked by alias); 14 Jun 2010 02:57:04 -0000 Received: (qmail 13689 invoked by uid 48); 14 Jun 2010 02:56:52 -0000 Date: Mon, 14 Jun 2010 02:57:00 -0000 Subject: [Bug target/44531] New: [SuperH] Multilib configuration does not work as expected X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ljsebald at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg01503.txt.bz2 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