From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105432 invoked by alias); 23 Oct 2015 17:38:18 -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 105414 invoked by uid 89); 23 Oct 2015 17:38:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: resqmta-ch2-07v.sys.comcast.net Received: from resqmta-ch2-07v.sys.comcast.net (HELO resqmta-ch2-07v.sys.comcast.net) (69.252.207.39) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 23 Oct 2015 17:38:17 +0000 Received: from resomta-ch2-14v.sys.comcast.net ([69.252.207.110]) by resqmta-ch2-07v.sys.comcast.net with comcast id Yhd41r0032PT3Qt01heF7z; Fri, 23 Oct 2015 17:38:15 +0000 Received: from [IPv6:2001:558:6045:a4:40c6:7199:cd03:b02d] ([IPv6:2001:558:6045:a4:40c6:7199:cd03:b02d]) by resomta-ch2-14v.sys.comcast.net with comcast id YheC1r00C2ztT3H01heDmr; Fri, 23 Oct 2015 17:38:14 +0000 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: config header file reduction patch checked in. From: Mike Stump In-Reply-To: <562A6D52.10004@redhat.com> Date: Fri, 23 Oct 2015 17:39:00 -0000 Cc: Andrew MacLeod , Iain Sandoe , Jeff Law , gcc-patches List , Dominique Dhumieres Content-Transfer-Encoding: quoted-printable Message-Id: References: <560DEA79.8050709@redhat.com> <560DECE1.5080807@redhat.com> <56159676.6050405@redhat.com> <5616717F.8040306@redhat.com> <561B698C.8060801@redhat.com> <562154BA.2030209@redhat.com> <688F1D44-78EA-40FD-A000-A2E611C24CFE@codesourcery.com> <56251212.9050504@redhat.com> <562A6706.1010907@redhat.com> <9F61532C-63DE-44B1-8E6D-ACC125C3C86A@comcast.net> <562A6D52.10004@redhat.com> To: Bernd Schmidt X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg02495.txt.bz2 On Oct 23, 2015, at 10:24 AM, Bernd Schmidt wrote: > On 10/23/2015 07:15 PM, Mike Stump wrote: >> On Oct 23, 2015, at 9:57 AM, Bernd Schmidt >> wrote: >>>=20 >>> I'm guessing it's the CROSS_DIRECTORY_STRUCTURE macro which is used >>> by darwin targets. It's also used for several other targets, so you >>> may want to double check those. >>=20 >> No, only darwin is special, as presently only darwin has the >> requisite support in the object file format to do what needs doing. >=20 > Not sure what you mean by "what needs doing", but grep shows a number of = uses of CROSS_DIRECTORY_STRUCTURE. Anything that uses it would presumably c= ause a difference between a cross and host build which could lead to an iss= ue like the one Iain found. What needs doing, means the ability to pack two different architectures int= o one file. If you look at all the uses, you discover two things. All non= -darwin ports use it in trivial ways. Only darwin uses it (doesn=92t use i= t), in non-trivial ways that may impact headers. For the non-darwin target= s, the use of it is universal, not related to any target. So, testing any = cross (the condition under which things are different) and any non-cross wi= ll test most things. It is this notion of several other targets in your em= ail that just doesn=92t apply. Any target which is a cross, is the wording= that would apply.