Boost logo

Geometry :

Subject: Re: [geometry] Forking and compiling tests
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2014-12-09 08:08:51


Hi,

2014-12-09 8:13 GMT+01:00 Barend Gehrels <barend_at_[hidden]>:

> Hi Henry,
>
> Henry Roeland wrote On 9-12-2014 7:20:
>
> 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)
>
>
> Can you check another testfile too? Because boost_polygon is specific
> because it depends on two Boost libraries (Boost.Geometry, Boost.Polygon).
> Please check if a simpler case (e.g. arithmetic\dot_product.cpp) works.
>
>
Still, it shouldn't result in an internal compiler error.

>
> Am I the only one building & running geometry tests with g++ 4.8 on
> Ubuntu 14.04.1 LTS (Inside virtual machine)?
>
>
> I don't have that configuration.
>

I have Mint 17 based on Ubuntu 14.04 and GCC 4.8.2. I just tried to get a
fresh clone, run the tests and it works for me. Is your compiler setup ok?
Which standard library implementation are you using?

You could try to compile one of the simpler tests manually, something like
this should work:

g++ -IPATH_TO_BOOST -IPATH_TO_BOOST/libs/geometry/test
PATH_TO_BOOST/libs/geometry/test/arithmetic/dot_product.cpp

Regards,
Adam



Geometry list run by mateusz at loskot.net