From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95211 invoked by alias); 21 Jul 2016 13:51:27 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 95201 invoked by uid 89); 21 Jul 2016 13:51:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:2067, vendor, commercial, Tel X-HELO: mga14.intel.com Received: from mga14.intel.com (HELO mga14.intel.com) (192.55.52.115) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Jul 2016 13:51:16 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 21 Jul 2016 06:50:57 -0700 X-ExtLoop1: 1 Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by fmsmga001.fm.intel.com with ESMTP; 21 Jul 2016 06:50:56 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX153.ger.corp.intel.com (163.33.192.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 21 Jul 2016 14:50:56 +0100 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.117]) by irsmsx155.ger.corp.intel.com ([169.254.14.102]) with mapi id 14.03.0248.002; Thu, 21 Jul 2016 14:50:55 +0100 From: "Metzger, Markus T" To: Pedro Alves , Jan Kratochvil CC: "gdb-patches@sourceware.org" Subject: RE: [commit] [testsuite patch] Fix gdb.btrace/tailcall-only.exp errors on x86_64-m32 Date: Thu, 21 Jul 2016 13:51:00 -0000 Message-ID: References: <20160408155331.GA31979@host1.jankratochvil.net> <4adcda99-ae37-00d8-c38f-37702f7a50b4@redhat.com> <20160720142247.GB16994@host1.jankratochvil.net> <20160720143844.GA14699@host1.jankratochvil.net> <2234b2b7-47af-9887-ee70-495be177f038@redhat.com> In-Reply-To: <2234b2b7-47af-9887-ee70-495be177f038@redhat.com> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg00252.txt.bz2 > -----Original Message----- > From: Pedro Alves [mailto:palves@redhat.com] > Sent: Wednesday, July 20, 2016 5:08 PM > To: Jan Kratochvil > Cc: Metzger, Markus T ; gdb- > patches@sourceware.org > Subject: Re: [commit] [testsuite patch] Fix gdb.btrace/tailcall-only.exp = errors on > x86_64-m32 >=20 > On 07/20/2016 03:38 PM, Jan Kratochvil wrote: > > On Wed, 20 Jul 2016 16:36:46 +0200, Pedro Alves wrote: > >> Not sure this particular commit, but AFAIK, there's no target > >> triplet for x32, even. > > > > https://sourceware.org/glibc/wiki/x32 > > -> > > x86_64-x32-linux >=20 > AFAICS, that "x32" is in the "vendor" part of the triplet, which should > never mean anything for the tools themselves, being a free field to use by > whoever builds the tools, in order to give the binaries a unique > file name (x86_64-x32-linux-gcc, etc.), and for branding, like > x86_64-redhat-linux-gcc. AFAICS, nothing in config.sub, and the > different configure scripts in binutils-gdb select on *-x32-*. >=20 > ISTR that a triplet like x86_64-*-linux-gnux32 or x86_64-*-linux-gnu-x32 > was originally proposed, but then the toolchain ended using strictly > multilib flags to select/detect x32. But, actually, now that I grep, I f= ind > a few hits on "x86_64-*-linux-gnux32", though not many, so it looks like > there's a triplet after all. I use the triplet to select the source files for a test. Seems that wasn't= such a good idea. Using the pointer size doesn't seem to be such a good idea, either, as x32 uses x86_64 ISA with 32-bit pointers. Is there a recommended/documented way on how this should be done? thanks, Markus. Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Christian Lamprechter Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928