Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test unit-geom-Envelope fails on FreeBSD 14.1 #1206

Open
diizzyy opened this issue Dec 7, 2024 · 0 comments
Open

Unit test unit-geom-Envelope fails on FreeBSD 14.1 #1206

diizzyy opened this issue Dec 7, 2024 · 0 comments

Comments

@diizzyy
Copy link

diizzyy commented Dec 7, 2024

Hi,

One unit test fails on FreeBSD

183/494 Testing: unit-geom-Envelope
183/494 Test: unit-geom-Envelope
Command: "/usr/ports/graphics/geos/work/.build/bin/test_geos_unit" "geos::geom::Envelope"
Directory: /usr/ports/graphics/geos/work/.build/tests/unit
"unit-geom-Envelope" start time: Dec 07 12:21 CET
Output:
----------------------------------------------------------
===============================
  GEOS Unit Test Suite
===============================

geos::geom::Envelope: .....[6=F].......[14=F]......

---> group: geos::geom::Envelope, test: test<6>
     problem: assertion failed
     failed assertion: `FE_INVALID raised`

---> group: geos::geom::Envelope, test: test<14>
     problem: assertion failed
     failed assertion: `FE_INVALID raised`

tests summary: failures:2 ok:18
<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Failed.
"unit-geom-Envelope" end time: Dec 07 12:21 CET
"unit-geom-Envelope" time elapsed: 00:00:00
----------------------------------------------------------

OS: FreeBSD 14.1 (amd64)
Version: 3.13.0 and latest main (dd0fdc5
Compiler: Clang 18.1.5
CMake: 3.31.0

Edit:
All tests passes with GCC 13.3.0 but it would be nice if Clang also passed
Also fails using Clang 15.0.7
Passes if -ffp-model=strict is added to CXXFLAGS
https://clang.llvm.org/docs/UsersManual.html#controlling-floating-point-behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant