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

gfortran-11.4 Internal Compiler Error building test_network.f90 #20

Open
milancurcic opened this issue Apr 15, 2024 · 5 comments
Open
Assignees
Labels
bug Something isn't working support Support for different operating systems, compilers, and architectures

Comments

@milancurcic
Copy link
Contributor

milancurcic commented Apr 15, 2024

When issuing fpm test --profile release:

...
test_dropblock3d_layer.f90             done.
test_network.f90                       failed.
[ 63%] Compiling...
f951: internal compiler error: Segmentation fault
0x74e33f24251f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x74e33f229d8f __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x74e33f229e3f __libc_start_main_impl
        ../csu/libc-start.c:392
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
<ERROR> Compilation failed for object " test_test_network.f90.o "
<ERROR> stopping due to failed compilation
STOP 1

I can see that the README states that the lowest tested gfortran is v13, and that the library is possibly not expected to build with lower version. Reporting here nevertheless to document the issue.

Part of openjournals/joss-reviews#6492

@milancurcic milancurcic changed the title gfortran-11.4 Internal Compiler Error building test_network.f90 gfortran-11.4 and 12.3 Internal Compiler Error building test_network.f90 Apr 15, 2024
@milancurcic
Copy link
Contributor Author

The issue occurs with --profile debug as well.

@milancurcic milancurcic changed the title gfortran-11.4 and 12.3 Internal Compiler Error building test_network.f90 gfortran-11.4 Internal Compiler Error building test_network.f90 Apr 15, 2024
@milancurcic
Copy link
Contributor Author

Correction, v12.3 doesn't encounter this issue.

@nedtaylor nedtaylor added bug Something isn't working support Support for different operating systems, compilers, and architectures labels Apr 16, 2024
@milancurcic
Copy link
Contributor Author

@nedtaylor Can you put an update to the README.md that the library works with v12.3?

@nedtaylor nedtaylor self-assigned this May 25, 2024
@nedtaylor
Copy link
Owner

@nedtaylor Can you put an update to the README.md that the library works with v12.3?

@milancurcic Reference added in commit 5882155.

@nedtaylor
Copy link
Owner

Leaving this issue open for now as I will look into why it fails for v11.4 and whether this can be fixed at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working support Support for different operating systems, compilers, and architectures
Projects
None yet
Development

No branches or pull requests

2 participants