Boost logo

Boost Testing :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-11-22 13:41:15


On 11/22/05, D. Kevin McGrath <dmcgrath_at_[hidden]> wrote:
>
> I can do that...I think. Which files need to be preprocessed, and
> who should I send them to? Sorry for all the questions, I'm
> relatively knew to all of this.

Given this error message:

    CC -c -DNDEBUG -DNDEBUG -DBOOST_FILESYSTEM_STATIC_LINK -fast -O4
-xtarget=generic -features=rtti -features=except
-I"../../../bin/boost/libs/filesystem/build"
-I"/export/home/boost/boost" -I"." -I"/export/home/boost/boost" -o
"../../../bin/boost/libs/filesystem/build/libboost_filesystem.a/sunpro/release/exception.o"
"/export/home/boost/boost/libs/filesystem/build/../src/exception.cpp"

...failed sunpro-C++-action
../../../bin/boost/libs/filesystem/build/libboost_filesystem.a/sunpro/release/exception.o...
sunpro-C++-action
../../../bin/boost/libs/filesystem/build/libboost_filesystem.a/sunpro/release/operations_posix_windows.o
>> Assertion: (../lnk/init.cc, line 1032)
    while processing
/export/home/boost/boost/boost/filesystem/path.hpp at line 66.

I'd take the output of this command:

CC -E -DNDEBUG -DNDEBUG -DBOOST_FILESYSTEM_STATIC_LINK -fast -O4
-xtarget=generic -features=rtti -features=except
-I"../../../bin/boost/libs/filesystem/build" -I"/export/home/boost/boost"
-I"." -I"/export/home/boost/boost"
"/export/home/boost/boost/libs/filesystem/build/../src/exception.cpp"

And include that with the internal compiler error message above (-E runs the
preprocessor only).

In case that this is an optimizer bug (-O4 thats aggressive!) you might try
running the command(s) that crash the compiler with -g or a lower
optimization level.

--
Caleb Epstein
caleb dot epstein at gmail dot com


Boost-testing list run by mbergal at meta-comm.com