public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/114558] New: GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch.
@ 2024-04-02 9:01 wencan at live dot cn
2024-04-02 9:57 ` [Bug c/114558] " jakub at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: wencan at live dot cn @ 2024-04-02 9:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114558
Bug ID: 114558
Summary: GCC 13.2.1 encountered a segmentation fault error when
compiling PyTorch.
Product: gcc
Version: 13.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: wencan at live dot cn
Target Milestone: ---
I encountered a compilation error when compiling PyTorch.
GCC version: (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7)
pytorch version: commit dd8a24b
code:
extern "C" status_t DNNL_API dnnl_memory_desc_set_data_type(
memory_desc_t *memory_desc, data_type_t data_type) {
if (any_null(memory_desc)) return invalid_arguments;
memory_desc->data_type = data_type;
return success;
} // this line!
I downgraded gcc to 13.2.1 2023091 (Red Hat 13.2.1-3), and the issue no longer
occurred.
more info: https://github.com/pytorch/pytorch/issues/123091
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/114558] GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch.
2024-04-02 9:01 [Bug c/114558] New: GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch wencan at live dot cn
@ 2024-04-02 9:57 ` jakub at gcc dot gnu.org
2024-04-02 11:35 ` [Bug c++/114558] " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2024-04-02 9:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114558
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Please see https://gcc.gnu.org/bugs/ on what we need, in particular we need
full preprocessed source of the compilation unit (unless -flto is involved, in
that case even more than that) + g++ command line used to compile that.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/114558] GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch.
2024-04-02 9:01 [Bug c/114558] New: GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch wencan at live dot cn
2024-04-02 9:57 ` [Bug c/114558] " jakub at gcc dot gnu.org
@ 2024-04-02 11:35 ` rguenth at gcc dot gnu.org
2024-04-02 23:52 ` pinskia at gcc dot gnu.org
2024-04-02 23:53 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-04-02 11:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114558
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Ever confirmed|0 |1
Last reconfirmed| |2024-04-02
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/114558] GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch.
2024-04-02 9:01 [Bug c/114558] New: GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch wencan at live dot cn
2024-04-02 9:57 ` [Bug c/114558] " jakub at gcc dot gnu.org
2024-04-02 11:35 ` [Bug c++/114558] " rguenth at gcc dot gnu.org
@ 2024-04-02 23:52 ` pinskia at gcc dot gnu.org
2024-04-02 23:53 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-02 23:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114558
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also since you are using a redhat provided compiler you should be reporting it
to them.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/114558] GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch.
2024-04-02 9:01 [Bug c/114558] New: GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch wencan at live dot cn
` (2 preceding siblings ...)
2024-04-02 23:52 ` pinskia at gcc dot gnu.org
@ 2024-04-02 23:53 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-02 23:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114558
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> Also since you are using a redhat provided compiler you should be reporting
> it to them.
From the pytorch issue even:
See <http://bugzilla.redhat.com/bugzilla> for instructions.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-02 23:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-02 9:01 [Bug c/114558] New: GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch wencan at live dot cn
2024-04-02 9:57 ` [Bug c/114558] " jakub at gcc dot gnu.org
2024-04-02 11:35 ` [Bug c++/114558] " rguenth at gcc dot gnu.org
2024-04-02 23:52 ` pinskia at gcc dot gnu.org
2024-04-02 23:53 ` pinskia 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).