From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13405 invoked by alias); 4 Mar 2005 07:30:58 -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 13303 invoked from network); 4 Mar 2005 07:30:47 -0000 Received: from unknown (HELO canyonero.dot.net.au) (202.147.68.14) by sourceware.org with SMTP; 4 Mar 2005 07:30:47 -0000 Received: from [202.147.74.107] (helo=ip-74-170.dot.net.au) by canyonero.dot.net.au with esmtp (Exim 3.35 #1 (Debian)) id 1D77Go-0005df-00 for ; Fri, 04 Mar 2005 18:30:46 +1100 Subject: Re: VCE test failed under Microsoft Visual Studio .NET 2003 From: Ross Johnson To: Pthreads-Win32 list In-Reply-To: <42267EA1.5050300@gmail.com> References: <42267EA1.5050300@gmail.com> Content-Type: text/plain; charset=UTF-8 Date: Fri, 04 Mar 2005 07:30:00 -0000 Message-Id: <1109921444.8332.20.camel@desk.home> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2005/txt/msg00017.txt.bz2 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=20 > pthread-win32 code, VC test passed, VCE test fail: > ... >=20 > cl /GX /TP /DPtW32NoCatchWarn /D__CLEANUP_CXX /O2 /Ob2 /W3 /WX /MD=20 > /nologo -I. s > emaphore4.c /Fesemaphore4.exe /link /INCREMENTAL:NO pthreadVCE1.lib=20 > ws2_32.lib > semaphore4.c > ... Running VCE test: semaphore4.exe > Assertion failed: (-value =3D=3D (MAX_COUNT - 1)), file semaphore4.c, lin= e 122 > NMAKE : fatal error U1077: =E2=80=9C.\semaphore4.exe=E2=80=9D : return co= de =E2=80=9C0x1=E2=80=9D > Stop. >=20 >=20