X-Recipient: archive-cygwin@delorie.com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49DA8C77.3030005@gmail.com> Date: Tue, 07 Apr 2009 00:12:55 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: All clear [was Re: [1.7]: For the love of god, don't update!] References: <49D97797.9080902@gmail.com> <49DA0FE6.6020603@gmail.com> <20090406141856.GA19965@ednor.casa.cgf.cx> <49DA244E.3080401@gmail.com> <20090406162943.GA8149@calimero.vinschen.de> <20090406173354.GA20463@ednor.casa.cgf.cx> <20090406180833.GR852@calimero.vinschen.de> <20090406212230.GB15228@ednor.casa.cgf.cx> In-Reply-To: <20090406212230.GB15228@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Christopher Faylor wrote: > On Mon, Apr 06, 2009 at 08:08:33PM +0200, Corinna Vinschen wrote: >> On Apr 6 13:33, Christopher Faylor wrote: >>> On Mon, Apr 06, 2009 at 06:29:43PM +0200, Corinna Vinschen wrote: >>>> Wouldn't it help if libc.a, libm.a etc. wouldn't export any symbols at >>>> all? I mean, eventually there's libcygwin.a linked in which satisfies >>>> all of the requested symbols. What would break if the secondary libs >>>> pointing to cygwin1.dll would be stubs? >>> We rehashed all of this years ago. IIRC, some configuration scripts >>> actually look for symbols explicitly in the libraries. >> Hmm, too bad. So it was a naive thought. > > I think I had the same thought while resisting the whole concept of > speclib. > > Maybe I should have resisted harder. I think there's a strong argument that those configuation scripts are doing a very wrong thing in that they're trying to second-guess internal implementation details of the operating environment. If you remember, was there a good reason why they couldn't answer the same questions solely using link tests? Grepping through library symbols seems quite fragile when so many standard C library functions are permitted to be implemented as macros. cheers, DaveK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/