Skip to content

Does not compile with gcc 11.0.0 (due to compiler error) #206

@ghbrown

Description

@ghbrown

Describe the bug
Compiling PROGRESS with most recent gfortran compiler (gcc 11.0.0) results in a compiler error (as in the compiler itself breaks). I recognize that this is very likely not the problem of PROGRESS developers, but before I submit a bug report to any gfortran developers, I would like to make sure it is reproducible by somebody more knowledgeable about these libraries. Perhaps somebody has already reported this, but no open or closed issues have any mention of it.

Just a few months ago built with no issues, so perhaps the new gcc release has bugs if one came out in that time.

To Reproduce
Steps to reproduce the behavior:

  • install most recent version of BML and PROGRESS
  • build BML (sh build.sh compile; sh build.sh install)
  • go to PROGRESS directory and build (sh example_build.sh; cd build; cd build; make)
  • if my problem is reproducible, you should get an error near gpmd_dist at about 79% (full error below)
Scanning dependencies of target gpmd_dist
[ 79%] Building Fortran object examples/CMakeFiles/gpmd_dist.dir/gpdist/gpmd_dist.F90.o
f951: internal compiler error: Segmentation fault
0x16db558 internal_error(char const*, ...)
	???:0
0x7606f0 gfc_sym_get_dummy_args(gfc_symbol*)
	???:0
0x808989 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*)
	???:0
0x808a9e gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*)
	???:0
0x808989 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*)
	???:0
0x808a9e gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*)
	???:0
0x808a9e gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*)
	???:0
0x80a12a gfc_run_passes(gfc_namespace*)
	???:0
0x727323 gfc_resolve(gfc_namespace*)
	???:0
0x73880f gfc_resolve_code(gfc_code*, gfc_namespace*)
	???:0
0x73b107 gfc_resolve_blocks(gfc_code*, gfc_namespace*)
	???:0
0x7386d6 gfc_resolve_code(gfc_code*, gfc_namespace*)
	???:0
0x7272fa gfc_resolve(gfc_namespace*)
	???:0
0x719618 gfc_parse_file()
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.
make[2]: *** [examples/CMakeFiles/gpmd_dist.dir/build.make:75: examples/CMakeFiles/gpmd_dist.dir/gpdist/gpmd_dist.F90.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:452: examples/CMakeFiles/gpmd_dist.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

The build log is attached: build.log, but please let me know if any more information is needed. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions