Changes between Initial Version and Version 1 of Ticket #11064
- Timestamp:
- Mar 26, 2015, 7:30:07 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11064 – Description
initial v1 10 10 11 11 12 13 {{{ 12 14 bash-3.2$ cd tools/build/src/engine/ 13 15 bash-3.2$ ./build.sh sun 14 16 bash-3.2$ tools/build/src/engine/bin.solarissparc/bjam toolset=sun --prefix=/export/home/oracle/zhifan/boost address-model=64 --disable-icu --with-regex --with-log --with-program_options -j64 install 17 }}} 18 15 19 With some code fix in boost, I can run the above command without any "failed". 16 20 17 21 Here is my simple test code: 18 22 23 24 {{{ 19 25 bash-3.2$ cat boost_log.cc 20 26 #include <boost/log/core.hpp> … … 29 35 return 0; 30 36 } 37 }}} 38 31 39 40 41 {{{ 32 42 bash-3.2$ CC -mt -std=c++11 -m64 -I/export/home/oracle/zhifan/boost/include -DBOOST_LOG_DYN_LINK -L/export/home/oracle/zhifan/boost/lib -lboost_log -DBOOST_LOG_DYN_LINK boost_log.cc -o boost_log 33 43 "/export/home/oracle/zhifan/boost/include/boost/log/utility/formatting_ostream.hpp", line 551: Error: Cannot use boost::log::v2_mt_posix::basic_formatting_ostream<char, std::char_traits<char>, std::allocator<char>>::sentry to initialize bool. … … 38 48 "boost_log.cc", line 10: Where: Instantiated from non-template code. 39 49 2 Error(s) detected. 50 }}} 51 40 52 41 53 But if I compile this code with boost library compiled by gcc, it works perfectly. 42 54 55 56 {{{ 43 57 bash-3.2$ g++ -pthread -std=c++11 -m64 -I/export/home/oracle/zhifan/boost_gcc/include -DBOOST_LOG_DYN_LINK -L/export/home/oracle/zhifan/boost_gcc/lib -lboost_log -DBOOST_LOG_DYN_LINK boost_log.cc -o boost_log 44 58 bash-3.2$ export LD_LIBRARY_PATH=/export/home/oracle/zhifan/boost_gcc/lib:$LD_LIBRARY_PATH … … 49 63 [2015-02-27 23:26:21.438662] [0x10000000] [fatal] RedoFile::init 50 64 [2015-02-27 23:26:21.438735] [0x10000000] [fatal] RedoFile::init 65 }}}