delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=pHioJlIIz9VsUcY7N2oHxj9O3ojIETj62C1OQDJLCeEE3ukY8gJ2s | |
uQRhOmwVFW8nLD274gZpApMEsagYj2JeEUO33ELssSw36q2wjT6WvDbx0Uo/6tVp | |
zRH8P115pS6BedjjINWMTrPJVYHny9Bim4m/YPAjl/6VMm7NHmw+hQ= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=+P3nZfj05H3XCBTVq082FXIwgDs=; b=HMwUgTmwE7iZ11gKV7VSU/+S8xYJ | |
45e40zV17fZJPYW/D+PgEic1g7eAwJJx/XcA3X9QeihLd5QsiaWqk4THBD6AzFQd | |
WtjXVe8pt7p5BzylqCJHiNExtCj72OqdhSdEuILvHk7q3nazMWZAmE9xqStzcfV9 | |
G3nb5mabwFfPRrE= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Spam-SWARE-Status: | No, score=0.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.1 |
Date: | Tue, 30 Jul 2013 10:24:36 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cyglsa-config not working properly in cygwin 1.7.22 |
Message-ID: | <20130730082436.GJ4166@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <2B53C7C1-54F1-4477-91B4-F23CD4A55F0F AT basissw DOT com> <20130729165818 DOT GE4166 AT calimero DOT vinschen DOT de> <6A02E3C2-3208-4526-A066-C76AF86AA372 AT basissw DOT com> <20130729190814 DOT GF4166 AT calimero DOT vinschen DOT de> <20130729192658 DOT GH4166 AT calimero DOT vinschen DOT de> <91AB00E9-37A9-471B-85B9-E2C5AFE79E27 AT basissw DOT com> <20130729202238 DOT GA23199 AT calimero DOT vinschen DOT de> <F9D23BCB-CC15-4B5A-8D52-5E393BE5EC81 AT basissw DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <F9D23BCB-CC15-4B5A-8D52-5E393BE5EC81@basissw.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
On Jul 29 15:45, J. P. Abelanet wrote: > > On Jul 29, 2013, at 3:22 PM, Corinna Vinschen wrote: > > > On Jul 29 14:53, J. P. Abelanet wrote: > >> > >> On Jul 29, 2013, at 2:26 PM, Corinna Vinschen wrote: > >> > >>>> > >>>> I think I found the problem. The older compiler didn't reorder > >>>> functions for optimization purposes, but the new one does. The entry > >>>> point for the cyglsa DLL was not explicitely mentioned, but it was based > >>>> on the fact that it is the first function in the source code. > >>>> > >>>> However, the new compiler reorders function by default with -O2 > >>>> optimization. So the entry point was not at the start of the executable > >>>> anymore and the LSA failed to load the cyglsa DLL. I changed the > >>>> Makefile to specify the entry point of the DLL explicitely to make sure > >>>> the right function is called at load time. > >>>> > >>>> This seems to work again in my testing on 32 and 64 bit, but more > >>>> testing never hurts. So I'd like to ask you to check the today's > >>>> developer snapshot from http://cygwin.com/snapshots/ and copy the cyglsa > >>>> DLL from the snapshot into /bin/cyglsa. Given that the DLL there isn't > >>>> loaded, you should be able to overwrite it, like this: > >>>> > >>>> On a 32 bit OS: > >>>> > >>>> cp /bin/cyglsa.dll /bin/cyglsa/ > >>>> > >>>> On a 64 bit OS: > >>>> > >>>> cp /bin/cyglsa64.dll /bin/cyglsa/ > >>>> > >>>> Kep in mind that the x86 snapshots contains both DLLs, while the x86_64 > >>>> snapshot only contains the 64 bit DLL. > >>>> > >>>>> Thanks for a great product overall - > >>>> > >>>> Thanks to you for the report! The today's 32 and 64 bit snapshots > >>>> should be uploaded in an hour at the latest. > >>> > >>> Snapshots are up. > >>> > >> Thanks again for responding so quickly. My quick test did not work, but perhaps I misunderstood. > >> I did the following: > >> - Set "passwd -R" to blank value > >> - Download, but not install, http://cygwin.com/snapshots/x86/cygwin-inst-20130729.tar.bz2 > >> - Extract /bin/cyglsa*.dll from the snapshot, overwriting the existing files > >> - cp /bin/cyglsa.dll /bin/cyglsa/, since this is a 32-bit OS > >> - Do not reboot, or run cyglsa-config, or anything else > > > > You *must* reboot. LSA only picks up the authentication package DLLs > > at boot time. Sorry for missing that in my instruction. > That fixed it!!! Thanks again for the quick response. > > I'll upgrade to 1.7.23 when it becomes available. Thanks for testing and your feedback. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |