From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95976 invoked by alias); 28 Oct 2016 20:52:46 -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 95961 invoked by uid 89); 28 Oct 2016 20:52:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=unsuccessfully X-HELO: relay1.mentorg.com Date: Fri, 28 Oct 2016 20:52:00 -0000 From: Joseph Myers To: Florian Weimer CC: Carlos O'Donell , Subject: Re: [PATCH] Add test for linking against most static libraries In-Reply-To: Message-ID: References: <20161028125742.928D7439942E0@oldenburg.str.redhat.com> <8b17140d-bbab-95c1-7458-7214f0e474ad@redhat.com> <9c9a0748-7101-a6a0-297e-106886589d81@redhat.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: 2016-10/txt/msg00576.txt.bz2 On Fri, 28 Oct 2016, Florian Weimer wrote: > > Building glibc needs compiler headers (include and include-fixed > > directories - but while we need limits.h from include-fixed, there may be > > other headers in include-fixed that we don't want) and kernel headers. > > Are you certain about include-fixed part? It has limits.h as a wrapper round the libc limits.h. Other headers, fixed from libc or kernel or other system headers, wouldn't be wanted for building glibc - but might well be present (and must not be searched until after glibc's own headers - whereas for limits.h either order is OK). > Are there any distributions which actually use fixincludes? What would be If someone has built their own compiler for building glibc I'd expect any fixed versions of glibc or kernel headers to be there as it would take special measures to remove them after building GCC. (I tried before unsuccessfully to get the "#ifdef linux" in linux/a.out.h which results in it being fixincluded removed. . Other fixed headers may vary depending on GCC / glibc / Linux versions.) -- Joseph S. Myers joseph@codesourcery.com