From patchwork Sat Mar 31 21:10:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 149892 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 6448BB6FE1 for ; Sun, 1 Apr 2012 07:10:40 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1333833041; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Date:From:To:Subject:Message-ID:Reply-To:MIME-Version: Content-Type:Content-Disposition:User-Agent:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=s0FhwqT1JPe3kX9cMXZGC8Ht7Ho=; b=kCWDPEoMkXabLfVQKeLWLT5IWFSoLOse6dP5icUZplA6xAeyKng0VDB41b8O2x 8HPdpkRmKXoom22laXXLFxoRBO1kCcMICdUA+0Is/7KNlFcSrCa8mbQ8yNkdno0t aZe2xR2dEEhCOibJH0loP8jNQIIfIF+o18PEoLEzFXxqg= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-ExtLoop1:Received:Received:Date:From:To:Subject:Message-ID:Reply-To:MIME-Version:Content-Type:Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=avff201yXuoYW6Kdd4IcjvcmO1vxFndeR3oVD9oOGmGVp+mIP18mvEA2DTun+R GLthkkN4p+lxTP2OBumZL5pHIK16uPFzUJB7dIF9SPWYnWA+LLoj/UhIpCMuaxz1 FdnUm5lzQ3NtCEo5j1cuaYuFHtxYHmJI/S9QiY0f1g9p0=; Received: (qmail 7588 invoked by alias); 31 Mar 2012 21:10:34 -0000 Received: (qmail 7580 invoked by uid 22791); 31 Mar 2012 21:10:33 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, NO_DNS_FOR_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga14.intel.com (HELO mga14.intel.com) (143.182.124.37) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 31 Mar 2012 21:10:20 +0000 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 31 Mar 2012 14:10:19 -0700 X-ExtLoop1: 1 Received: from gnu-4.sc.intel.com ([10.3.194.54]) by azsmga001.ch.intel.com with ESMTP; 31 Mar 2012 14:10:19 -0700 Received: by gnu-4.sc.intel.com (Postfix, from userid 500) id A0647229D9; Sat, 31 Mar 2012 14:10:19 -0700 (PDT) Date: Sat, 31 Mar 2012 14:10:19 -0700 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: PATCH: PR bootstrap/52812: --enable-targets=all --with-multilib-list=m32, m64, mx32 doesn't work with i686-linux Message-ID: <20120331211019.GA31741@lucon.org> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, I checked in this patch as an obvious fix to handle -mx32 like -m64. Tested on Linux/ia32 with --enable-targets=all --with-multilib-list=m32,m64,mx32 Thanks. H.J. Index: libgomp/configure.tgt =================================================================== --- libgomp/configure.tgt (revision 186048) +++ libgomp/configure.tgt (working copy) @@ -59,7 +59,7 @@ if test $enable_linux_futex = yes; then i[456]86-*-linux*) config_path="linux/x86 linux posix" case " ${CC} ${CFLAGS} " in - *" -m64 "*) + *" -m64 "*|*" -mx32 "*) ;; *) if test -z "$with_arch"; then Index: libgomp/ChangeLog =================================================================== --- libgomp/ChangeLog (revision 186048) +++ libgomp/ChangeLog (working copy) @@ -1,3 +1,8 @@ +2012-03-31 H.J. Lu + + PR bootstrap/52812 + * configure.tgt (i[456]86-*-linux*): Handle -mx32 like -m64. + 2012-03-22 Jakub Jelinek PR middle-end/52547 Index: libitm/configure.tgt =================================================================== --- libitm/configure.tgt (revision 186048) +++ libitm/configure.tgt (working copy) @@ -53,7 +53,7 @@ case "${target_cpu}" in i[3456]86) case " ${CC} ${CFLAGS} " in - *" -m64 "*) + *" -m64 "*|*" -mx32 "*) ;; *) if test -z "$with_arch"; then Index: libitm/ChangeLog =================================================================== --- libitm/ChangeLog (revision 186048) +++ libitm/ChangeLog (working copy) @@ -1,3 +1,8 @@ +2012-03-31 H.J. Lu + + PR bootstrap/52812 + * configure.tgt (i[456]86-*-linux*): Handle -mx32 like -m64. + 2012-03-16 Bernhard Reutner-Fischer * testsuite/lib/libitm.exp: load fortran-modules.exp