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

Add -fno-backtrace for gfortran 4.8.0 and above #30

Open
andreww opened this issue Jul 6, 2013 · 2 comments
Open

Add -fno-backtrace for gfortran 4.8.0 and above #30

andreww opened this issue Jul 6, 2013 · 2 comments

Comments

@andreww
Copy link
Owner

andreww commented Jul 6, 2013

Report of errors from make check with gfortran 4.8.0... Part of my reply to Francisco: I think the errors you see when doing "make check" with gfortran 4.8.0 are because new gfortrans will build executables such that they dump a backtrace if they abort (this had to be enabled with a command line switch for earlier versions). FoX will trigger an abort by default in response to things like trying to write a malformed XML document and this is tested in the test suite. The presence of a backtrace is confusing the test harness. You can work around this by adding -fno-backtrace to the FFLAGS line in arch.make after running configure and before running make or make check. We should probably make the configure script test for the presence of a backtrace in this case and turn it off (by adding the flag). That's a non-trivial little project in itself though.

@andreww
Copy link
Owner Author

andreww commented Jan 12, 2018

Fix (for travisCI) via d2ad441

Need to add a note to the documentation about this too.

@andreww
Copy link
Owner Author

andreww commented Mar 4, 2021

There is also the GFORTRAN_ERROR_BACKTRACE. environment variable. Probably a better fix the the CI.

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

No branches or pull requests

1 participant