From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43126 invoked by alias); 9 Mar 2018 16:39:16 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 43117 invoked by uid 89); 9 Mar 2018 16:39:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=therein X-HELO: relay1.mentorg.com Date: Fri, 09 Mar 2018 16:39:00 -0000 From: Joseph Myers To: "Gabriel F. T. Gomes" CC: Andreas Schwab , , Subject: Re: [PATCH v3] powerpc64*: fix the order of implied sysdeps directories In-Reply-To: <20180308174909.7cbf8292@keller.br.ibm.com> Message-ID: References: <20180307163615.6450-1-gabriel@inconstante.eti.br> <20180307141505.5c1ad2e7@keller.br.ibm.com> <20180308174909.7cbf8292@keller.br.ibm.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2018-03/txt/msg00241.txt.bz2 On Thu, 8 Mar 2018, Gabriel F. T. Gomes wrote: > >Ok, how about this then: put the BE file in .../powerpc64/be, the LE > >files in .../powerpc64/le, and keep the common files in .../powerpc64? > > While I can see the advantage of keeping the common files in .../powerpc64 > (i.e.: most of the renamings in this patch disappear), I am not sure about > changing the name of the machine directories. Notice that the configure > script will guess the name of the machine from the compiler triplet, so > big-endian automatically brings .../powerpc64, and little-endian > brings .../powerpc64le. > > So, moving machine directories to .../powerpc64/{be,le}, means that > something needs to convert powerpc64 (from the triplet) to powerpc64/be > and powerpc64le to powerpc64/le. Moreover, I think that this will > implicitly imply ".../powerpc64" for both big-endian and little-endian. The code in question is sysdeps/powerpc/preconfigure; you'd need to change the machine settings therein. -- Joseph S. Myers joseph@codesourcery.com