public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/111937] New: [RISCV][lto][offload] When `NUM_POLY_INT_COEFFS` > 1, the `poly_xxx`  made `lto_input_mode_table` unable to parse binary gimple data.
@ 2023-10-23 14:06 mxlol233 at outlook dot com
  2023-10-23 17:12 ` [Bug target/111937] " tschwinge at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: mxlol233 at outlook dot com @ 2023-10-23 14:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111937
           Summary: [RISCV][lto][offload] When `NUM_POLY_INT_COEFFS` > 1,
                    the `poly_xxx`  made `lto_input_mode_table` unable to
                    parse binary gimple data.
           Product: gcc
           Version: 13.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mxlol233 at outlook dot com
  Target Milestone: ---

Recently, I wanted to port an open source gpgpu target (a custom modification
of RISCV) to GCC/openmp (Following the approach of gcu and nvptx, using
offloading (https://gcc.gnu.org/wiki/Offloading)). However, the upstream after
this patch
(https://github.com/mxlol233-ventus/gcc/commit/3496ca4e6566fc3c5f1093a0290bb88c34d368f8#diff-98b71abedd6e59eb80cb43e75ebb507ffa8bf540ee88aa099c6c7fe7cf90ae3e),
NUM_POLY_INT_COEFFS became greater than 1, while for the x86-64-*-* target,
NUM_POLY_INT_COEFFS=1. This makes it impossible for a RISC-V*-*-* lto1 to parse
the data in the LTO sections (e.g. gnu.offload_lto_*) of the object files
generated by x86-64-*-*.

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

end of thread, other threads:[~2024-04-09  1:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23 14:06 [Bug target/111937] New: [RISCV][lto][offload] When `NUM_POLY_INT_COEFFS` > 1, the `poly_xxx` made `lto_input_mode_table` unable to parse binary gimple data mxlol233 at outlook dot com
2023-10-23 17:12 ` [Bug target/111937] " tschwinge at gcc dot gnu.org
2023-10-24  1:55 ` mxlol233 at outlook dot com
2023-10-24  5:42 ` mxlol233 at outlook dot com
2023-10-24  7:27 ` rguenth at gcc dot gnu.org
2023-10-24  7:39 ` mxlol233 at outlook dot com
2024-04-09  1:14 ` pinskia at gcc dot gnu.org
2024-04-09  1:15 ` [Bug target/111937] offloading from x86_64-linux-gnu to riscv*-linux-gnu will have issues 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).