public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/109328] New: Build fail in RISC-V port
@ 2023-03-29  6:45 juzhe.zhong at rivai dot ai
  2023-03-29  6:46 ` [Bug c/109328] " juzhe.zhong at rivai dot ai
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: juzhe.zhong at rivai dot ai @ 2023-03-29  6:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109328
           Summary: Build fail in RISC-V port
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juzhe.zhong at rivai dot ai
  Target Milestone: ---

[ERROR]   
/opt/.build/riscv64-unknown-linux-gnu/src/gcc/gcc/config/riscv/riscv-vector-builtins.def:380:10:
fatal error: riscv-vector-type-indexer.gen.def: No such file or d
irectory                                                                        
[ERROR]    make[3]: ***
[/opt/.build/riscv64-unknown-linux-gnu/src/gcc/gcc/config/riscv/t-riscv:29:
riscv-vector-builtins-shapes.o] Error 1
[ERROR]    make[3]: *** Waiting for unfinished jobs....
[ERROR]   
/opt/.build/riscv64-unknown-linux-gnu/src/gcc/gcc/config/riscv/riscv-vector-builtins.def:380:10:
fatal error: riscv-vector-type-indexer.gen.def: No such file or d
irectory
[ERROR]    make[3]: ***
[/opt/.build/riscv64-unknown-linux-gnu/src/gcc/gcc/config/riscv/t-riscv:42:
riscv-vector-builtins-bases.o] Error

Reported by compiler explorer port who is trying to support RISC-V trunk GCC in
compiler explorer.

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

* [Bug c/109328] Build fail in RISC-V port
  2023-03-29  6:45 [Bug c/109328] New: Build fail in RISC-V port juzhe.zhong at rivai dot ai
@ 2023-03-29  6:46 ` juzhe.zhong at rivai dot ai
  2023-03-29 18:20 ` [Bug target/109328] [13 Regression] " pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: juzhe.zhong at rivai dot ai @ 2023-03-29  6:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from JuzheZhong <juzhe.zhong at rivai dot ai> ---
https://github.com/compiler-explorer/compiler-explorer/issues/4900#issuecomment-1488009231

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

* [Bug target/109328] [13 Regression] Build fail in RISC-V port
  2023-03-29  6:45 [Bug c/109328] New: Build fail in RISC-V port juzhe.zhong at rivai dot ai
  2023-03-29  6:46 ` [Bug c/109328] " juzhe.zhong at rivai dot ai
@ 2023-03-29 18:20 ` pinskia at gcc dot gnu.org
  2023-03-29 18:21 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-03-29 18:20 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0
            Summary|Build fail in RISC-V port   |[13 Regression] Build fail
                   |                            |in RISC-V port
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-03-29

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed there are a few missing dependencies.

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

* [Bug target/109328] [13 Regression] Build fail in RISC-V port
  2023-03-29  6:45 [Bug c/109328] New: Build fail in RISC-V port juzhe.zhong at rivai dot ai
  2023-03-29  6:46 ` [Bug c/109328] " juzhe.zhong at rivai dot ai
  2023-03-29 18:20 ` [Bug target/109328] [13 Regression] " pinskia at gcc dot gnu.org
@ 2023-03-29 18:21 ` pinskia at gcc dot gnu.org
  2023-03-30  7:52 ` kito at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-03-29 18:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 54788
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54788&action=edit
Patch which improves the depedencies

Note I am not 100% sure this is all the way. But you should get the idea and
take it over from there.

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

* [Bug target/109328] [13 Regression] Build fail in RISC-V port
  2023-03-29  6:45 [Bug c/109328] New: Build fail in RISC-V port juzhe.zhong at rivai dot ai
                   ` (2 preceding siblings ...)
  2023-03-29 18:21 ` pinskia at gcc dot gnu.org
@ 2023-03-30  7:52 ` kito at gcc dot gnu.org
  2023-03-30  8:07 ` dkm at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: kito at gcc dot gnu.org @ 2023-03-30  7:52 UTC (permalink / raw)
  To: gcc-bugs

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

Kito Cheng <kito at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kito at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #4 from Kito Cheng <kito at gcc dot gnu.org> ---
I can reproduce the problem with crosstool-ng, and it has resolved by Andrew
Pinski's fix, I am reviewing the dependency in the file.

Plan to drop a complete version of patch later :)

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

* [Bug target/109328] [13 Regression] Build fail in RISC-V port
  2023-03-29  6:45 [Bug c/109328] New: Build fail in RISC-V port juzhe.zhong at rivai dot ai
                   ` (3 preceding siblings ...)
  2023-03-30  7:52 ` kito at gcc dot gnu.org
@ 2023-03-30  8:07 ` dkm at gcc dot gnu.org
  2023-03-31  7:18 ` cvs-commit at gcc dot gnu.org
  2023-03-31  7:20 ` kito at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: dkm at gcc dot gnu.org @ 2023-03-30  8:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Marc Poulhiès <dkm at gcc dot gnu.org> ---
Thanks for the very quick fix (I'm the one who hit this issue)!

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

* [Bug target/109328] [13 Regression] Build fail in RISC-V port
  2023-03-29  6:45 [Bug c/109328] New: Build fail in RISC-V port juzhe.zhong at rivai dot ai
                   ` (4 preceding siblings ...)
  2023-03-30  8:07 ` dkm at gcc dot gnu.org
@ 2023-03-31  7:18 ` cvs-commit at gcc dot gnu.org
  2023-03-31  7:20 ` kito at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-03-31  7:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kito Cheng <kito@gcc.gnu.org>:

https://gcc.gnu.org/g:608388486a54afe98aed0f105a6101ae7a9ff66c

commit r13-6954-g608388486a54afe98aed0f105a6101ae7a9ff66c
Author: Kito Cheng <kito.cheng@sifive.com>
Date:   Fri Mar 31 14:40:36 2023 +0800

    RISC-V: Fix missing file dependency in RISC-V back-end [PR109328]

    gcc/ChangeLog:

            PR target/109328
            * config/riscv/t-riscv: Add missing dependencies.

    Co-authored-by: Andrew Pinski <pinskia@gmail.com>

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

* [Bug target/109328] [13 Regression] Build fail in RISC-V port
  2023-03-29  6:45 [Bug c/109328] New: Build fail in RISC-V port juzhe.zhong at rivai dot ai
                   ` (5 preceding siblings ...)
  2023-03-31  7:18 ` cvs-commit at gcc dot gnu.org
@ 2023-03-31  7:20 ` kito at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: kito at gcc dot gnu.org @ 2023-03-31  7:20 UTC (permalink / raw)
  To: gcc-bugs

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

Kito Cheng <kito at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Kito Cheng <kito at gcc dot gnu.org> ---
Verified with crosstool-ng, also fixed several missing dependency in t-riscv

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

end of thread, other threads:[~2023-03-31  7:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-29  6:45 [Bug c/109328] New: Build fail in RISC-V port juzhe.zhong at rivai dot ai
2023-03-29  6:46 ` [Bug c/109328] " juzhe.zhong at rivai dot ai
2023-03-29 18:20 ` [Bug target/109328] [13 Regression] " pinskia at gcc dot gnu.org
2023-03-29 18:21 ` pinskia at gcc dot gnu.org
2023-03-30  7:52 ` kito at gcc dot gnu.org
2023-03-30  8:07 ` dkm at gcc dot gnu.org
2023-03-31  7:18 ` cvs-commit at gcc dot gnu.org
2023-03-31  7:20 ` kito 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).