Opened 9 years ago

Closed 9 years ago

#9387 closed Bugs (invalid)

Compilation error with VC8 and SSE3 capable CPU

Reported by: thomas.braun@… Owned by: Andrey Semashev
Milestone: To Be Determined Component: log
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

Trying to compile boost 1.55 under VC8 with b2 --toolset=msvc-8.0 --build-type=complete stage and the following automatic determined config

    - 32-bit                   : yes (cached)
    - arm                      : no  (cached)
    - mips1                    : no  (cached)
    - power                    : no  (cached)
    - sparc                    : no  (cached)
    - x86                      : yes (cached)
    - has_icu builds           : no  (cached)
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
    - zlib                     : no  (cached)
    - iconv (libc)             : no  (cached)
    - iconv (separate)         : no  (cached)
    - icu                      : no  (cached)
    - icu (lib64)              : no  (cached)
    - message-compiler         : yes (cached)
    - compiler-supports-ssse3  : yes (cached)
    - compiler-supports-avx2   : no  (cached)
    - gcc visibility           : no  (cached)
    - long double support      : yes (cached)

results in compilation errors like

compile-c-c++ bin.v2\libs\log\build\msvc-8.0\debug\link-static\log-api-winnt\runtime-link-static\threading-multi\dump_s
se3.obj
dump_ssse3.cpp
libs\log\src\dump_ssse3.cpp(20) : fatal error C1083: Cannot open include file: 'tmmintrin.h': No such file or directory

The header tmmintrin.h does not exist in C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include.

Change History (3)

comment:1 by Andrey Semashev, 9 years ago

I can't reproduce it in my setup (i.e. SSSE3 is correctly disabled for MSVC-8.0). My guess is that somehow your config file got the positive result for SSSE3 check for this compiler, that's why it says:

    - compiler-supports-ssse3  : yes (cached)

You can try deleting the bin.v2 folder and rebuilding. That way the config checks will be performed again. If that doesn't help, please attach project-cache.jam and config.log from bin.v2 and also the complete build log.

comment:2 by thomas.braun@…, 9 years ago

Okay I removed bin.v2 and recompiled without problems.

Looking at the documentation again I realized that I should call bootstrap.bat for each compiler I'm building boost for. I must have used some later MSVC version accidentally for bootstrapping.

The bug is therefore no bug but user error on my side.

comment:3 by Andrey Semashev, 9 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.