-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boost 1.81.0 (chrono and thread) library compilation is failing with Sun Studio 12.5 #107
Comments
Facing below error when i am compiling chrono or thread alone in sun studio 12.5 Error I am getting while build boost thread/ chrono is below "CC" -std=c++11 -m64 -xarch=sparc -mt -lCstd -xO4 -mt -erroff=%none -xldscope=hidden -m64 -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_DONT_USE_CHRONO -DBOOST_THREAD_POSIX -DNDEBUG -I"." -c -o "bin.v2/libs/thread/build/sun/release/address-model-64/link-static/threadapi-pthread/threading-multi/visibility-hidden/future.o" "libs/thread/src/future.cpp" Command which have used to build: Environment Command which have used to build: ./b2 install address-model=64 runtime-link=shared "cflags=-std=c++11 linkflags=-std=c++11" threading=multi toolset=sun --prefix=/export/home/ramesh/compiled_library/boost_1_81_0/ --with-chrono |
This looks like a compiler bug. Can you upgrade to Sun Studio 12.6? If not, or if 12.6 is also unable to compile the code, you'll need to use an earlier release of Boost. |
Hi @pdimov , thanks for the info. We can not upgrade to Sun Studio 12.6 and we are facing same issue with 1.80.0 and older. So, my ask here is, can't we build/resolve the issue which am facing with sun studio 12.5 compiler . |
Looking at the list of errors, the first 20 or so of them all refer to code that has been introduced in 1.81. What are the errors you are getting with Boost 1.80? |
Hi @pdimov , thanks for quick reply. we are facing below error while building thread but we are able to build chrono with 1.80.0 |
This error comes from a header supplied with the compiler - to which I don't have access - and may be unrelated to any Boost code. Does Oracle provide support for Sun Studio 12.5? If so, they may have something to say about it. |
Hi @pdimov , thanks a lot. Will be there any fix for 1.81.0 issues we are encountering in future ?? |
No description provided.
The text was updated successfully, but these errors were encountered: