From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26233 invoked by alias); 5 Sep 2002 22:17:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 26177 invoked from network); 5 Sep 2002 22:17:38 -0000 Received: from unknown (HELO cmailg1.svr.pol.co.uk) (195.92.195.171) by sources.redhat.com with SMTP; 5 Sep 2002 22:17:38 -0000 Received: from [195.92.67.23] (helo=mail18.svr.pol.co.uk) by cmailg1.svr.pol.co.uk with esmtp (Exim 3.35 #1) id 17n4wT-0000Mb-00 for cygwin@cygwin.com; Thu, 05 Sep 2002 23:17:37 +0100 Received: from modem-43.nebraska.dialup.pol.co.uk ([62.137.78.43] helo=pomello.bowsher.foo) by mail18.svr.pol.co.uk with esmtp (Exim 3.35 #1) id 17n4wR-0005IJ-00 for cygwin@cygwin.com; Thu, 05 Sep 2002 23:17:36 +0100 Received: from [127.0.0.1] (helo=pomello) by pomello.bowsher.foo with smtp (Exim 4.05) id H1ZKOE-0002LS-00; Thu, 05 Sep 2002 23:19:26 +0100 Message-ID: <00c301c2552a$4b0c4d40$0100a8c0@wdg.uk.ibm.com> From: "Max Bowsher" To: "Harig, Mark A." , References: Subject: Re: Calling all sed wizards! Need a little help with possible fix: Subtle permissions bug in interaction between Makefiles & libtool (Cygwin-specific) Date: Thu, 05 Sep 2002 17:01:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2002-09/txt/msg00227.txt.bz2 Harig, Mark A. wrote: >> >> Max Bowsher wrote: >>> I've located an awkward bug in the interaction between common-sense >>> Makefile rules and Cygwin libtool. >>> >>> The package I was building at the time was libiconv, but the issue >>> is common to any autoconf-libtool build system. >>> >>> The libiconv.la file is installed as data (i.e. 644) - which is >>> correct. However the Cygwin specific postinstall_cmds in libtool use >>> the same install command to install the DLL. This results in the DLL >>> being installed without execute permission (on ntsec systems), and >>> causes "The application failed to initialize properly (0xc0000022)." >>> errors from dependent exes. >>> > > Is there a reason not to create a patch that would fix the > problem in the source of the postinstall_cmds? The source of the postinstall_cmds is a human. Patching them can be difficult :-). Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/