Ticket #376 (closed defect: fixed)

Opened 17 months ago

Last modified 5 months ago

geos-3.2.2 on ARM: make check fails

Reported by: jlpoole Owned by: pramsey
Priority: major Milestone: 3.2.4
Component: Build/Install Version: 3.0.3
Severity: Unassigned Keywords:
Cc:

Description

OS: Gentoo plug geos-3.2.2 # cat /proc/version Linux version 2.6.33.5 (root@plug) (gcc version 4.4.4 (Gentoo 4.4.4-r1 p1.1, pie-0.4.5) ) #3 PREEMPT Thu Sep 2 07:47:34 PDT 2010 plug geos-3.2.2 #

Platform: Marvel SheevaPlug? ARMv5tel-softfloat

To geos-3.2.2 I applied the ARM patch referenced in Ticket 222  http://trac.osgeo.org/geos/ticket/222. 'make' worked. 'make install' worked 'make check' failed:

Making check in xmltester make[2]: Entering directory `/usr/local/src/geos-3.2.2/tests/xmltester' make check-TESTS make[3]: Entering directory `/usr/local/src/geos-3.2.2/tests/xmltester' sh ./testrunner.sh testrunner ./tests/testLeaksBig.xml ./tests/split.xml ./tests/hexwkb.xml ./tests/test.xml ./tests/linemerge.xml ./tests/TestIsValid.xml ./tests/robustness.xml ./tests/buffer.xml ./tests/test.xml ./tests/singlesidedbuffer.xml ./tests/bug176.xml ./tests/bug188.xml ./tests/bug244.xml ./tests/bug275.xml ./tests/general/TestBoundary.xml ./tests/general/TestBuffer.xml ./tests/general/TestBufferMitredJoin.xml ./tests/general/TestCentroid.xml ./tests/general/TestConvexHull.xml ./tests/general/TestConvexHull-big.xml ./tests/general/TestFunctionAAPrec.xml ./tests/general/TestFunctionAA.xml ./tests/general/TestFunctionLAPrec.xml ./tests/general/TestFunctionLA.xml ./tests/general/TestFunctionLLPrec.xml ./tests/general/TestFunctionLL.xml ./tests/general/TestFunctionPA.xml ./tests/general/TestFunctionPLPrec.xml ./tests/general/TestFunctionPL.xml ./tests/general/TestFunctionPP.xml ./tests/general/TestInteriorPoint.xml ./tests/general/TestRectanglePredicate.xml ./tests/general/TestRelateAA.xml ./tests/general/TestRelateLA.xml ./tests/general/TestRelateLL.xml ./tests/general/TestRelatePL.xml ./tests/general/TestRelateAC.xml ./tests/general/TestRelateLC.xml ./tests/general/TestRelatePA.xml ./tests/general/TestRelatePP.xml ./tests/general/TestSimple.xml ./tests/general/TestValid.xml ./tests/general/TestValid2.xml ./tests/general/TestValid2-big.xml ./tests/general/TestWithinDistance.xml ./tests/stmlf/stmlf-cases-20061020.xml ./tests/stmlf/stmlf-cases-20070119.xml ./tests/robust/TestRobustOverlayFixed.xml ./tests/robust/TestRobustRelate.xml ./tests/fme.xml ./tests/TestBufferExternal.xml ./tests/TestBufferExternal2.xml ./tests/heisenbugs.xml ./tests/badguy3.xml ./tests/hole_from_shell.xml ./tests/hole_red.xml ./tests/safe/16595.xml ./tests/safe/16596.xml Runner: testrunner created bufferOriginalPrecision failed (TopologyException?: assigned depths do not match at 1.33558e+06 631781), trying with reduced precision recomputing with precision scale factor = 1e+10 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+10 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+10 recomputing with precision scale factor = 1e+09 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+09 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+09 bufferOriginalPrecision failed (TopologyException?: assigned depths do not match at 1.33559e+06 631780), trying with reduced precision recomputing with precision scale factor = 1e+10 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+10 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+10 recomputing with precision scale factor = 1e+09 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+09 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+09 XMLTester: GeometryComponentFilter?.cpp:35: virtual void geos::geom::GeometryComponentFilter::filter_ro(const geos::geom::Geometry*): Assertion `0' failed. ./testrunner: line 1: 27195 Aborted ./XMLTester -v ./tests/testLeaksBig.xml ./tests/split.xml ./tests/hexwkb.xml ./tests/test.xml ./tests/linemerge.xml ./tests/TestIsValid.xml ./tests/robustness.xml ./tests/buffer.xml ./tests/test.xml ./tests/singlesidedbuffer.xml ./tests/bug176.xml ./tests/bug188.xml ./tests/bug244.xml ./tests/bug275.xml ./tests/general/TestBoundary.xml ./tests/general/TestBuffer.xml ./tests/general/TestBufferMitredJoin.xml ./tests/general/TestCentroid.xml ./tests/general/TestConvexHull.xml ./tests/general/TestConvexHull-big.xml ./tests/general/TestFunctionAAPrec.xml ./tests/general/TestFunctionAA.xml ./tests/general/TestFunctionLAPrec.xml ./tests/general/TestFunctionLA.xml ./tests/general/TestFunctionLLPrec.xml ./tests/general/TestFunctionLL.xml ./tests/general/TestFunctionPA.xml ./tests/general/TestFunctionPLPrec.xml ./tests/general/TestFunctionPL.xml ./tests/general/TestFunctionPP.xml ./tests/general/TestInteriorPoint.xml ./tests/general/TestRectanglePredicate.xml ./tests/general/TestRelateAA.xml ./tests/general/TestRelateLA.xml ./tests/general/TestRelateLL.xml ./tests/general/TestRelatePL.xml ./tests/general/TestRelateAC.xml ./tests/general/TestRelateLC.xml ./tests/general/TestRelatePA.xml ./tests/general/TestRelatePP.xml ./tests/general/TestSimple.xml ./tests/general/TestValid.xml ./tests/general/TestValid2.xml ./tests/general/TestValid2-big.xml ./tests/general/TestWithinDistance.xml ./tests/stmlf/stmlf-cases-20061020.xml ./tests/stmlf/stmlf-cases-20070119.xml ./tests/robust/TestRobustOverlayFixed.xml ./tests/robust/TestRobustRelate.xml ./tests/fme.xml ./tests/TestBufferExternal.xml ./tests/TestBufferExternal2.xml ./tests/heisenbugs.xml ./tests/badguy3.xml ./tests/hole_from_shell.xml ./tests/hole_red.xml ./tests/safe/16595.xml ./tests/safe/16596.xml FAIL: testrunner ================== 1 of 1 test failed ================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/usr/local/src/geos-3.2.2/tests/xmltester' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/usr/local/src/geos-3.2.2/tests/xmltester' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/geos-3.2.2/tests' make: *** [check-recursive] Error 1 plug geos-3.2.2 #

Is my problem that I'm trying to perform floating point intensive calculations on a platform that does not support floating point in hardware, but uses softfloat?

Change History

Changed 17 months ago by strk

  • owner changed from strk to pramsey
  • component changed from XML Tests to Build/Install

No, your problem seems to be a bogus compiler, as GeometryComponentFilter::filter_ro should not be called, but rather its implementation in derivative class should.

GeometryComponentFilter?.cpp:35: virtual void geos::geom::GeometryComponentFilter::filter_ro(const geos::geom::Geometry*): Assertion `0' failed.

Changed 17 months ago by jlpoole

Good insight. I compiled on the ARM Plug using a distributed compiler to an AMD cross compiler. I'll turn off the distcc and recompile (slooowly) on the native platform and then update my results of 'make check' here.

Changed 17 months ago by jlpoole

I compiled the project using a native compiler, compilation was fine. Same error occurred during the testing phase:

make check-TESTS make[3]: Entering directory `/usr/local/src/geos-3.2.2/tests/xmltester' sh ./testrunner.sh testrunner ./tests/testLeaksBig.xml ./tests/split.xml ./tests/hexwkb.xml ./tests/test.xml ./tests/linemerge.xml ./tests/TestIsValid.xml ./tests/robustness.xml ./tests/buffer.xml ./tests/test.xml ./tests/singlesidedbuffer.xml ./tests/bug176.xml ./tests/bug188.xml ./tests/bug244.xml ./tests/bug275.xml ./tests/general/TestBoundary.xml ./tests/general/TestBuffer.xml ./tests/general/TestBufferMitredJoin.xml ./tests/general/TestCentroid.xml ./tests/general/TestConvexHull.xml ./tests/general/TestConvexHull-big.xml ./tests/general/TestFunctionAAPrec.xml ./tests/general/TestFunctionAA.xml ./tests/general/TestFunctionLAPrec.xml ./tests/general/TestFunctionLA.xml ./tests/general/TestFunctionLLPrec.xml ./tests/general/TestFunctionLL.xml ./tests/general/TestFunctionPA.xml ./tests/general/TestFunctionPLPrec.xml ./tests/general/TestFunctionPL.xml ./tests/general/TestFunctionPP.xml ./tests/general/TestInteriorPoint.xml ./tests/general/TestRectanglePredicate.xml ./tests/general/TestRelateAA.xml ./tests/general/TestRelateLA.xml ./tests/general/TestRelateLL.xml ./tests/general/TestRelatePL.xml ./tests/general/TestRelateAC.xml ./tests/general/TestRelateLC.xml ./tests/general/TestRelatePA.xml ./tests/general/TestRelatePP.xml ./tests/general/TestSimple.xml ./tests/general/TestValid.xml ./tests/general/TestValid2.xml ./tests/general/TestValid2-big.xml ./tests/general/TestWithinDistance.xml ./tests/stmlf/stmlf-cases-20061020.xml ./tests/stmlf/stmlf-cases-20070119.xml ./tests/robust/TestRobustOverlayFixed.xml ./tests/robust/TestRobustRelate.xml ./tests/fme.xml ./tests/TestBufferExternal.xml ./tests/TestBufferExternal2.xml ./tests/heisenbugs.xml ./tests/badguy3.xml ./tests/hole_from_shell.xml ./tests/hole_red.xml ./tests/safe/16595.xml ./tests/safe/16596.xml Runner: testrunner created bufferOriginalPrecision failed (TopologyException?: assigned depths do not match at 1.33558e+06 631781), trying with reduced precision recomputing with precision scale factor = 1e+10 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+10 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+10 recomputing with precision scale factor = 1e+09 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+09 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+09 bufferOriginalPrecision failed (TopologyException?: assigned depths do not match at 1.33559e+06 631780), trying with reduced precision recomputing with precision scale factor = 1e+10 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+10 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+10 recomputing with precision scale factor = 1e+09 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+09 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+09 XMLTester: GeometryComponentFilter?.cpp:35: virtual void geos::geom::GeometryComponentFilter::filter_ro(const geos::geom::Geometry*): Assertion `0' failed. ./testrunner: line 1: 18291 Aborted ./XMLTester -v ./tests/testLeaksBig.xml ./tests/split.xml ./tests/hexwkb.xml ./tests/test.xml ./tests/linemerge.xml ./tests/TestIsValid.xml ./tests/robustness.xml ./tests/buffer.xml ./tests/test.xml ./tests/singlesidedbuffer.xml ./tests/bug176.xml ./tests/bug188.xml ./tests/bug244.xml ./tests/bug275.xml ./tests/general/TestBoundary.xml ./tests/general/TestBuffer.xml ./tests/general/TestBufferMitredJoin.xml ./tests/general/TestCentroid.xml ./tests/general/TestConvexHull.xml ./tests/general/TestConvexHull-big.xml ./tests/general/TestFunctionAAPrec.xml ./tests/general/TestFunctionAA.xml ./tests/general/TestFunctionLAPrec.xml ./tests/general/TestFunctionLA.xml ./tests/general/TestFunctionLLPrec.xml ./tests/general/TestFunctionLL.xml ./tests/general/TestFunctionPA.xml ./tests/general/TestFunctionPLPrec.xml ./tests/general/TestFunctionPL.xml ./tests/general/TestFunctionPP.xml ./tests/general/TestInteriorPoint.xml ./tests/general/TestRectanglePredicate.xml ./tests/general/TestRelateAA.xml ./tests/general/TestRelateLA.xml ./tests/general/TestRelateLL.xml ./tests/general/TestRelatePL.xml ./tests/general/TestRelateAC.xml ./tests/general/TestRelateLC.xml ./tests/general/TestRelatePA.xml ./tests/general/TestRelatePP.xml ./tests/general/TestSimple.xml ./tests/general/TestValid.xml ./tests/general/TestValid2.xml ./tests/general/TestValid2-big.xml ./tests/general/TestWithinDistance.xml ./tests/stmlf/stmlf-cases-20061020.xml ./tests/stmlf/stmlf-cases-20070119.xml ./tests/robust/TestRobustOverlayFixed.xml ./tests/robust/TestRobustRelate.xml ./tests/fme.xml ./tests/TestBufferExternal.xml ./tests/TestBufferExternal2.xml ./tests/heisenbugs.xml ./tests/badguy3.xml ./tests/hole_from_shell.xml ./tests/hole_red.xml ./tests/safe/16595.xml ./tests/safe/16596.xml FAIL: testrunner ================== 1 of 1 test failed ================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/usr/local/src/geos-3.2.2/tests/xmltester' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/usr/local/src/geos-3.2.2/tests/xmltester' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/geos-3.2.2/tests' make: *** [check-recursive] Error 1 plug geos-3.2.2 #

What do you recommend I do next? Are there certain compiler flags at play, is there something I can provide which will reveal the problem?

Changed 17 months ago by jlpoole

I had not realized "configure" might have delegated some compiles to the distributed compiler, so with the distcc turned off, I reran configure, then I did makes outputting STDOUT to files for analysis. Here are the STDERR messages generated during those sessions:

plug geos-3.2.2 # make > make-nodistcc.log tinyxml/tinyxml.cpp: In member function âvoid TiXmlAttribute::SetDoubleValue?(double)â: tinyxml/tinyxml.cpp:1269: warning: ISO C++ does not support the â%lfâ gnu_printf format plug geos-3.2.2 # make check >make-check-nodistcc.log bufferOriginalPrecision failed (TopologyException?: assigned depths do not match at 1.33558e+06 631781), trying with reduced precision recomputing with precision scale factor = 1e+10 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+10 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+10 recomputing with precision scale factor = 1e+09 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+09 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+09 bufferOriginalPrecision failed (TopologyException?: assigned depths do not match at 1.33559e+06 631780), trying with reduced precision recomputing with precision scale factor = 1e+10 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+10 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+10 recomputing with precision scale factor = 1e+09 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+09 ReScaler?: offsetX,Y: 0,0 scaleFactor: 1e+09 XMLTester: GeometryComponentFilter?.cpp:35: virtual void geos::geom::GeometryComponentFilter::filter_ro(const geos::geom::Geometry*): Assertion `0' failed. ./testrunner: line 1: 14920 Aborted ./XMLTester -v ./tests/testLeaksBig.xml ./tests/split.xml ./tests/hexwkb.xml ./tests/test.xml ./tests/linemerge.xml ./tests/TestIsValid.xml ./tests/robustness.xml ./tests/buffer.xml ./tests/test.xml ./tests/singlesidedbuffer.xml ./tests/bug176.xml ./tests/bug188.xml ./tests/bug244.xml ./tests/bug275.xml ./tests/general/TestBoundary.xml ./tests/general/TestBuffer.xml ./tests/general/TestBufferMitredJoin.xml ./tests/general/TestCentroid.xml ./tests/general/TestConvexHull.xml ./tests/general/TestConvexHull-big.xml ./tests/general/TestFunctionAAPrec.xml ./tests/general/TestFunctionAA.xml ./tests/general/TestFunctionLAPrec.xml ./tests/general/TestFunctionLA.xml ./tests/general/TestFunctionLLPrec.xml ./tests/general/TestFunctionLL.xml ./tests/general/TestFunctionPA.xml ./tests/general/TestFunctionPLPrec.xml ./tests/general/TestFunctionPL.xml ./tests/general/TestFunctionPP.xml ./tests/general/TestInteriorPoint.xml ./tests/general/TestRectanglePredicate.xml ./tests/general/TestRelateAA.xml ./tests/general/TestRelateLA.xml ./tests/general/TestRelateLL.xml ./tests/general/TestRelatePL.xml ./tests/general/TestRelateAC.xml ./tests/general/TestRelateLC.xml ./tests/general/TestRelatePA.xml ./tests/general/TestRelatePP.xml ./tests/general/TestSimple.xml ./tests/general/TestValid.xml ./tests/general/TestValid2.xml ./tests/general/TestValid2-big.xml ./tests/general/TestWithinDistance.xml ./tests/stmlf/stmlf-cases-20061020.xml ./tests/stmlf/stmlf-cases-20070119.xml ./tests/robust/TestRobustOverlayFixed.xml ./tests/robust/TestRobustRelate.xml ./tests/fme.xml ./tests/TestBufferExternal.xml ./tests/TestBufferExternal2.xml ./tests/heisenbugs.xml ./tests/badguy3.xml ./tests/hole_from_shell.xml ./tests/hole_red.xml ./tests/safe/16595.xml ./tests/safe/16596.xml make[3]: *** [check-TESTS] Error 1 make[2]: *** [check-am] Error 2 make[1]: *** [check-recursive] Error 1 make: *** [check-recursive] Error 1 plug geos-3.2.2 #

Changed 5 months ago by strk

  • milestone set to 3.2.4

jlpoole: still interested ? Any luck lately ? If you're still with us please post the new output from geos-3.2.3, and wrap your preformatted text in 3 brackets (as does the 5th button in the editor)

Changed 5 months ago by jlpoole

  • status changed from new to closed
  • resolution set to fixed

I downloaded geos-3.3.0.tar.bz2 and did the following:

./configure make make check make install

No errors. I have the logs of the above, except for "make". Please let me know if I should make them available anywhere.

I don't have to time until next week to see what install did or configuration. But, as far as this ticket is concerned, the problem I came to you with has been resolved in this newer release.

Thank you.

Note: See TracTickets for help on using tickets.