From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18636 invoked by alias); 8 Mar 2005 12:08:56 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 18316 invoked from network); 8 Mar 2005 12:08:45 -0000 Received: from unknown (HELO wproxy.gmail.com) (64.233.184.193) by sourceware.org with SMTP; 8 Mar 2005 12:08:45 -0000 Received: by wproxy.gmail.com with SMTP id 69so1425393wri for ; Tue, 08 Mar 2005 04:08:45 -0800 (PST) Received: by 10.54.34.31 with SMTP id h31mr114927wrh; Tue, 08 Mar 2005 04:08:44 -0800 (PST) Received: by 10.54.48.13 with HTTP; Tue, 8 Mar 2005 04:08:44 -0800 (PST) Message-ID: <4b3406f0503080408532dcfc1@mail.gmail.com> Date: Tue, 08 Mar 2005 12:08:00 -0000 From: Dongsheng Song Reply-To: Dongsheng Song To: pthreads-win32@sources.redhat.com Subject: Re: VCE test failed under Microsoft Visual Studio .NET 2003 In-Reply-To: <4b3406f050304202047657da3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <42267EA1.5050300@gmail.com> <1109921444.8332.20.camel@desk.home> <4b3406f050304202047657da3@mail.gmail.com> X-SW-Source: 2005/txt/msg00035.txt.bz2 Visual C++ 2005 Express Edition Beta2 passed VC & VCE test(cvs 2005-03-08). U:\xchg>cl Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50110.28 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ] On Sat, 5 Mar 2005 12:20:31 +0800, Dongsheng Song wrote: > Yes, the Intel C++ 8.1 version passed VC & VCE test. > > > On Fri, 04 Mar 2005 18:30:44 +1100, Ross Johnson > wrote: > > Hi, > > > > Thanks for the test suite patches re Intel C++ 8.1. > > > > VCE test failure is a known problem for VC6.0 and VC7.0. I will add > > VS .NET 2003 to the list. See the BUGS file for more on this, but note > > that the workaround described there doesn't work with recent snapshots, > > although please try it if you have the time - it may provide clues. > > > > As far as anyone can tell, this isn't a problem in the library, but is > > assumed to be a problem in the VC++ compiler series related to exception > > frame unwinding, and possibly also related to optimisation levels. Try > > tracing the exception and it simply seems to disappear. > > > > The GCE version tests pass, which supports the view that it's not a bug > > in the library. Did the Intel C++ 8.1 version pass? > > > > It is generally recommended, for POSIX portability, that people use the > > VC version rather than VCE version of the pthread dll - even for C++ > > applications. See the README file and FAQ file for discussion on this. > > > > Regards. > > Ross > > > > On Thu, 2005-03-03 at 11:04 +0800, Dongsheng Song wrote: > > > I using Microsoft Visual Studio .NET 2003 compile the latest > > > pthread-win32 code, VC test passed, VCE test fail: > > > ... > > > > > > cl /GX /TP /DPtW32NoCatchWarn /D__CLEANUP_CXX /O2 /Ob2 /W3 /WX /MD > > > /nologo -I. s > > > emaphore4.c /Fesemaphore4.exe /link /INCREMENTAL:NO pthreadVCE1.lib > > > ws2_32.lib > > > semaphore4.c > > > ... Running VCE test: semaphore4.exe > > > Assertion failed: (-value == (MAX_COUNT - 1)), file semaphore4.c, line 122 > > > NMAKE : fatal error U1077: ".\semaphore4.exe" : return code "0x1" > > > Stop. > > > > > > > > > > >