Boost logo

Geometry :

Subject: Re: [geometry] Forking and compiling tests (was: Storage allocator questions)
From: Henry Roeland (henry_at_[hidden])
Date: 2014-12-08 20:00:13


Hi Adam,

On 8 dec. 2014, at 22:26, Adam Wulkiewicz <adam.wulkiewicz_at_[hidden]> wrote:
>
> git checkout 6db941f3

This checkout of boostorg/variant github:

Variant report of ‘b2 test':
...failed updating 1 target… <— after adding symbolic link to include this failure disapeared
...skipped 3 targets...
...updated 141 targets...

Geometry report of ‘b2 test’ (With above variant checkout):

One of the errors:
...
gcc.compile.c++ ../../bin.v2/libs/geometry/test/algorithms/append.test/gcc-4.8/debug/append.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"../../boost/geometry/extensions/contrib/ttmath" -I"test" -c -o "../../bin.v2/libs/geometry/test/algorithms/append.test/gcc-4.8/debug/append.o" "test/algorithms/append.cpp"

...failed gcc.compile.c++ ../../bin.v2/libs/geometry/test/algorithms/append.test/gcc-4.8/debug/append.o...
...skipped <p../../bin.v2/libs/geometry/test/algorithms/append.test/gcc-4.8/debug>append for lack of <p../../bin.v2/libs/geometry/test/algorithms/append.test/gcc-4.8/debug>append.o...
...skipped <p../../bin.v2/libs/geometry/test/algorithms/append.test/gcc-4.8/debug>append.run for lack of <p../../bin.v2/libs/geometry/test/algorithms/append.test/gcc-4.8/debug>append...
...

System & Compiler info:

henry_at_ubuntu:~$ uname -a
Linux ubuntu 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

henry_at_ubuntu:~$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)

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

run ‘b2 test’ in both libs/variant and libs/geometry

b2 is from the 1.57.0 build itself and added to PATH.

kind regards,

Henry Roeland



Geometry list run by mateusz at loskot.net