From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 703 invoked by alias); 3 Oct 2011 22:30:04 -0000 Received: (qmail 586 invoked by uid 22791); 3 Oct 2011 22:30:02 -0000 X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 03 Oct 2011 22:29:43 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p93MTgZB030336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 3 Oct 2011 18:29:42 -0400 Received: from [10.3.113.98] (ovpn-113-98.phx2.redhat.com [10.3.113.98]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p93MTfDW024366; Mon, 3 Oct 2011 18:29:42 -0400 Message-ID: <4E8A3755.8030408@redhat.com> Date: Mon, 03 Oct 2011 22:30:00 -0000 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.4 Thunderbird/3.1.14 MIME-Version: 1.0 To: Michael LIAO CC: autoconf@gnu.org, gcc@gcc.gnu.org, x32-abi@googlegroups.com, config-patches@gnu.org Subject: Re: new triplet for x32 psABI? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-10/txt/msg00023.txt.bz2 On 10/03/2011 04:25 PM, Michael LIAO wrote: > Sorry, resend with plain text format. > > Hi, Everyone > > As x32 psABI (https://sites.google.com/site/x32abi/) is invented, do > we need a new triplet for system relies on triplet to figure out it's > targeted on x32 environment. The new triplet would look like > 'x86_64-unknown-linux-gnux32' for x32 vs 'x86_64-unknown-linux-gnu' > for regular 64-bit. This's similar to EABI added to ARM or PowerPC, > where 'arm-unknown-linux-gnueabi' vs. 'arm-unknown-linux-gnu'. Discussions on new triplets are worthless on the autoconf list, which is only a downstream consumer of config.guess; rather, your questions should be directed to config-patches@gnu.org [added to cc]. > > The new triple doesn't introduce a new target (still x86_64) but just > a new environment 'gnux32' to specify x32 ABI is used for code > generation. > > The current scheme documented on website > (https://sites.google.com/site/x32abi/) uses the existing triplet but > specify x32 ABI through compiler/linker options. It works for most > compilers aware of that, but how other tools not handling > compiler/linker options knows the current build is targeted on a > different environment? > > Any comments or alternative suggestion? > > Yours > - Michael > -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org