Boost C++ Libraries: Ticket #10314: Update 59fd3b6 on May 17 to cray.jam breaks cray build https://svn.boost.org/trac10/ticket/10314 <p> Download the 1.56 boost beta. </p> <p> do: ./bootstrap.sh </p> <blockquote> <p> ./b2 --with-serialization --with-system --with-filesystem --with-date_time --with-program_options --with-test -d2 toolset=cray stage </p> </blockquote> <p> Get lots of errors like ... </p> <blockquote> <p> CC -c -O2 -march=bdver1 -mfpmath=sse -mfma4 -mavx -funroll-all-loops -mprefer-avx128 -fprefetch-loop-arrays --param prefetch-latency=300 -minline-all-stringops -ffast-math -fno-finite-math-only -dynamic -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DDATE_TIME_INLINE -DNDEBUG -I"." -o "bin.v2/libs/date_time/build/cray/release/threading-multi/gregorian/greg_month.o" "libs/date_time/src/gregorian/greg_month.cpp" </p> </blockquote> <p> CC-2115 crayc++: ERROR in command line </p> <blockquote> <p> "-march=bdver1" is an invalid command-line option. </p> </blockquote> <p> CC-2115 crayc++: ERROR in command line </p> <blockquote> <p> "-mfpmath=sse" is an invalid command-line option. </p> </blockquote> <p> CC-2115 crayc++: ERROR in command line </p> <blockquote> <p> "-mfma4" is an invalid command-line option. </p> </blockquote> <p> CC-2115 crayc++: ERROR in command line </p> <blockquote> <p> "-mavx" is an invalid command-line option. </p> </blockquote> <p> CC-2115 crayc++: ERROR in command line </p> <blockquote> <p> "-mprefer-avx128" is an invalid command-line option. </p> </blockquote> <p> CC-2115 crayc++: ERROR in command line </p> <blockquote> <p> "--param" is an invalid command-line option. </p> </blockquote> <p> CC-2115 crayc++: ERROR in command line </p> <blockquote> <p> "-minline-all-stringops" is an invalid command-line option. </p> </blockquote> <p> ...failed cray.compile.c++ bin.v2/libs/date_time/build/cray/release/threading-multi/gregorian/greg_month.o... cray.compile.c++ bin.v2/libs/date_time/build/cray/release/threading-multi/gregorian/greg_weekday.o </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10314 Trac 1.4.3 Alan Wild <alan@…> Tue, 31 Mar 2015 14:49:05 GMT <link>https://svn.boost.org/trac10/ticket/10314#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10314#comment:1</guid> <description> <p> Not a Boost developer. Just a user that builds boost on cray systems. Looks to me like you have <a class="missing wiki">PrgEnv</a>-cray loaded, but you b2 generating gcc specific options? Do you have the same <a class="missing wiki">PrgEnv</a>/compiler modules loaded at the time you bootstraped vs when you executed b2? </p> <p> I build boost with all three compilers, but to keep things "clean" I wipe out b2 and re-bootstrap between each build with a particular compiler family. </p> </description> <category>Ticket</category> </item> </channel> </rss>