X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Sat, 21 Aug 2010 21:35:59 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.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@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4C6FF91A.1000402@alice.it> <20100821185842.GV11340@calimero.vinschen.de> <4C7027C8.1090408@gmail.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

