From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DAEC23858D20; Wed, 29 May 2024 15:23:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAEC23858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716996194; bh=9OlUCi04eul00W5k7AC5FUJnYmV/GG10kwZVhrasPfc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=w5je2zcuprEEzI1nZLa3oPEiK2cudyOklmVAXdUOOLNxQTDRHKZJ4xILdCM/b2ks6 KLyFOBtK53AsYZbh0Qt9rhfmYShLAvKydc6U8DhVWUouF1xV7zAiu1TKYNZWyjkrEg cv/D4WbDpjONyzj9Y9pPKGIckszBw3PgWpJaMil8= From: "natalie.perlin at noaa dot gov" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/115107] f951: internal compiler error: Segmentation fault 0xcf878f crash_signal toplev.cc:314 Date: Wed, 29 May 2024 15:23:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: natalie.perlin at noaa dot gov X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D115107 --- Comment #17 from Natalie Perlin --- anlauf@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 collecti= on do through in another compiler error with the gnu/13.3.0 compiler.=20 Brief note on the errors is below. Does it need to be submitted as a separa= te ticket/different bug? I'd prepare a preprocessed file where the error occurs.=20 --------------- ... libtool: compile:=20 /scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.5.1/spack/lib/s= pack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.5.1/envs/unif= ied-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/unif= ied-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/unif= ied-env-rocky8/install/gcc/13.2.0/libaec-1.0.6-fhfcct7/include -DCDI_SIZE_TYPE=3Dsize_t -DCDI_DATE_TYPE=3Dint64_t -DgFortran -g -O2 -pthre= ad -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 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/buil= d_stage/spack-stage-cdo-2.0.5-ndljrw567z3hjwtgc4qz4fyd2pbirrta/spack-src/li= bcdi/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/buil= d_stage/spack-stage-cdo-2.0.5-ndljrw567z3hjwtgc4qz4fyd2pbirrta/spack-src/li= bcdi/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/buil= d_stage/spack-stage-cdo-2.0.5-ndljrw567z3hjwtgc4qz4fyd2pbirrta/spack-src/li= bcdi' make: *** [Makefile:492: all-recursive] Error 1 =3D=3D> Error: ProcessError: Command exited with status 2: 'make' '-j4' 'V=3D1' 5 errors found in build log: 1020 libtool: compile: /scratch2/NCEPDEV/stmp1/role.epic/spack-sta= ck/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-iqito= 7n/i nclude -I/scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-s= tack -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/liba= ec-1 .0.6-fhfcct7/include -DCDI_SIZE_TYPE=3Dsize_t -DCDI_DATE_TYPE= =3Dint64_ t -DgFortran -g -O2 -pthread -MT gribapi_utilities.lo -MD -MP = -MF .deps/gribapi_utilities.Tpo -c gribapi_utilities.c -fPIC -DPI= C -o gribapi_utilities.o >/dev/null 2>&1 1021 libtool: link: ar cru .libs/libcdiresunpack.a .libs/resource_u= npac 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_a= rgum 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" && l= n -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 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: ... ---------------------=