| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Date: | Fri, 10 Apr 2009 10:46:02 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: [1.7] deleting in-use directories |
| Message-ID: | <20090410084602.GM15443@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <loom DOT 20090409T154314-64 AT post DOT gmane DOT org> <20090409170228 DOT GA5231 AT calimero DOT vinschen DOT de> <49DEBFEA DOT 8030503 AT gmail DOT com> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <49DEBFEA.8030503@gmail.com> |
| User-Agent: | Mutt/1.5.19 (2009-02-20) |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Apr 10 04:41, Dave Korn wrote: > Corinna Vinschen wrote: > > On Apr 9 16:13, Eric Blake wrote: > >> The Autoconf testsuite is failing several tests on cygwin 1.7 that used to pass > >> on cygwin 1.5. I've traced it to the fact that 1.7 is trying to be smarter > >> about deleting in-use files and directories, but doesn't quite get things right. > > > > Incredible but true. It was an alignment problem with a local buffer > > in the function which moves the directory to the bin when a sharing > > violation occurs. This seems to be a new problem with gcc-4. As long > > as I built Cygwin with gcc-3, I never had this problem. > > -vvvv? What alignment does the buffer require? What did it end up getting > with gcc-4? Don't worry. It was my own little bug and gcc-4 just uncovered it. I created a temp buffer on the stack as an array of type BYTE, even though the data stored in the buffer requires a ULONG alignment. With gcc-3 this worked because the buffer was for some reason correcty aligned. gcc-4 apparently organizes the local vars differently so the buffer ended up on an unaligned address and the NT function returned status 0x8000002, STATUS_DATATYPE_MISALIGNMENT. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |