[dll] trouble building boost dll with Intel compiler on Windows
Hello, We are having trouble building boost_dll version 1.61 with Intel compiler (version 17.0) on Windows with vs2015 (and other versions of visual studio). There's a problem because the macro configuration causes alias.hpp to use gnu-like syntax to specify section names: we don't support this syntax in our Windows compiler. Instead, we support "#pragma section" just like the Microsoft compiler. Alias.hpp would use the "correct" configuration for our Windows compiler "#if BOOST_COMP_MSVC" (reference the file boost/dll/alias.hpp) However, the file boost/predef/compiler/visualc.hpp sets BOOST_COMP_MSVC to BOOST_VERSION_NUMBER_ZERO which is 0 I propose that alias.hpp could use BOOST_COMP_MSVC_BUILD instead of BOOST_COMP_MSVC. Does that seem reasonable? Thanks and regards, Melanie Blower (I work for Intel on the Intel C++ compiler)
On Tue, Nov 1, 2016 at 9:21 PM, Blower, Melanie
Hello,
We are having trouble building boost_dll version 1.61 with Intel compiler (version 17.0) on Windows with vs2015 (and other versions of visual studio).
Hi, 1.62 was released already.. not sure if it fixes this issue though. -- Olaf
2016-11-01 23:21 GMT+03:00 Blower, Melanie
Hello,
We are having trouble building boost_dll version 1.61 with Intel compiler (version 17.0) on Windows with vs2015 (and other versions of visual studio).
There's a problem because the macro configuration causes alias.hpp to use gnu-like syntax to specify section names: we don't support this syntax in our Windows compiler. Instead, we support "#pragma section" just like the Microsoft compiler.
That issue is fixed by this commit: https://github.com/boostorg/dll/commit/6cf436979c09fa6dc4348765077aba2942e77... Boost 1.62 already has the fix. But anyway, thanks for reporting! If there'll be some other issue - please do not hesitate to write. -- Best regards, Antony Polukhin
Thanks very much!
-----Original Message-----
From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Antony Polukhin
Sent: Tuesday, November 1, 2016 6:40 PM
To: boost@lists.boost.org List
Hello,
We are having trouble building boost_dll version 1.61 with Intel compiler (version 17.0) on Windows with vs2015 (and other versions of visual studio).
There's a problem because the macro configuration causes alias.hpp to use gnu-like syntax to specify section names: we don't support this syntax in our Windows compiler. Instead, we support "#pragma section" just like the Microsoft compiler.
That issue is fixed by this commit: https://github.com/boostorg/dll/commit/6cf436979c09fa6dc4348765077aba2942e77... Boost 1.62 already has the fix. But anyway, thanks for reporting! If there'll be some other issue - please do not hesitate to write. -- Best regards, Antony Polukhin _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
On 11/1/2016 4:21 PM, Blower, Melanie wrote:
Hello,
We are having trouble building boost_dll version 1.61 with Intel compiler (version 17.0) on Windows with vs2015 (and other versions of visual studio).
There's a problem because the macro configuration causes alias.hpp to use gnu-like syntax to specify section names: we don't support this syntax in our Windows compiler. Instead, we support "#pragma section" just like the Microsoft compiler.
Alias.hpp would use the "correct" configuration for our Windows compiler "#if BOOST_COMP_MSVC" (reference the file boost/dll/alias.hpp)
However, the file boost/predef/compiler/visualc.hpp sets BOOST_COMP_MSVC to BOOST_VERSION_NUMBER_ZERO which is 0
I propose that alias.hpp could use BOOST_COMP_MSVC_BUILD instead of BOOST_COMP_MSVC. Does that seem reasonable?
Thanks and regards, Melanie Blower (I work for Intel on the Intel C++ compiler)
If Boost developers could get a free version of Intel C++ on Windows, purely for the non-commercial task of testing Boost with it, it would be easier for them to fix things in libraries in order to get it to work. Although Intel C++ on Linux graciously offers a free version for Boost developers, none is offered for Intel C++ on Windows.
On 2/11/2016 11:50, Edward Diener wrote:
If Boost developers could get a free version of Intel C++ on Windows, purely for the non-commercial task of testing Boost with it, it would be easier for them to fix things in libraries in order to get it to work. Although Intel C++ on Linux graciously offers a free version for Boost developers, none is offered for Intel C++ on Windows.
Perhaps Intel could host a Boost test runner for it? While that'd have a longer cycle time for fixes, it should alleviate any licensing concerns they might have.
On 11/1/2016 6:55 PM, Gavin Lambert wrote:
On 2/11/2016 11:50, Edward Diener wrote:
If Boost developers could get a free version of Intel C++ on Windows, purely for the non-commercial task of testing Boost with it, it would be easier for them to fix things in libraries in order to get it to work. Although Intel C++ on Linux graciously offers a free version for Boost developers, none is offered for Intel C++ on Windows.
Perhaps Intel could host a Boost test runner for it? While that'd have a longer cycle time for fixes, it should alleviate any licensing concerns they might have.
That would not help much if a developer needs to find out why something is not working when compiled with Intel C++ on Windows. Of course it helps for testing.
Yes that's a good idea. I was trying to get boost Windows regression testing going awhile ago using Cygwin but I ran into some obstacles, then ran out of time. I hope to get back to that task at some point. Meanwhile would anyone be available to do the testing, Intel could supply a licensed compiler. I haven't yet found a way to supply compute resources to go with the license. Best regards, Melanie Blower -----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Edward Diener Sent: Tuesday, November 1, 2016 10:00 PM To: boost@lists.boost.org Subject: Re: [boost] [dll] trouble building boost dll with Intel compiler on Windows On 11/1/2016 6:55 PM, Gavin Lambert wrote:
On 2/11/2016 11:50, Edward Diener wrote:
If Boost developers could get a free version of Intel C++ on Windows, purely for the non-commercial task of testing Boost with it, it would be easier for them to fix things in libraries in order to get it to work. Although Intel C++ on Linux graciously offers a free version for Boost developers, none is offered for Intel C++ on Windows.
Perhaps Intel could host a Boost test runner for it? While that'd have a longer cycle time for fixes, it should alleviate any licensing concerns they might have.
That would not help much if a developer needs to find out why something is not working when compiled with Intel C++ on Windows. Of course it helps for testing. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
On 11/2/2016 9:22 AM, Blower, Melanie wrote:
Yes that's a good idea. I was trying to get boost Windows regression testing going awhile ago using Cygwin but I ran into some obstacles, then ran out of time. I hope to get back to that task at some point. Meanwhile would anyone be available to do the testing, Intel could supply a licensed compiler.
Needless to say if Intel supplied a licensed compiler on Windows for developers who would be willing to test it with their Boost library(s) that would help solve problems which you are reporting. Whereas reporting problems with Intel C++ 17.0 on Windows, when it would ne too costly for Boost library developers to buy a license just to test the compiler, is not likely to lead to a solution without the developer being able to use the actual product.
I haven't yet found a way to supply compute resources to go with the license.
Best regards, Melanie Blower
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Edward Diener Sent: Tuesday, November 1, 2016 10:00 PM To: boost@lists.boost.org Subject: Re: [boost] [dll] trouble building boost dll with Intel compiler on Windows
On 11/1/2016 6:55 PM, Gavin Lambert wrote:
On 2/11/2016 11:50, Edward Diener wrote:
If Boost developers could get a free version of Intel C++ on Windows, purely for the non-commercial task of testing Boost with it, it would be easier for them to fix things in libraries in order to get it to work. Although Intel C++ on Linux graciously offers a free version for Boost developers, none is offered for Intel C++ on Windows.
Perhaps Intel could host a Boost test runner for it? While that'd have a longer cycle time for fixes, it should alleviate any licensing concerns they might have.
That would not help much if a developer needs to find out why something is not working when compiled with Intel C++ on Windows. Of course it helps for testing.
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Edward Diener Sent: Sunday, November 6, 2016 4:57 PM To: boost@lists.boost.org Subject: Re: [boost] [dll] trouble building boost dll with Intel compiler on Windows
Needless to say if Intel supplied a licensed compiler on Windows for developers who would be willing to test it with their Boost library(s) that would help solve problems which you are reporting. Whereas reporting problems with Intel C++ 17.0 on Windows, when it would ne too costly for Boost library developers to buy a license just to test the compiler, is not likely to lead to a solution without the developer being able to use the actual product.
Good point, I see that a Linux license is available here: https://software.intel.com/en-us/qualify-for-free-software/opensourcecontrib... but there is no Windows license for open source work. I will follow up internally.
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Edward Diener Sent: Sunday, November 6, 2016 4:57 PM
Needless to say if Intel supplied a licensed compiler on Windows for developers who would be willing to test it with their Boost library(s) that would help solve problems which you are reporting. Whereas reporting problems with Intel C++ 17.0 on Windows, when it would ne too costly for Boost library developers to buy a license just to test the compiler, is not likely to lead to a solution without the developer being able to use the actual product.
If folks are interested in testing their Boost library with the Intel compiler, please send me an email directly and I can assist in arranging for a noncommercial license. Melanie dot blower at intel dot com.
On 11/9/2016 2:19 PM, Blower, Melanie wrote:
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Edward Diener Sent: Sunday, November 6, 2016 4:57 PM
Needless to say if Intel supplied a licensed compiler on Windows for developers who would be willing to test it with their Boost library(s) that would help solve problems which you are reporting. Whereas reporting problems with Intel C++ 17.0 on Windows, when it would ne too costly for Boost library developers to buy a license just to test the compiler, is not likely to lead to a solution without the developer being able to use the actual product.
If folks are interested in testing their Boost library with the Intel compiler, please send me an email directly and I can assist in arranging for a noncommercial license. Melanie dot blower at intel dot com.
Appreciated !
participants (5)
-
Antony Polukhin
-
Blower, Melanie
-
Edward Diener
-
Gavin Lambert
-
Olaf van der Spek