public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/104006] New: [12 regression] power-ieee128 merge breaks Solaris build
@ 2022-01-13 12:39 ro at gcc dot gnu.org
  2022-01-13 12:40 ` [Bug libfortran/104006] " ro at gcc dot gnu.org
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: ro at gcc dot gnu.org @ 2022-01-13 12:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104006
           Summary: [12 regression] power-ieee128 merge breaks Solaris
                    build
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org, tkoenig at gcc dot gnu.org
  Target Milestone: ---
            Target: *-*-solaris2.11

Between 20220111 and 20220112, Solaris bootstrap (both sparc and x86) got badly
broken, obviously due to the power-ieee128 merge:

* Initially, the build aborted with

make[2]: *** No rule to make target 'gfortran.ver-sun', needed by 'all'.  Stop.

  This can easily be fixed by renaming the target to gfortran.ver-sun.

* What's way worse, however, is that parallel builds fail repeatedly in
  libgfortran:

  On x86 (-j48), I get

In file included from
/vol/gcc/src/hg/master/local/libgfortran/runtime/bounds.c:25:
/vol/gcc/src/hg/master/local/libgfortran/libgfortran.h:393:31: error: unknown
type name 'GFC_REAL_4'
  393 | typedef GFC_ARRAY_DESCRIPTOR (GFC_REAL_4) gfc_array_r4;
      |                               ^~~~~~~~~~
/vol/gcc/src/hg/master/local/libgfortran/libgfortran.h:375:3: note: in
definition of macro 'GFC_ARRAY_DESCRIPTOR'
  375 |   type *base_addr;\
      |   ^~~~
/vol/gcc/src/hg/master/local/libgfortran/libgfortran.h:394:31: error: unknown
type name 'GFC_REAL_8'
  394 | typedef GFC_ARRAY_DESCRIPTOR (GFC_REAL_8) gfc_array_r8;
      |                               ^~~~~~~~~~
/vol/gcc/src/hg/master/local/libgfortran/libgfortran.h:375:3: note: in
definition of macro 'GFC_ARRAY_DESCRIPTOR'
  375 |   type *base_addr;\
      |   ^~~~
/vol/gcc/src/hg/master/local/libgfortran/libgfortran.h:404:31: error: unknown
type name 'GFC_COMPLEX_4'
  404 | typedef GFC_ARRAY_DESCRIPTOR (GFC_COMPLEX_4) gfc_array_c4;
      |                               ^~~~~~~~~~~~~
/vol/gcc/src/hg/master/local/libgfortran/libgfortran.h:375:3: note: in
definition of macro 'GFC_ARRAY_DESCRIPTOR'
  375 |   type *base_addr;\
      |   ^~~~
/vol/gcc/src/hg/master/local/libgfortran/libgfortran.h:405:31: error: unknown
type name 'GFC_COMPLEX_8'
  405 | typedef GFC_ARRAY_DESCRIPTOR (GFC_COMPLEX_8) gfc_array_c8;
      |                               ^~~~~~~~~~~~~
/vol/gcc/src/hg/master/local/libgfortran/libgfortran.h:375:3: note: in
definition of macro 'GFC_ARRAY_DESCRIPTOR'
  375 |   type *base_addr;\
      |   ^~~~

  also for several other files.  All those definitions live in the generated
  kinds.h.  I cannot yet tell if the header isn't generated atomically.

  On sparc (-j64), I get instead:

/vol/gcc/src/hg/master/local/libgfortran/ieee/ieee_exceptions.F90:28:2:

   28 | #include "c99_protos.inc"
      |  1~~~~~~~~~~
Fatal Error: kinds.inc: No such file or directory

  I notice that there's no .deps/*.Plo file for this source file; probably
  some dependencies are missing.

Manually restarting the libgfortran build (often several times) ultimately
lets the build succeed.

For comparison's sake I also tried -j64 builds on x86_64-pc-linux-gnu and
i686-pc-linux-gnu.  Both succeeded without issues.

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2022-01-15 12:22 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-13 12:39 [Bug libfortran/104006] New: [12 regression] power-ieee128 merge breaks Solaris build ro at gcc dot gnu.org
2022-01-13 12:40 ` [Bug libfortran/104006] " ro at gcc dot gnu.org
2022-01-13 13:17 ` jakub at gcc dot gnu.org
2022-01-13 13:20 ` jakub at gcc dot gnu.org
2022-01-13 13:43 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-01-13 14:01 ` jakub at gcc dot gnu.org
2022-01-13 14:04 ` jakub at gcc dot gnu.org
2022-01-13 14:28 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-01-13 14:30 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-01-13 14:37 ` jakub at gcc dot gnu.org
2022-01-13 14:52 ` jakub at gcc dot gnu.org
2022-01-13 15:02 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-01-13 15:07 ` jakub at gcc dot gnu.org
2022-01-13 15:13 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-01-13 16:39 ` jakub at gcc dot gnu.org
2022-01-13 16:42 ` jakub at gcc dot gnu.org
2022-01-13 16:50 ` cvs-commit at gcc dot gnu.org
2022-01-13 17:26 ` jakub at gcc dot gnu.org
2022-01-13 18:32 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-01-13 18:39 ` jakub at gcc dot gnu.org
2022-01-13 21:26 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-01-13 21:27 ` ro at gcc dot gnu.org
2022-01-13 21:39 ` jakub at gcc dot gnu.org
2022-01-13 21:52 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-01-13 22:39 ` jakub at gcc dot gnu.org
2022-01-13 22:42 ` jakub at gcc dot gnu.org
2022-01-13 22:52 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-01-14  6:45 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-01-14 11:19 ` cvs-commit at gcc dot gnu.org
2022-01-15 12:22 ` jakub at gcc dot gnu.org

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).