public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "afernandez at odyhpc dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/100755] New: Error with fortran object (v11.1.0)
Date: Tue, 25 May 2021 15:27:12 +0000	[thread overview]
Message-ID: <bug-100755-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 100755
           Summary: Error with fortran object (v11.1.0)
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: afernandez at odyhpc dot com
  Target Milestone: ---

Hello,
I'm trying to compile NCEPLIBS (https://github.com/NOAA-EMC/NCEPLIBS) with
11.1.0 and getting the following error:

$sudo make

-- Build files have been written to: /opt/praetorium/NCEPLIBS/build
[centos@ip-172-31-20-40 build]$ sudo make
[  0%] Built target prep2deploy
[  0%] Creating directories for 'w3nco'
[  1%] Performing download step (git clone) for 'w3nco'
Cloning into 'nceplibs-w3nco'...
HEAD is now at 068435b Merge pull request #16 from
NOAA-EMC/gcc-10-settable-flags
[  2%] Performing update step for 'w3nco'
[  3%] No patch step for 'w3nco'
[  3%] Performing configure step for 'w3nco'
-- The C compiler identification is GNU 11.1.0
-- The Fortran compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/praetorium/openmpi/bin/mpicc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /opt/praetorium/openmpi/bin/mpif90 -
skipped
-- Checking whether /opt/praetorium/openmpi/bin/mpif90 supports Fortran 90
-- Checking whether /opt/praetorium/openmpi/bin/mpif90 supports Fortran 90 -
yes
-- Setting build type to 'Release' as none was specified.
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    OPENMP


-- Build files have been written to:
/opt/praetorium/NCEPLIBS/build/w3nco/src/w3nco-build
[  4%] Performing build step for 'w3nco'
Scanning dependencies of target w3nco_4_f
[  1%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/aea.f.o
[  1%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/errexit.f.o
[  1%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/errmsg.f.o
[  2%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/fparsei.f.o
[  2%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/fparser.f.o
[  2%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/gbytec.f.o
[  2%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/gbyte.f.o
[  3%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/gbytesc.f.o
[  3%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/gbytes.f.o
[  3%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getbit.f.o
[  4%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgb1.f.o
[  4%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgb1re.f.o
[  4%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgb1r.f.o
[  5%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgb1s.f.o
[  5%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbe.f.o
[  5%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbeh.f.o
[  5%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbem.f.o
[  6%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbemh.f.o
[  6%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbemn.f.o
[  6%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbemp.f.o
[  7%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbep.f.o
[  7%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbex.f.o
[  7%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbexm.f.o
[  8%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgb.f.o
[  8%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbh.f.o
[  8%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbm.f.o
[  8%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbmh.f.o
[  9%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbmp.f.o
[  9%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgbp.f.o
[  9%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgi.f.o
[ 10%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/getgir.f.o
[ 10%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/gtbits.f.o
[ 10%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/idsdef.f.o
[ 11%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/instrument.f.o
[ 11%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/iw3jdn.f.o
[ 11%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/iw3pds.f.o
[ 11%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/iw3unp29.f.o
[ 12%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/ixgb.f.o
[ 12%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/lengds.f.o
[ 12%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/makwmo.f.o
[ 13%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/mkfldsep.f.o
[ 13%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/pdsens.f.o
[ 13%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/pdseup.f.o
[ 13%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/putgbe.f.o
[ 14%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/putgben.f.o
[ 14%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/putgbex.f.o
[ 14%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/putgb.f.o
[ 15%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/putgbn.f.o
[ 15%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/q9ie32.f.o
[ 15%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/r63w72.f.o
[ 16%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/sbytec.f.o
[ 16%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/sbyte.f.o
[ 16%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/sbytesc.f.o
[ 16%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/sbytes.f.o
[ 17%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/skgb.f.o
[ 17%] Building Fortran object src/CMakeFiles/w3nco_4_f.dir/w3ai00.f.o
during RTL pass: expand
/opt/praetorium/NCEPLIBS/download/nceplibs-w3nco/src/w3ai00.f:168:72:

  168 |            N = MAX0(-127_8,MIN0(127_8,N))
      |                                                                       
^
internal compiler error: in expand_fix, at optabs.c:5532
0xbacc6f expand_fix(rtx_def*, rtx_def*, int)
        ../../gcc-11.1.0/gcc/optabs.c:5532
0x9b4b3b expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc-11.1.0/gcc/expr.c:9304
0x9ba283 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc-11.1.0/gcc/expr.c:10210
0x9b3713 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**, bool)
        ../../gcc-11.1.0/gcc/expr.c:8519
0x9b3713 expand_expr
        ../../gcc-11.1.0/gcc/expr.h:282
0x9b3713 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc-11.1.0/gcc/expr.c:8802
0x9ba283 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc-11.1.0/gcc/expr.c:10210
0x9bba37 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**, bool)
        ../../gcc-11.1.0/gcc/expr.c:8519
0x9bba37 expand_expr
        ../../gcc-11.1.0/gcc/expr.h:282
0x9bba37 expand_operands(tree_node*, tree_node*, rtx_def*, rtx_def**,
rtx_def**, expand_modifier)
        ../../gcc-11.1.0/gcc/expr.c:8110
0x9b3b7b expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc-11.1.0/gcc/expr.c:9361
0x9ba283 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc-11.1.0/gcc/expr.c:10210
0x9b4b23 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**, bool)
        ../../gcc-11.1.0/gcc/expr.c:8519
0x9b4b23 expand_normal
        ../../gcc-11.1.0/gcc/expr.h:288
0x9b4b23 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc-11.1.0/gcc/expr.c:9301
0x9ba283 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc-11.1.0/gcc/expr.c:10210
0x9b3713 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**, bool)
        ../../gcc-11.1.0/gcc/expr.c:8519
0x9b3713 expand_expr
        ../../gcc-11.1.0/gcc/expr.h:282
0x9b3713 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc-11.1.0/gcc/expr.c:8802
0x8bbe5b expand_gimple_stmt_1
        ../../gcc-11.1.0/gcc/cfgexpand.c:3947
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[5]: *** [src/CMakeFiles/w3nco_4_f.dir/build.make:790:
src/CMakeFiles/w3nco_4_f.dir/w3ai00.f.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:114: src/CMakeFiles/w3nco_4_f.dir/all] Error
2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/w3nco.dir/build.make:86:
w3nco/src/w3nco-stamp/w3nco-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:643: CMakeFiles/w3nco.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I used cmake 3.20.2 for configuration before running make. The compilation with
GCC 10.2.0 didn't have any trouble (as far as I recall). Thank you.

             reply	other threads:[~2021-05-25 15:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-25 15:27 afernandez at odyhpc dot com [this message]
2021-05-25 15:42 ` [Bug fortran/100755] " marxin at gcc dot gnu.org
2021-05-25 18:58 ` [Bug middle-end/100755] " anlauf at gcc dot gnu.org
2021-05-25 21:10 ` afernandez at odyhpc dot com
2021-05-25 22:04 ` dominiq at lps dot ens.fr
2021-05-26  0:11 ` afernandez at odyhpc dot com
2021-05-26  6:42 ` anlauf at gcc dot gnu.org
2021-05-26 13:43 ` afernandez at odyhpc dot com
2021-06-18 17:52 ` anlauf at gcc dot gnu.org
2022-01-01  9:04 ` pinskia 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-100755-4@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).