-
Notifications
You must be signed in to change notification settings - Fork 284
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
OCE 0.16.1 Tests segfaulting with GCC 6.0.0 #605
Comments
Is GCC 6 even considered stable yet? |
I'd have to ask but Fedora Rawhide (future 24 version) is rebuilding all packages against it. |
I tried adding "-fno-delete-null-pointer-checks" to the test binaries per google/googletest#705 but no luck, but I only added it to the binaries, not the test library. |
Adding "-fno-delete-null-pointer-checks" as a global CXXFLAG worked but it's still just a work around. |
@hobbes1069 it might be related to issue #604 and #576 . clang used to perform optimizations that makes oce segfault, maybe it's the same with recent gcc versions. Don't know if it's possible to cherry-pick commit 61cb965 that fixes this issue over oce-0.17 but i's worth trying. |
It applied cleanly to 0.17 so I'm doing a test build however Fedora is still stuck on 0.16.1 until smesh is updated. Hopefully it applies cleanly to it as well. Thanks for the pointer. |
On a side note, does this fix create an ABI change? If so I'll need to rebuild all dependencies. |
I went ahead and did a new build. Everything seems OK but the ARM build is still going, but that's to be expected. |
I'm assuming this is a GCC 6.0 issue since this wasn't happening before.
Here's the list of failed tests:
The full testlog is here:
https://dl.dropboxusercontent.com/u/34775202/LastTest.log
And the stack trace of one of the tests:
https://dl.dropboxusercontent.com/u/34775202/BRepImport_test_gdb.txt
The text was updated successfully, but these errors were encountered: