Subject: Re: [boost] [log] Review attempt
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-03-09 12:05:38
Roland Bock wrote:
> good to see that boost.log is being formally reviewed! From what I read
> in the documentation so far, I am really looking forward to seeing the
> library included in boost.
> I sure want to do some tests, hoping to replace our current logging
> system, soon, but today I can only answer the following review item:
> - Did you try to use the library? With what compiler? Did you have any
> Yes, I tried and failed to compile it. Details are below.
> Ubuntu 8.04, 64bit, g++ 4.2.4
> Intel QuadCore 2.5GHz, 8GB Ram
> Sounds embarassing, but I failed to compile the library. I copied the
> folders boost, lib and doc from boost-log-RC4 to boost_1_42_0, called
> ./bjam -d+2 --build-dir=build --with-log --prefix=/my/install/path
> link=shared runtime-link=shared install
> All looked well until this point:
> "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread -fPIC -fno-strict-aliasing -DBOOST_ALL_NO_LIB=1
> -DBOOST_DATE_TIME_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1
> -DBOOST_LOG_DLL -DBOOST_LOG_SETUP_BUILDING_THE_LIB=1
> -DBOOST_LOG_SETUP_DLL -DBOOST_LOG_USE_NATIVE_SYSLOG=1
> -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1
> -DDATE_TIME_INLINE -DNDEBUG -I"." -c -o
> The process cc1plus was running about 20 minutes (100%CPU, moderate RAM
> usage) before anything else happened.
It looks like 4.2 is somehow unhappy with the code.
Then, after lots and lots of very
> long error messages, it continues like this:
> for lack of
> Hmm. Not sure how to proceed. Should I send the whole bunch of error
> messages to the list as an attachment?
I think you better locate the first error message from the compiler and post that. Further
errors are likely induced. I wonder if the first error message is "ran out of memory", though.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk