From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121786 invoked by alias); 23 Jul 2015 13:03:52 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 121777 invoked by uid 89); 23 Jul 2015 13:03:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: e06smtp12.uk.ibm.com Received: from e06smtp12.uk.ibm.com (HELO e06smtp12.uk.ibm.com) (195.75.94.108) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Thu, 23 Jul 2015 13:03:42 +0000 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 23 Jul 2015 14:03:33 +0100 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 23 Jul 2015 14:03:31 +0100 X-MailFrom: uweigand@de.ibm.com X-RcptTo: gcc-patches@gcc.gnu.org Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 3F9292190073 for ; Thu, 23 Jul 2015 14:03:07 +0100 (BST) Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t6ND3U3517694846 for ; Thu, 23 Jul 2015 13:03:30 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t6ND3TsA018648 for ; Thu, 23 Jul 2015 07:03:30 -0600 Received: from oc7340732750.ibm.com (dyn-9-152-213-24.boeblingen.de.ibm.com [9.152.213.24]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t6ND3TxW018634; Thu, 23 Jul 2015 07:03:29 -0600 Received: by oc7340732750.ibm.com (Postfix, from userid 500) id 87834B045; Thu, 23 Jul 2015 15:03:29 +0200 (CEST) Subject: Re: s390-linux fails to build To: jakub@redhat.com Date: Thu, 23 Jul 2015 13:26:00 -0000 From: "Ulrich Weigand" Cc: nickc@redhat.com (Nick Clifton), Andreas.Krebbel@de.ibm.com, gcc-patches@gcc.gnu.org (gcc-patches) In-Reply-To: <20150723125611.GA1780@tucnak.redhat.com> from "Jakub Jelinek" at Jul 23, 2015 02:56:11 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20150723130329.87834B045@oc7340732750.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15072313-0009-0000-0000-000004EFC3B6 X-SW-Source: 2015-07/txt/msg01937.txt.bz2 Jakub Jelinek wrote: > On Thu, Jul 23, 2015 at 02:46:43PM +0200, Ulrich Weigand wrote: > > > I bet that is gone break also cross-compilers from s390* to other targets. > > > > I think this should be fine on s390. The problem with i386 is that > > the driver-native.c file uses data types only defined by the i386 > > target files (e.g. enum processor_type). But on s390, the file does > > not any target-specific types and should be fully portable. > > That hunk means that driver-native.o is added to EXTRA_GCC_OBJS > even say for s390x-*-* -> x86_64-*-* compiler. While it might compile > there, nothing will use it, so what is it good for? > i?86/x86_64 backend will certainly not reference s390_host_detect_local_cpu > anywhere. Oh, I agree this will not be *used*. I just wanted to point out that it will not *break* cross-compilers as is. Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com