public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/113794] New: [14 Regression] building the amdgcn-amdhsa offload compiler fails building newlib
@ 2024-02-07  3:03 doko at gcc dot gnu.org
  2024-02-07  3:08 ` [Bug bootstrap/113794] " sjames at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: doko at gcc dot gnu.org @ 2024-02-07  3:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113794
           Summary: [14 Regression] building the amdgcn-amdhsa offload
                    compiler fails building newlib
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

seen with trunk 20240207, worked with 20240201 at least, building the
amdgcn-amdhsa offload compiler.

newlib fails to build with 

during GIMPLE pass: vect
In file included from ../../../../src-gcn/newlib/libc/string/memset.c:29:
/home/packages/gcc/14/gcc-14-14-20240207/src-gcn/newlib/libc/include/string.h:
In function 'memset':
/home/packages/gcc/14/gcc-14-14-20240207/src-gcn/newlib/libc/include/string.h:33:10:
internal compiler error: Segmentation fault
   33 | void *   memset (void *, int, size_t);
      |          ^~~~~~
0xcfa112 crash_signal
        ../../src-gcn/gcc/toplev.cc:317
0x7b63de9f050f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0xf61fab gsi_prev(gimple_stmt_iterator*)
        ../../src-gcn/gcc/gimple-iterator.h:236
0xf61fab move_early_exit_stmts
        ../../src-gcn/gcc/tree-vect-loop.cc:11804
0xf61fab vect_transform_loop(_loop_vec_info*, gimple*)
        ../../src-gcn/gcc/tree-vect-loop.cc:11969
0xf9d8cb vect_transform_loops
        ../../src-gcn/gcc/tree-vectorizer.cc:1006
0xf9defd try_vectorize_loop_1
        ../../src-gcn/gcc/tree-vectorizer.cc:1152
0xf9defd try_vectorize_loop
        ../../src-gcn/gcc/tree-vectorizer.cc:1182
0xf9e374 execute
        ../../src-gcn/gcc/tree-vectorizer.cc:1298
Please submit a full bug report, with preprocessed source (by using
-freport-bug).

The bug is not reproducible, so it is likely a hardware or OS problem.
make[8]: *** [Makefile:26337: libc/string/libc_a-memset.o] Error 1
make[8]: *** Waiting for unfinished jobs....

however, retrying the newlib build always fails with this issue

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

* [Bug bootstrap/113794] [14 Regression] building the amdgcn-amdhsa offload compiler fails building newlib
  2024-02-07  3:03 [Bug bootstrap/113794] New: [14 Regression] building the amdgcn-amdhsa offload compiler fails building newlib doko at gcc dot gnu.org
@ 2024-02-07  3:08 ` sjames at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-02-07  3:08 UTC (permalink / raw)
  To: gcc-bugs

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

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |sjames at gcc dot gnu.org

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
dupe of PR113731 (and PR113771)

*** This bug has been marked as a duplicate of bug 113731 ***

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

end of thread, other threads:[~2024-02-07  3:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-07  3:03 [Bug bootstrap/113794] New: [14 Regression] building the amdgcn-amdhsa offload compiler fails building newlib doko at gcc dot gnu.org
2024-02-07  3:08 ` [Bug bootstrap/113794] " sjames 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).