[Test] Can't build Boost Test 1.65.0 with Visual Studio 2013
I've just tried building Boost Test 1.65.0 with Visual Studio 2013 (ie msvc-12) and it doesn't seem to work, showing a compiler internal error. Can anyone advise what I might be doing wrong. Or whether a newer (or older) release fixes this issue. I've also tried 1.64.0 with an identical looking failure. Details below. Regards, Richard. I run :
b2 --with-test (as in the docs, though I'm not specifying address-model, link, --prefix or install. Having tried address-model and link as documented they appear to show the same fault).
And then, after some messages, including "- test : building" (and nothing else listed as building), I get some messages starting: ...patience... ...found 1239 targets... ...updating 28 targets... compile-c-c++ bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj chrono.cpp C:\Users\kerryr01\Downloads\Boost\boost_1_65_0\boost/type_traits/common_type.hpp(43) : fatal error C1001: An internal error has occurred in the compiler. (compiler file 'msc1.cpp', line 1325) To work around this problem, try simplifying or changing the program near the locations listed above. Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Internal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe. You will be prompted to send an error report to Microsoft later. call "C:\Users\kerryr01\AppData\Local\Temp\b2_msvc_12.0_vcvarsall_x86.cmd" >nul cl /Zm800 -nologo @"bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj.rsp" ...failed compile-c-c++ bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj... This is followed by a number of similar blocks of messages relating to: chrono.obj, thread_clock.obj, process_cpu_clocks.obj, cpu_timer.obj, auto_timers_construction.obj, execution_monitor.obj and others. [Blue line] Richard Kerry BNCS Engineer, SI SOL Telco & Media Vertical Practice T: +44 (0)20 3618 2669 M: +44 (0)7812 325518 4 Triton Square, Regent’s Place, London NW1 3HG richard.kerry@atos.netmailto:richard.kerry@atos.net [Atos logo] This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. Atos, Atos Consulting, Worldline and Canopy The Open Cloud Company are trading names used by the Atos group. The following trading entities are registered in England and Wales: Atos IT Services UK Limited (registered number 01245534), Atos Consulting Limited (registered number 04312380), Atos Worldline UK Limited (registered number 08514184) and Canopy The Open Cloud Company Limited (registration number 08011902). The registered office for each is at 4 Triton Square, Regent’s Place, London, NW1 3HG.The VAT No. for each is: GB232327983. This e-mail and the documents attached are confidential and intended solely for the addressee, and may contain confidential or privileged information. If you receive this e-mail in error, you are not authorised to copy, disclose, use or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended or lost, they are not secure. Atos therefore can accept no liability for any errors or their content. Although Atos endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Atos by email.
On 06/09/2017 15:58, Kerry, Richard via Boost-users wrote:
I've just tried building Boost Test 1.65.0 with Visual Studio 2013 (ie msvc-12) and it doesn't seem to work, showing a compiler internal error. Can anyone advise what I might be doing wrong.
Yup, please update your compiler to the latest patch level for VC12 and it should be fine - the latest patch is update 5 BTW, and from memory at least update 3 is required to handle common_type.hpp. HTH, John.
Or whether a newer (or older) release fixes this issue. I've also tried 1.64.0 with an identical looking failure. Details below.
Regards, Richard.
I run :
b2 --with-test (as in the docs, though I'm not specifying address-model, link, --prefix or install. Having tried address-model and link as documented they appear to show the same fault).
And then, after some messages, including "- test : building" (and nothing else listed as building), I get some messages starting:
...patience... ...found 1239 targets... ...updating 28 targets... compile-c-c++ bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj chrono.cpp C:\Users\kerryr01\Downloads\Boost\boost_1_65_0\boost/type_traits/common_type.hpp(43) : fatal error C1001: An internal error has occurred in the compiler. (compiler file 'msc1.cpp', line 1325) To work around this problem, try simplifying or changing the program near the locations listed above. Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Internal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe. You will be prompted to send an error report to Microsoft later.
call "C:\Users\kerryr01\AppData\Local\Temp\b2_msvc_12.0_vcvarsall_x86.cmd" >nul cl /Zm800 -nologo @"bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj.rsp"
...failed compile-c-c++ bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj...
This is followed by a number of similar blocks of messages relating to: chrono.obj, thread_clock.obj, process_cpu_clocks.obj, cpu_timer.obj, auto_timers_construction.obj, execution_monitor.obj and others.
Blue line
*Richard Kerry*
BNCS Engineer, SI SOL Telco & Media Vertical Practice
T: +44 (0)20 3618 2669
M: +44 (0)7812 325518
4 Triton Square, Regent’s Place, London NW1 3HG
richard.kerry@atos.net mailto:richard.kerry@atos.net
Atos logo
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Atos, Atos Consulting, Worldline and Canopy The Open Cloud Company are trading names used by the Atos group. The following trading entities are registered in England and Wales: Atos IT Services UK Limited (registered number 01245534), Atos Consulting Limited (registered number 04312380), Atos Worldline UK Limited (registered number 08514184) and Canopy The Open Cloud Company Limited (registration number 08011902). The registered office for each is at 4 Triton Square, Regent’s Place, London, NW1 3HG.The VAT No. for each is: GB232327983.
This e-mail and the documents attached are confidential and intended solely for the addressee, and may contain confidential or privileged information. If you receive this e-mail in error, you are not authorised to copy, disclose, use or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended or lost, they are not secure. Atos therefore can accept no liability for any errors or their content. Although Atos endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Atos by email.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
OK. I've updated visual Studio to Update 5, which is the latest (I'm sure the update took longer than the initial install....). Boost.Test now builds, for both 1.64.0 and 1.65.0. Thank you, Regards, Richard. Richard Kerry BNCS Engineer, SI SOL Telco & Media Vertical Practice T: +44 (0)20 3618 2669 M: +44 (0)7812 325518 4 Triton Square, Regent’s Place, London NW1 3HG richard.kerry@atos.net This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. ________________________________________ From: Boost-users [boost-users-bounces@lists.boost.org] on behalf of John Maddock via Boost-users [boost-users@lists.boost.org] Sent: 06 September 2017 16:58 To: boost-users@lists.boost.org Cc: John Maddock Subject: Re: [Boost-users] [Test] Can't build Boost Test 1.65.0 with Visual Studio 2013 On 06/09/2017 15:58, Kerry, Richard via Boost-users wrote:
I've just tried building Boost Test 1.65.0 with Visual Studio 2013 (ie msvc-12) and it doesn't seem to work, showing a compiler internal error. Can anyone advise what I might be doing wrong.
Yup, please update your compiler to the latest patch level for VC12 and it should be fine - the latest patch is update 5 BTW, and from memory at least update 3 is required to handle common_type.hpp. HTH, John.
Or whether a newer (or older) release fixes this issue. I've also tried 1.64.0 with an identical looking failure. Details below.
Regards, Richard.
I run :
b2 --with-test (as in the docs, though I'm not specifying address-model, link, --prefix or install. Having tried address-model and link as documented they appear to show the same fault).
And then, after some messages, including "- test : building" (and nothing else listed as building), I get some messages starting:
...patience... ...found 1239 targets... ...updating 28 targets... compile-c-c++ bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj chrono.cpp C:\Users\kerryr01\Downloads\Boost\boost_1_65_0\boost/type_traits/common_type.hpp(43) : fatal error C1001: An internal error has occurred in the compiler. (compiler file 'msc1.cpp', line 1325) To work around this problem, try simplifying or changing the program near the locations listed above. Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Internal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe. You will be prompted to send an error report to Microsoft later.
call "C:\Users\kerryr01\AppData\Local\Temp\b2_msvc_12.0_vcvarsall_x86.cmd" >nul cl /Zm800 -nologo @"bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj.rsp"
...failed compile-c-c++ bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj...
This is followed by a number of similar blocks of messages relating to: chrono.obj, thread_clock.obj, process_cpu_clocks.obj, cpu_timer.obj, auto_timers_construction.obj, execution_monitor.obj and others.
Blue line
*Richard Kerry*
BNCS Engineer, SI SOL Telco & Media Vertical Practice
T: +44 (0)20 3618 2669
M: +44 (0)7812 325518
4 Triton Square, Regent’s Place, London NW1 3HG
richard.kerry@atos.net mailto:richard.kerry@atos.net
Atos logo
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Atos, Atos Consulting, Worldline and Canopy The Open Cloud Company are trading names used by the Atos group. The following trading entities are registered in England and Wales: Atos IT Services UK Limited (registered number 01245534), Atos Consulting Limited (registered number 04312380), Atos Worldline UK Limited (registered number 08514184) and Canopy The Open Cloud Company Limited (registration number 08011902). The registered office for each is at 4 Triton Square, Regent’s Place, London, NW1 3HG.The VAT No. for each is: GB232327983.
This e-mail and the documents attached are confidential and intended solely for the addressee, and may contain confidential or privileged information. If you receive this e-mail in error, you are not authorised to copy, disclose, use or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended or lost, they are not secure. Atos therefore can accept no liability for any errors or their content. Although Atos endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Atos by email.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users Atos, Atos Consulting, Worldline and Canopy The Open Cloud Company are trading names used by the Atos group. The following trading entities are registered in England and Wales: Atos IT Services UK Limited (registered number 01245534), Atos Consulting Limited (registered number 04312380), Atos Worldline UK Limited (registered number 08514184) and Canopy The Open Cloud Company Limited (registration number 08011902). The registered office for each is at 4 Triton Square, Regent’s Place, London, NW1 3HG.The VAT No. for each is: GB232327983. This e-mail and the documents attached are confidential and intended solely for the addressee, and may contain confidential or privileged information. If you receive this e-mail in error, you are not authorised to copy, disclose, use or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended or lost, they are not secure. Atos therefore can accept no liability for any errors or their content. Although Atos endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Atos by email.
participants (2)
-
John Maddock
-
Kerry, Richard