public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "natalie.perlin at noaa dot gov" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-115107-4-wvTUmDrh5U@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-115107-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115107

--- Comment #17 from Natalie Perlin <natalie.perlin at noaa dot gov> ---
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 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:
...
---------------------

  parent reply	other threads:[~2024-05-29 15:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-15 16:53 [Bug fortran/115107] New: " natalie.perlin at noaa dot gov
2024-05-15 16:56 ` [Bug fortran/115107] " jakub at gcc dot gnu.org
2024-05-15 17:01 ` jakub at gcc dot gnu.org
2024-05-15 17:15 ` rguenth at gcc dot gnu.org
2024-05-15 18:13 ` anlauf at gcc dot gnu.org
2024-05-16  4:29 ` natalie.perlin at noaa dot gov
2024-05-16  7:08 ` natalie.perlin at noaa dot gov
2024-05-16  7:20 ` natalie.perlin at noaa dot gov
2024-05-16 17:06 ` anlauf at gcc dot gnu.org
2024-05-16 18:26 ` natalie.perlin at noaa dot gov
2024-05-22  6:16 ` natalie.perlin at noaa dot gov
2024-05-22  7:55 ` natalie.perlin at noaa dot gov
2024-05-22  8:00 ` jakub at gcc dot gnu.org
2024-05-22 15:14 ` natalie.perlin at noaa dot gov
2024-05-22 15:23 ` jakub at gcc dot gnu.org
2024-05-22 17:11 ` anlauf at gcc dot gnu.org
2024-05-25 18:54 ` natalie.perlin at noaa dot gov
2024-05-26 18:38 ` anlauf at gcc dot gnu.org
2024-05-29 15:23 ` natalie.perlin at noaa dot gov [this message]
2024-05-29 15:30 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-115107-4-wvTUmDrh5U@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).