https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115107
--- Comment #17 from Natalie Perlin <natalie.perlin at noaa dot gov> --- anl...@gcc.gnu.org - Thank you for you comment on the new compiler version/new bug (to file a separate report for gnu/14.1.0) It turns out, however, that other packages from the software stack collection do through in another compiler error with the gnu/13.3.0 compiler. Brief note on the errors is below. Does it need to be submitted as a separate ticket/different bug? I'd prepare a preprocessed file where the error occurs. --------------- ... libtool: compile: /scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.5.1/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.5.1/envs/unified-env-rocky8/install/gcc/13.2.0/eccodes-2.27.0-iqito7n/include -I/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.5.1/envs/unified-env-rocky8/install/gcc/13.2.0/netcdf-c-4.9.2-6wbvfy2/include -I/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.5.1/envs/unified-env-rocky8/install/gcc/13.2.0/libaec-1.0.6-fhfcct7/include -DCDI_SIZE_TYPE=size_t -DCDI_DATE_TYPE=int64_t -DgFortran -g -O2 -pthread -MT gribapi_utilities.lo -MD -MP -MF .deps/gribapi_utilities.Tpo -c gribapi_utilities.c -fPIC -DPIC -o gribapi_utilities.o >/dev/null 2>&1 libtool: link: ar cru .libs/libcdiresunpack.a .libs/resource_unpack.o mv -f .deps/iterator_grib.Tpo .deps/iterator_grib.Plo libtool: link: ranlib .libs/libcdiresunpack.a during RTL pass: expand stream_gribapi.c: In function 'gribapiVarCompare.isra': stream_gribapi.c:852:1: internal compiler error: in classify_argument, at config/i386/i386.cc:2399 852 | gribapiVarCompare(compvar2_t compVar, record_t record, int flag) | ^~~~~~~~~~~~~~~~~ libtool: link: ( cd ".libs" && rm -f "libcdiresunpack.la" && ln -s "../libcdiresunpack.la" "libcdiresunpack.la" ) mv -f .deps/gribapi_utilities.Tpo .deps/gribapi_utilities.Plo 0x7140ec classify_argument ../../gcc/config/i386/i386.cc:2399 0xfaa866 classify_argument ../../gcc/config/i386/i386.cc:2546 0xfaaa1f construct_container ../../gcc/config/i386/i386.cc:2643 0xfad750 function_arg_64 ../../gcc/config/i386/i386.cc:3312 0xfad750 ix86_function_arg ../../gcc/config/i386/i386.cc:3426 0x9cd7fd assign_parm_find_entry_rtl ../../gcc/function.cc:2538 0x9cdb8c assign_parms ../../gcc/function.cc:3693 0x9cfcde expand_function_start(tree_node*) ../../gcc/function.cc:5177 0x8832d1 execute ../../gcc/cfgexpand.cc:6725 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. make[3]: *** [Makefile:944: stream_gribapi.lo] Error 1 make[3]: Leaving directory '/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.5.1/cache/build_stage/spack-stage-cdo-2.0.5-ndljrw567z3hjwtgc4qz4fyd2pbirrta/spack-src/libcdi/src' make[2]: *** [Makefile:713: all] Error 2 make[2]: Leaving directory '/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.5.1/cache/build_stage/spack-stage-cdo-2.0.5-ndljrw567z3hjwtgc4qz4fyd2pbirrta/spack-src/libcdi/src' make[1]: *** [Makefile:535: all-recursive] Error 1 make[1]: Leaving directory '/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.5.1/cache/build_stage/spack-stage-cdo-2.0.5-ndljrw567z3hjwtgc4qz4fyd2pbirrta/spack-src/libcdi' make: *** [Makefile:492: all-recursive] Error 1 ==> Error: ProcessError: Command exited with status 2: 'make' '-j4' 'V=1' 5 errors found in build log: 1020 libtool: compile: /scratch2/NCEPDEV/stmp1/role.epic/spack-stack/s pack-stack-1.5.1/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. - I/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.5.1/e nvs/unified-env-rocky8/install/gcc/13.2.0/eccodes-2.27.0-iqito7n/i nclude -I/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack -1.5.1/envs/unified-env-rocky8/install/gcc/13.2.0/netcdf-c-4.9.2-6 wbvfy2/include -I/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spa ck-stack-1.5.1/envs/unified-env-rocky8/install/gcc/13.2.0/libaec-1 .0.6-fhfcct7/include -DCDI_SIZE_TYPE=size_t -DCDI_DATE_TYPE=int64_ t -DgFortran -g -O2 -pthread -MT gribapi_utilities.lo -MD -MP -MF .deps/gribapi_utilities.Tpo -c gribapi_utilities.c -fPIC -DPIC -o gribapi_utilities.o >/dev/null 2>&1 1021 libtool: link: ar cru .libs/libcdiresunpack.a .libs/resource_unpac k.o 1022 mv -f .deps/iterator_grib.Tpo .deps/iterator_grib.Plo 1023 libtool: link: ranlib .libs/libcdiresunpack.a 1024 during RTL pass: expand 1025 stream_gribapi.c: In function 'gribapiVarCompare.isra': >> 1026 stream_gribapi.c:852:1: internal compiler error: in classify_argum ent, at config/i386/i386.cc:2399 1027 852 | gribapiVarCompare(compvar2_t compVar, record_t record, int flag) 1028 | ^~~~~~~~~~~~~~~~~ 1029 libtool: link: ( cd ".libs" && rm -f "libcdiresunpack.la" && ln -s "../libcdiresunpack.la" "libcdiresunpack.la" ) 1030 mv -f .deps/gribapi_utilities.Tpo .deps/gribapi_utilities.Plo 1031 0x7140ec classify_argument 1032 ../../gcc/config/i386/i386.cc:2399 ... 1046 ../../gcc/function.cc:5177 1047 0x8832d1 execute 1048 ../../gcc/cfgexpand.cc:6725 1049 Please submit a full bug report, with preprocessed source (by usin g -freport-bug). 1050 Please include the complete backtrace with any bug report. 1051 See <https://gcc.gnu.org/bugs/> for instructions. >> 1052 make[3]: *** [Makefile:944: stream_gribapi.lo] Error 1 1053 make[3]: Leaving directory '/scratch2/NCEPDEV/stmp1/role.epic/spac k-stack/spack-stack-1.5.1/cache/build_stage/spack-stage-cdo-2.0.5- ndljrw567z3hjwtgc4qz4fyd2pbirrta/spack-src/libcdi/src' >> 1054 make[2]: *** [Makefile:713: all] Error 2 1055 make[2]: Leaving directory '/scratch2/NCEPDEV/stmp1/role.epic/spac k-stack/spack-stack-1.5.1/cache/build_stage/spack-stage-cdo-2.0.5- ndljrw567z3hjwtgc4qz4fyd2pbirrta/spack-src/libcdi/src' >> 1056 make[1]: *** [Makefile:535: all-recursive] Error 1 1057 make[1]: Leaving directory '/scratch2/NCEPDEV/stmp1/role.epic/spac k-stack/spack-stack-1.5.1/cache/build_stage/spack-stage-cdo-2.0.5- ndljrw567z3hjwtgc4qz4fyd2pbirrta/spack-src/libcdi' >> 1058 make: *** [Makefile:492: all-recursive] Error 1 See build log for details: ... ---------------------