VC++ 2005 beta1 fails with pthreads benchmark tests



When the POSIX pthreads library for w32 release 2-2-0
(http://sources.redhat.com/pthreads-win32/) is compiled with VC++6
then it compiles and passes all the benchmark tests in the subdirectory "tests".
Also, VC++ 2005 beta 1 compiles the tests fine, but here the following
tests fail in execution:

# semaphore1.pass \
# condvar2.pass \
# condvar2_1.pass \
# mutex8.pass \
# mutex8n.pass \
# mutex8e.pass \
# mutex8r.pass \
# condvar3.pass \
# condvar3_1.pass \
# condvar3_2.pass \
# condvar3_3.pass \
# condvar4.pass \
# condvar5.pass \
# condvar6.pass \
# condvar7.pass \
# condvar8.pass \
# condvar9.pass \
# rwlock7.pass \
# rwlock8.pass \
# rwlock2_t.pass \
# rwlock3_t.pass \
# rwlock4_t.pass \
# rwlock5_t.pass \
# rwlock6_t.pass \
# rwlock6_t2.pass \
# spin4.pass \

Why are there such differences in execution of the generated code
between VC++6 and VC++2005 ? Is this due to bugs in the beta1,
or is this the result of general differences between the two products?
Are there any compiler/linker switches for backwards "compatibility" to VC++6?


.



Relevant Pages

  • Re: VC++ 2005 beta1 fails with pthreads benchmark tests
    ... >> then it compiles and passes all the benchmark tests in the ... >> tests fail in execution: ... >> Why are there such differences in execution of the generated code ... Setting environment for using Microsoft Visual Studio 2005 tools. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Cheap Compiler and a Book
    ... The VC2005 express beta installs two things, the .Net Framework ... > between these two), after being compiled twice, (debug and release) now ... project to support .Net and compiles to IL, ...
    (comp.lang.cpp)
  • Re: VB6+ Article in VSM by Bill McCarthy
    ... Java compiles to bytecodes. ... >> earliest form these were executed by a bytecode interpreter, ... It will be "recompiled" again at each execution and (as I ...
    (microsoft.public.vb.general.discussion)
  • Re: COBOL compiler
    ... >> Perl is compiled into opcodes before execution begins. ... All Perl is compiled. ... it compiles to: ... python and java can all be "frozen". ...
    (Debian-User)
  • Re: What does DOES> Do?
    ... cell. ... with the name following the CONST, and then compiles the action that will be ... 40 CONST FORTY ... The 40 will be compiled by the comma, and the execution of the word FORTY will @ ...
    (comp.lang.forth)

Loading