|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
building boost lib for serializationI’m
trying to build the boost lib for serialization first time on Unix platform
using aCC compiler. I’m
getting following error. (I’m also attaching the complete build.log file) acc.compile.c++
/tmp/build-boost/boost/bin.v2/libs/serialization/build/acc/release/threading-multi/ basic_archive.o aCC: warning
901: unknown option: `-3': use +help for online documentation. Error 119: "./boost/config/compiler/hp_acc.hpp",
line 84 # #error "Compiler option '+hpxstd98' is r equired for proper support"
# error "Compiler option '+hpxstd98' is required
for proper suppor As per Error
119, I think I need to add some options like CFLAGS = +inst_implicit_include
+W2009,2186,2191,2236,2815,2174 -g0 -AA +hpxstd98 -DSTD_IS_DEFINED What options
are needed to compile and where? Thank You Sonal Sheth
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: building boost lib for serializationOn Tuesday 09 June 2009 Sheth, Sonal S wrote:
> I'm trying to build the boost lib for serialization first time on Unix platform using aCC compiler. > I'm getting following error. (I'm also attaching the complete build.log file) > > acc.compile.c++ /tmp/build-boost/boost/bin.v2/libs/serialization/build/acc/release/threading-multi/ > basic_archive.o > aCC: warning 901: unknown option: `-3': use +help for online documentation. You seem to have trimmed something from your build log -- specifically, the failed compiler invocation command. Boost.Build is not supposed to ever pass -3 to compiler -- only -O3. Can you check if that is supported, and if not, what is the right option for max optimization? > Error 119: "./boost/config/compiler/hp_acc.hpp", line 84 # #error "Compiler option '+hpxstd98' is r > equired for proper support" > # error "Compiler option '+hpxstd98' is required for proper suppor > > As per Error 119, I think I need to add some options like > CFLAGS = +inst_implicit_include +W2009,2186,2191,2236,2815,2174 -g0 -AA +hpxstd98 -DSTD_IS_DEFINED > > What options are needed to compile and where? Can you specify those options when configuring the toolset in user-config.jam, e.g.: using acc : # version : # compiler command : <cxxflags>.... ; using the flags you gave above. And then see if it improves things? - Volodya _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
|
|
|
Re: building boost lib for serializationOn Wednesday 10 June 2009 Sheth, Sonal S wrote:
> > I'm trying to build the boost lib for serialization first time on Unix platform using aCC compiler. > I'm getting following error. (I'm also attaching the complete build.log file) > > acc.compile.c++ /tmp/build-boost/boost/bin.v2/libs/serialization/build/acc/release/threading-multi/ > basic_archive.o > aCC: warning 901: unknown option: `-3': use +help for online documentation. > Error 119: "./boost/config/compiler/hp_acc.hpp", line 84 # #error "Compiler option '+hpxstd98' is r > equired for proper support" > # error "Compiler option '+hpxstd98' is required for proper suppor > > As per Error 119, I think I need to add some options like > CFLAGS = +inst_implicit_include +W2009,2186,2191,2236,2815,2174 -g0 -AA +hpxstd98 -DSTD_IS_DEFINED > > What options are needed to compile and where? Sheth, I have already replied to this question in: http://permalink.gmane.org/gmane.comp.lib.boost.build/20944 Did you act on recommendations therein? - Volodya _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: building boost lib for serializationSpecifying the options in user-config.jam took care of Error 119. I still need to look in to 901 warning. - Thanks Volodya.
Now I do get following error now while linking the objects... ------------------------------------------------------------------------------------------- ...failed acc.link.dll bin.v2/libs/serialization/build/acc/release/threading-multi/libboost_serialization-mt-1_39.so.1.39. 0... ...skipped <pstage/lib>libboost_serialization-mt-1_39.so.1.39.0 for lack of <pbin.v2/libs/serialization/build/acc/release/ threading-multi>libboost_serialization-mt-1_39.so.1.39.0... ...skipped <pstage/lib>libboost_serialization-mt-1_39.so for lack of <pstage/lib>libboost_serialization-mt-1_39.so.1.39.0. .. ...skipped <pbin.v2/libs/serialization/build/acc/release/threading-multi>libboost_wserialization-mt-1_39.so.1.39.0 for lac k of <pbin.v2/libs/serialization/build/acc/release/threading-multi>libboost_serialization-mt-1_39.so.1.39.0... ...skipped <pstage/lib>libboost_wserialization-mt-1_39.so.1.39.0 for lack of <pbin.v2/libs/serialization/build/acc/release /threading-multi>libboost_wserialization-mt-1_39.so.1.39.0... ...skipped <pstage/lib>libboost_wserialization-mt-1_39.so for lack of <pstage/lib>libboost_wserialization-mt-1_39.so.1.39. 0... ...skipped <pstage/lib>libboost_serialization-mt.so for lack of <pstage/lib>libboost_serialization-mt-1_39.so.1.39.0... ...skipped <pstage/lib>libboost_wserialization-mt.so for lack of <pstage/lib>libboost_wserialization-mt-1_39.so.1.39.0... acc.link.dll bin.v2/libs/serialization/build/acc/debug/libboost_serialization-d-1_39.so.1.39.0 /usr/ccs/bin/ld: CODE_ONE_SYM fixup to non-code subspace in file bin.v2/libs/serialization/build/acc/debug/basic_archive.o - shared library must be position independent. Use +z or +Z to recompile. -------------------------------------------------------------------------------------------------------- ...failed acc.link.dll bin.v2/libs/serialization/build/acc/debug/libboost_serialization-d-1_39.so.1.39.0... ...skipped <pbin.v2/libs/serialization/build/acc/debug>libboost_wserialization-d-1_39.so.1.39.0 for lack of <pbin.v2/libs/ serialization/build/acc/debug>libboost_serialization-d-1_39.so.1.39.0... ...failed updating 2 targets... --------------------------------------------------------------------------------------------------------- Sonal ssheth@... -----Original Message----- From: Vladimir Prus [mailto:ghost@...] Sent: Friday, June 12, 2009 3:22 AM To: boost-build@... Cc: Sheth, Sonal S Subject: Re: [Boost-build] building boost lib for serialization On Wednesday 10 June 2009 Sheth, Sonal S wrote: > > I'm trying to build the boost lib for serialization first time on Unix platform using aCC compiler. > I'm getting following error. (I'm also attaching the complete build.log file) > > acc.compile.c++ /tmp/build-boost/boost/bin.v2/libs/serialization/build/acc/release/threading-multi/ > basic_archive.o > aCC: warning 901: unknown option: `-3': use +help for online documentation. > Error 119: "./boost/config/compiler/hp_acc.hpp", line 84 # #error "Compiler option '+hpxstd98' is r > equired for proper support" > # error "Compiler option '+hpxstd98' is required for proper suppor > > As per Error 119, I think I need to add some options like > CFLAGS = +inst_implicit_include +W2009,2186,2191,2236,2815,2174 -g0 -AA +hpxstd98 -DSTD_IS_DEFINED > > What options are needed to compile and where? Sheth, I have already replied to this question in: http://permalink.gmane.org/gmane.comp.lib.boost.build/20944 Did you act on recommendations therein? - Volodya _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
| Free embeddable forum powered by Nabble | Forum Help |