|
Geometry : |
Subject: Re: [geometry] Forking and compiling tests (was: Storage allocator questions)
From: Henry Roeland (henry_at_[hidden])
Date: 2014-12-09 01:20:42
Hi Adam,
Sorry missed the Modular part.
After checkout of modular boost tree and setting libs/variant back to old(er) commit I still get errors:
gcc.compile.c++ ../../../bin.v2/libs/geometry/test/geometries/boost_polygon.test/gcc-4.8/debug/boost_polygon.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -DBOOST_ALL_NO_LIB=1 -I"." -I"../../.." -I"../../../boost/geometry/extensions/contrib/ttmath" -c -o "../../../bin.v2/libs/geometry/test/geometries/boost_polygon.test/gcc-4.8/debug/boost_polygon.o" "geometries/boost_polygon.cpp"
...failed gcc.compile.c++ ../../../bin.v2/libs/geometry/test/geometries/boost_polygon.test/gcc-4.8/debug/boost_polygon.o...
...skipped <p../../../bin.v2/libs/geometry/test/geometries/boost_polygon.test/gcc-4.8/debug>boost_polygon for lack of <p../../../bin.v2/libs/geometry/test/geometries/boost_polygon.test/gcc-4.8/debug>boost_polygon.o...
...skipped <p../../../bin.v2/libs/geometry/test/geometries/boost_polygon.test/gcc-4.8/debug>boost_polygon.run for lack of <p../../../bin.v2/libs/geometry/test/geometries/boost_polygon.test/gcc-4.8/debug>boost_polygon...
Note: I didnât set libs/geometry to my feature/persistency branch/fork yet.
When running above g++ command line directly strange things happen: 2 times without error last time with error:
130 henry_at_ubuntu:~/Develop/boost/mod/modular-boost/libs/geometry/testâ« "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -DBOOST_ALL_NO_LIB=1 -I"." -I"../../.." -I"../../../boost/geometry/extensions/contrib/ttmath" -c -o "../../../bin.v2/libs/geometry/test/geometries/boost_polygon.test/gcc-4.8/debug/boost_polygon.o" "geometries/boost_polygon.cpp"
...
henry_at_ubuntu:~/Develop/boost/mod/modular-boost/libs/geometry/testâ« g++ -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -DBOOST_ALL_NO_LIB=1 -I"." -I"../../.." -I"../../../boost/geomet
ry/extensions/contrib/ttmath" -c -o "../../../bin.v2/libs/geometry/test/geometries/boost_polygon.test/gcc-4.8/debug/boost_polygon.o" "geometries/boost_polygon.cpp" henry_at_ubuntu:~/Develop/boost/mod/modular-boost/libs/geometry/testâ«
...
henry_at_ubuntu:~/Develop/boost/mod/modular-boost/libs/geometry/testâ« g++ -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -DBOOST_ALL_NO_LIB=1 -I"." -I"../../.." -I"../../../boost/geometry/extensions/contrib/ttmath" -c -o "../../../bin.v2/libs/geometry/test/geometries/boost_polygon.test/gcc-4.8/debug/boost_polygon.o" "geometries/boost_polygon.cpp"
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
Am I the only one building & running geometry tests with g++ 4.8 on Ubuntu 14.04.1 LTS (Inside virtual machine)?
Kind regards,
Henry
> On 9 dec. 2014, at 02:19, Adam Wulkiewicz <adam.wulkiewicz_at_[hidden]> wrote:
>
> Hi Henry,
>
> 2014-12-09 2:00 GMT+01:00 Henry Roeland <henry_at_[hidden] <mailto:henry_at_[hidden]>>:
>
> How do I test?:
> Used source of boost 1.57.0 and added:
> suggested checkout of boost variant with symbolic link from libs/variant/include/boost/variant* to boost/variant*
> checkout of boost geometry develop (feature) branch with symbolic link from libs/geometry/include/boost/geometry* to boost/geometry*
> NOTE: Renamed both original variant* and geometry* files and dirs and added checkouts
>
>
> The errors you pasted aren't related to Variant.
> You shouldn't rename anything or create links manually.
> Have you done the steps mentioned here: https://svn.boost.org/trac/boost/wiki/TryModBoost <https://svn.boost.org/trac/boost/wiki/TryModBoost> ?
>
> In particular:
> git clone --recursive git_at_[hidden]:boostorg/boost.git modular-boost
> cd modular-boost
> .\bootstrap
> .\b2 headers
> So cloned Boost with --recursive flag and run b2 headers. Then run the tests, e.g.:
>
> b2 libs/geometry/test
>
> Regards,
> Adam
> _______________________________________________
> Geometry mailing list
> Geometry_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/geometry
Geometry list run by mateusz at loskot.net