[geos-devel] [GEOS] #1107: 32-bit FreeBSD and 32-bit Rasberry Pi can't compile
GEOS
geos-trac at osgeo.org
Tue Mar 9 20:30:13 PST 2021
#1107: 32-bit FreeBSD and 32-bit Rasberry Pi can't compile
------------------------+--------------------------
Reporter: robe | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.10.0
Component: Default | Version: master
Severity: Unassigned | Keywords:
------------------------+--------------------------
I fear this may have happened when we fixed the mingw64 64-bit issue at
##1104.
As it was after commit [1d69445459/git] that they started showing red
mingw64 32-bit is fine, but the 32-bit bessie and 32-bit berrie don't look
so good.
berrie32 looks like this:
{{{
14:25:15 -- Generating done
14:25:15 -- Build files have been written to:
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/build
14:25:15 Scanning dependencies of target ryu
14:25:15 [ 0%] Building C object src/deps/CMakeFiles/ryu.dir/ryu/d2s.c.o
14:25:16 [ 0%] Linking C static library ../../lib/libryu.a
14:25:16 [ 0%] Built target ryu
14:25:17 Scanning dependencies of target geos
14:25:17 [ 0%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/Angle.cpp.o
14:25:18 [ 0%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/Area.cpp.o
14:25:20 [ 0%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/BoundaryNodeRule.cpp.o
14:25:20 [ 0%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/CGAlgorithmsDD.cpp.o
14:25:21 [ 0%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/Centroid.cpp.o
14:25:23 [ 1%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/ConvexHull.cpp.o
14:25:26 [ 1%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/Distance.cpp.o
14:25:28 [ 1%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/HCoordinate.cpp.o
14:25:29 [ 1%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/InteriorPointArea.cpp.o
14:25:31 In file included from /usr/include/c++/8/bits/stl_algo.h:61,
14:25:31 from /usr/include/c++/8/algorithm:62,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Envelope.inl:22,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Envelope.h:529,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Geometry.h:36,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/src/algorithm/InteriorPointArea.cpp:22:
14:25:31 /usr/include/c++/8/bits/stl_heap.h: In function ‘void
std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp,
_Compare) [with _RandomAccessIterator =
__gnu_cxx::__normal_iterator<double*, std::vector<double> >; _Distance =
int; _Tp = double; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
14:25:31 /usr/include/c++/8/bits/stl_heap.h:214:5: note: parameter passing
for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 __adjust_heap(_RandomAccessIterator __first, _Distance
__holeIndex,
14:25:31 ^~~~~~~~~~~~~
14:25:31 In file included from /usr/include/c++/8/algorithm:62,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Envelope.inl:22,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Envelope.h:529,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Geometry.h:36,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/src/algorithm/InteriorPointArea.cpp:22:
14:25:31 /usr/include/c++/8/bits/stl_algo.h: In function ‘void
std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator,
_Compare) [with _RandomAccessIterator =
__gnu_cxx::__normal_iterator<double*, std::vector<double> >; _Compare =
__gnu_cxx::__ops::_Iter_less_iter]’:
14:25:31 /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter
passing for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 __insertion_sort(_RandomAccessIterator __first,
14:25:31 ^~~~~~~~~~~~~~~~
14:25:31 /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter
passing for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter
passing for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 /usr/include/c++/8/bits/stl_algo.h: In function ‘void
std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size,
_Compare) [with _RandomAccessIterator =
__gnu_cxx::__normal_iterator<double*, std::vector<double> >; _Size = int;
_Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
14:25:31 /usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter
passing for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 __introsort_loop(_RandomAccessIterator __first,
14:25:31 ^~~~~~~~~~~~~~~~
14:25:31 /usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter
passing for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 /usr/include/c++/8/bits/stl_algo.h:1954:25: note: parameter
passing for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 std::__introsort_loop(__cut, __last, __depth_limit, __comp);
14:25:31 ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14:25:31 In file included from /usr/include/c++/8/vector:69,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Coordinate.h:23,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/algorithm/InteriorPointArea.h:24,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/src/algorithm/InteriorPointArea.cpp:20:
14:25:31 /usr/include/c++/8/bits/vector.tcc: In member function ‘void
std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp,
_Alloc>::iterator, _Args&& ...) [with _Args = {const double&}; _Tp =
double; _Alloc = std::allocator<double>]’:
14:25:31 /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing
for argument of type ‘std::vector<double>::iterator’ {aka
‘__gnu_cxx::__normal_iterator<double*, std::vector<double> >’} changed in
GCC 7.1
14:25:31 vector<_Tp, _Alloc>::
14:25:31 ^~~~~~~~~~~~~~~~~~~
14:25:31 In file included from /usr/include/c++/8/vector:64,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Coordinate.h:23,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/algorithm/InteriorPointArea.h:24,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/src/algorithm/InteriorPointArea.cpp:20:
14:25:31 /usr/include/c++/8/bits/stl_vector.h: In member function ‘void
geos::algorithm::InteriorPointArea::processPolygon(const
geos::geom::Polygon*)’:
14:25:31 /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter
passing for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 _M_realloc_insert(end(), __x);
14:25:31 ^~~~~~~~~~~~~~~~~
14:25:31 /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter
passing for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 _M_realloc_insert(end(), __x);
14:25:31 ^~~~~~~~~~~~~~~~~
14:25:31 In file included from /usr/include/c++/8/algorithm:62,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Envelope.inl:22,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Envelope.h:529,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Geometry.h:36,
14:25:31 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/src/algorithm/InteriorPointArea.cpp:22:
14:25:31 /usr/include/c++/8/bits/stl_algo.h:1968:25: note: parameter
passing for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 std::__introsort_loop(__first, __last,
14:25:31 ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
14:25:31 std::__lg(__last - __first) * 2,
14:25:31 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14:25:31 __comp);
14:25:31 ~~~~~~~
14:25:31 /usr/include/c++/8/bits/stl_algo.h:1885:25: note: parameter
passing for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 std::__insertion_sort(__first, __first + int(_S_threshold),
__comp);
14:25:31
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14:25:31 /usr/include/c++/8/bits/stl_algo.h:1890:23: note: parameter
passing for argument of type ‘__gnu_cxx::__normal_iterator<double*,
std::vector<double> >’ changed in GCC 7.1
14:25:31 std::__insertion_sort(__first, __last, __comp);
14:25:31 ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
14:25:31 [ 1%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/InteriorPointLine.cpp.o
14:25:33 [ 1%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/InteriorPointPoint.cpp.o
14:25:34 [ 2%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/Intersection.cpp.o
14:25:35 [ 2%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/Length.cpp.o
14:25:36 [ 2%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/LineIntersector.cpp.o
14:25:38 [ 2%] Building CXX object
CMakeFiles/geos.dir/src/algorithm/MinimumBoundingCircle.cpp.o
14:25:40 In file included from /usr/include/c++/8/vector:69,
14:25:40 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/geom/Coordinate.h:23,
14:25:40 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/algorithm/Orientation.h:23,
14:25:40 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/include/geos/algorithm/Angle.h:23,
14:25:40 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1d69445459c3642a3c235a853548df3023f8ee7a/src/algorithm/MinimumBoundingCircle.cpp:21:
14:25:40 /usr/include/c++/8/bits/vector.tcc: In member function ‘void
std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp,
_Alloc>::iterator, _Args&& ...) [with _Args = {const
geos::geom::Coordinate&}; _Tp = geos::geom::Coordinate; _Alloc =
std::allocator<geos::geom::Coordinate>]’:
14:25:40 /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing
for argument of type ‘std::vector<geos::geom::Coordinate>::iterator’ {aka
‘__gnu_cxx::__normal_iterator<geos::geom::Coordinate*,
std::vector<geos::geom::Coordinate> >’} changed in GCC 7.1
14:25:40 vector<_Tp, _Alloc>::
14:25:40 ^~~~~~~~~~~~~~~~~~~
14:25:40 In file included from /usr/include/c++/8/vector:64,
14:25:40 from
/home/jenkins/workspace/GEOS_Worker_Run/label/berrie/1
}}}
bessie32 looks like this:
{{{
14:37:06 [ 51%] Building CXX object
CMakeFiles/geos.dir/src/planargraph/DirectedEdgeStar.cpp.o
14:37:07
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/src/planargraph/DirectedEdgeStar.cpp:47:47:
error: implicit conversion changes signedness: 'unsigned int' to
'std::__1::__wrap_iter<geos::planargraph::DirectedEdge
**>::difference_type' (aka 'int') [-Werror,-Wsign-conversion]
14:37:07 outEdges.erase(outEdges.begin() + i);
14:37:07 ~ ^
14:37:07 1 error generated.
14:37:07 *** Error code 1
14:37:07
14:37:07 Stop.
14:37:07 make[2]: stopped in
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build
14:37:07 *** Error code 1
14:37:07
14:37:07 Stop.
14:37:07 make[1]: stopped in
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build
14:37:07 *** Error code 1
14:37:07
14:37:07 Stop.
14:37:07 make: stopped in
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build
14:37:07 Test project
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build
14:37:07 Start 1: unit-algorithm-Angle
14:37:07 Could not find executable
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build/bin/test_geos_unit
14:37:07 Looked in the following places:
14:37:07
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build/bin/test_geos_unit
14:37:07
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build/bin/test_geos_unit
14:37:07
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build/bin/Release/test_geos_unit
14:37:07
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build/bin/Release/test_geos_unit
14:37:07
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build/bin/Debug/test_geos_unit
14:37:07
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build/bin/Debug/test_geos_unit
14:37:07
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie32/1d69445459c3642a3c235a853548df3023f8ee7a/build/bin/MinSizeRel/test_geos_unit
}}}
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/1107>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list