Menu

#189 Build failure on ICL 10.1, x86_64

unverified
open-invalid
nobody
2
2008-10-15
2008-10-15
No

The declarations for the Interlocked* functions in config/_windows.h are incorrect for x86-64 and IA64 systems. In WinBase.h, these functions do not have a __declspec(dllimport) on these platforms, but _windows.h has them on all platforms.

The Intel compiler does not substitute them for intrinsics as a consequence.

The result is a lot of linker errors during the build.

Discussion

  • Petr Ovtchenkov

    Petr Ovtchenkov - 2008-10-15
    • priority: 5 --> 2
    • status: open --> open-invalid
     
  • Sebastian Redl

    Sebastian Redl - 2008-10-16

    Steps to reproduce:

    1) Start the "C++ Build Environment for applications running on Intel(R) 64".
    2) cd %STLPORTDIR%\build\lib
    3) configure -c icl -x --lib-motif ICL10_x64
    4) nmake /ficl.mak clean install

    Expected Result: STLPort builds
    Actual Results: Build aborts with a lot of linker errors mentioning __imp__Interlocked* symbols.

     
  • Petr Ovtchenkov

    Petr Ovtchenkov - 2008-10-21

    DON'T FORGET TO DESCRIBE:

    _OPERATIONAL ENVIRONMENT_
    COMPILER VERSION
    _STLPORT VERSION_
    RESULT OF UNIT TESTS

    Keep in mind, that bug MUST be reproduced by other people, so give enough information (but compactly, give only essential information), please.

     
  • Sebastian Redl

    Sebastian Redl - 2008-10-21

    Oh, for heaven's sake!

    OS happens to be Vista x64, but is really irrelevant.
    STLPort version is any, up to and including trunk.

     

Log in to post a comment.