Opened 11 years ago

Closed 9 years ago

#6646 closed Bugs (fixed)

Compiling boost 1.49 fails with Intel Compiler V12.1 due to changed paths for iclvars.bat

Reported by: anonymous Owned by: Peter Dimov
Milestone: To Be Determined Component: smart_ptr
Version: Boost 1.49.0 Severity: Problem
Keywords: build boost intel compiler Cc:

Description

I'm trying to build boost 1.49 with current Intel compiler 12.1. Unfortunately there are still errors and warnings which prevents me using it in an automated build system.

compile-c-c++ bin.v2\libs\regex\build\intel-win\debug\link-static\threading-multi\posix_api.obj '"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\bin\ia32iclvars.bat"' is not recognized as an internal or external command, operable program or batch file. icl: command line remark #10010: option '/Op' is deprecated and will be removed in a future release. See '/help deprecated' posix_api.cpp .\boost/exception/exception.hpp(258): remark #367: duplicate friend declaration

friend struct exception_detail::get_info<throw_function>;

.\boost/exception/exception.hpp(259): remark #367: duplicate friend declaration

friend struct exception_detail::get_info<throw_file>;

.\boost/exception/exception.hpp(260): remark #367: duplicate friend declaration

friend struct exception_detail::get_info<throw_line>;

.\boost/detail/interlocked.hpp(79): warning #1879: unimplemented pragma ignored

# pragma intrinsic( _InterlockedIncrement )

.\boost/detail/interlocked.hpp(80): warning #1879: unimplemented pragma ignored

# pragma intrinsic( _InterlockedDecrement )

.\boost/detail/interlocked.hpp(81): warning #1879: unimplemented pragma ignored

# pragma intrinsic( _InterlockedCompareExchange )

.\boost/detail/interlocked.hpp(82): warning #1879: unimplemented pragma ignored

# pragma intrinsic( _InterlockedExchange )

.\boost/detail/interlocked.hpp(83): warning #1879: unimplemented pragma ignored

# pragma intrinsic( _InterlockedExchangeAdd )

.\boost/smart_ptr/detail/yield_k.hpp(33): warning #1879: unimplemented pragma ignored

#pragma intrinsic( _mm_pause )

Change History (12)

comment:1 by Vladimir Prus, 11 years ago

Resolution: invalid
Status: newclosed

This is not a build system problem, but rather problem with source code of individual libraries. I am afraid that the procedure is to open individual issues against those libraries. Sorry for the extra work this will cause, but Boost does not effectively have 'global maintainers' that are responsible for triaging/splitting issues that spawn more than one component.

comment:2 by anonymous, 11 years ago

I'm sorry that I was not specific enough... should have known that from my own work. So here's one separated problem that's in build system:

compile-c-c++ bin.v2\libs\regex\build\intel-win\debug\link-static\threading-multi\posix_api.obj '"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\bin\ia32iclvars.bat"' is not recognized as an internal or external command, operable program or batch file.

comment:3 by anonymous, 11 years ago

Resolution: invalid
Status: closedreopened
Summary: Compiling boost 1.49 fails with Intel Compiler V12.1Compiling boost 1.49 fails with Intel Compiler V12.1 due to changed paths for iclvars.bat

comment:4 by anonymous, 9 years ago

This doesn't appear to be fixed for Boost 1.53.0 with Intel Compiler 13 either...

comment:5 by viboes, 9 years ago

Component: buildsmart_ptr
Owner: changed from Vladimir Prus to Peter Dimov
Status: reopenednew

comment:6 by viboes, 9 years ago

Doesn't [85866] fix part of this issue?

comment:7 by anonymous, 9 years ago

Warnings are still present with Boost 1.54 and Intel C++ Compiler XE 12.1/13.1 for Windows (#7318).

comment:8 by Peter Dimov, 9 years ago

The _Interlocked warnings should be fixed by [85994].

comment:9 by Peter Dimov, 9 years ago

(In [85995]) Remove #pragma intrinsic( _mm_pause ); not needed, not supported on Intel. Refs #6646, #7318.

comment:10 by Peter Dimov, 9 years ago

Has the ia32iclvars.bat part of this ticket been fixed?

comment:11 by Peter Dimov, 9 years ago

(In [86416]) Merged revision(s) 85994 from trunk: Add BOOST_USE_INTRIN_H support; remove #pragma intrinsic, not needed and not supported on Intel. Refs #6646. Refs #7318. Refs #9174.

comment:12 by Peter Dimov, 9 years ago

Resolution: fixed
Status: newclosed

(In [86417]) Merged revision(s) 85995 from trunk: Remove #pragma intrinsic( _mm_pause ); not needed, not supported on Intel. Closes #6646, #7318.

Note: See TracTickets for help on using tickets.