X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sat, 21 Aug 2010 21:35:59 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: kernel32.dll breakage (was Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1) Message-ID: <20100821193559.GB703@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4C6FF91A DOT 1000402 AT alice DOT it> <20100821185842 DOT GV11340 AT calimero DOT vinschen DOT de> <4C7027C8 DOT 1090408 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4C7027C8.1090408@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Aug 21 15:23, Chris Sutcliffe wrote: > On 21/08/2010 2:58 PM, Corinna Vinschen wrote: > >Not anymore. I could reproduce the problem on XP, but not on W7. This > >reminded me of a checkin to w32api from yesterday. The kernel32.def > >file, which is used to create the kernel32.a inport library for > >linking against kernel32.dll has been regenerated on a Windows 7 system. > > > >The problem is that CreateProcessAsUserW was never available in > >kernel32.dll, but in advapi32.dll(*). However, with the new kernel32.def, > >CreateProcessAsUserW is now exported by kernel32.a as well. > > > >Apparently kernel32.dll *does* export CreateProcessAsUserW now under > >Windows 7. However, *officially*, the CreateProcessAsUserW symbol is > >still provided by advapi32.dll. > > > >Chris [Sutcliffe], can we please revert this change for now? It breaks > >building Win32 apps, if the link order prefers kernel32.a over advapi32.a. > > Done. Thanks. Are you sure that only CreateProcessAsUserW is affected? > >In theory, shouldn't the gendef script drop symbols from kernel32.def > >which are defined in advapi32.dll? That would fix the problem, afaics. > > That would be ideal, but I'm not sure what the capabilities of > gendef are in this respect. I'm curious, where is that gendef script? For some reason it isn't part of the w32api sources in CVS. Wouldn't it make sense to check it in as well? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader 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