Boost C++ Libraries: Ticket #2283: building boost fails with intel compiler 10.1 on 64bit ubuntu https://svn.boost.org/trac10/ticket/2283 <p> I have got the following problem description: </p> <p> I am trying to compile boost_1_36_0 under ubuntu linux 8.04 64bit using intel compiler 10.1. </p> <p> i can compile correctly using gcc but when i choose the intel compiler (bjam intel) i get the error </p> <p> error: identifier "<span class="underline">sync_lock_test_and_set ia undefined </span></p> <blockquote> <p> inr e = <span class="underline">sync_lock_release( &amp;v_, 1 ); </span></p> </blockquote> <p> there exist some patches to correct this behaviour but they do not seem to work under ubuntu (nor under fedora)... </p> <p> a similar problem was reported on ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1938" title="#1938: Bugs: sp_counted_base_sync.hpp on ia64/intel-compiler needs ia64intrin.h (closed: fixed)">#1938</a>. However it does not solve this problem. </p> <p> The problem can be reproduced by simply adding </p> <p> using intel </p> <p> to the user-config.jam in the base boost directory and repeating the make (so to use the intel compiler) </p> <p> The compilation with gcc of the 1.36.0 works perfectly. The "old" version 1.34 can be compiled and used correctly using both intel compiler and gcc </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2283 Trac 1.4.3 anonymous Wed, 10 Sep 2008 07:57:27 GMT <link>https://svn.boost.org/trac10/ticket/2283#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2283#comment:1</guid> <description> <p> The same problem is reproduced on 32-bit Fedora 9 (gcc 4.3.0). Using the command bjam --toolset=intel link=static threading=single release stage </p> <p> produces </p> <p> ./boost/detail/spinlock_sync.hpp(44): error: identifier "<span class="underline">sync_lock_test_and_set" is undefined </span></p> <blockquote> <p> int r = <span class="underline">sync_lock_test_and_set( &amp;v_, 1 ); </span></p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> </description> <category>Ticket</category> </item> <item> <author>tim@…</author> <pubDate>Tue, 16 Sep 2008 11:00:56 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/2283 https://svn.boost.org/trac10/ticket/2283 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">0001-boost-compile-fix-for-boost-s-spinlock-for-intel-c.patch</span> </li> </ul> Ticket tim@… Tue, 16 Sep 2008 11:02:27 GMT <link>https://svn.boost.org/trac10/ticket/2283#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2283#comment:2</guid> <description> <p> the intel compiler doesn't support the <span class="underline">sync intrinsics for i386/x86_64 ... only for ia64 ... attached is a patch, that uses the fallback pthread code </span></p> </description> <category>Ticket</category> </item> <item> <author>tim@…</author> <pubDate>Tue, 16 Sep 2008 11:22:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2283#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2283#comment:3</guid> <description> <p> seems to be a duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2000" title="#2000: Bugs: boost/detail/spinlock_sync.hpp incorrectly included for Intel C++ on Linux (closed: fixed)">#2000</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Mon, 13 Oct 2008 17:26:08 GMT</pubDate> <title>owner set https://svn.boost.org/trac10/ticket/2283#comment:4 https://svn.boost.org/trac10/ticket/2283#comment:4 <ul> <li><strong>owner</strong> set to <span class="trac-author">Peter Dimov</span> </li> </ul> Ticket Peter Dimov Sat, 28 Feb 2009 17:15:29 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2283#comment:5 https://svn.boost.org/trac10/ticket/2283#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2000" title="#2000: Bugs: boost/detail/spinlock_sync.hpp incorrectly included for Intel C++ on Linux (closed: fixed)">#2000</a>. </p> Ticket