-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
daily riscv gcc build #4900
Comments
Are you going to support RISCV trunk GCC in compiler explorer ? I really appreciate it. |
At least that's the plan. I've tried the naive solution, but it fails for both rv32 and 64. I have to check what's going on, but maybe you are able to help?
Or maybe I'm out of luck and |
It's generated by internal generator (genrvv-type-indexer.cc). I am gonna file bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109328 Thank you for reporting it. |
Hi, I built RISC-V master GCC. I didn't get fail as you showed. Would you mind sharing your process of building RISC-V GCC? |
Yes, it looks like a crosstool-ng issue. When using the tool, it fails, but jumping in the build dir and invoking the |
What is crosstool-ng issue ? Is this GCC issue or your tool issue? If it is not GCC issue, can I close the issue in GCC bugzilla as it's resolved? Thank you so much for supporting RISC-V GCC trunk in compiler explorer. |
That's the config I'm using with crosstool-ng (revision 1d77bd30, it's a bit old compared to I'm wondering if crosstool-ng is setting some |
Is it possible that the
does not always work depending on how the build is configured? I guess the file is supposed to be in the build dir |
hmmm, this file is added by RISC-V port maintainer. |
Hi, GCC folks is trying remove building dependencies to make it suitable to crossng-tool. Thank you for reporting it. |
Thanks @zhongjuzhe ! Is there a bugzilla PR I can follow? I'll check my mail to see if there is anything about that on the dev list |
Yeah, it's here: @kito-cheng is working on it. I think soon the solution will be merged into master GCC. Thanks. |
Thanks a lot @kito-cheng , I'll retry the build during the weekend! |
Hmm, I still can't build both toolchains, but for other errors now.
Maybe libc needs to be updated, I'll have a look. But how did you build @zhongjuzhe ? Did you change anything? |
Thanks for reporting it. I use https://github.com/riscv-collab/riscv-gnu-toolchain This error message you showed like a multilib issue, unfortunately, I am not familiar with that. Besides, can you file a PR in GCC bugzilla for tracking ? Thanks |
It's possible that this issue is not a gcc problem, but a crosstool-ng config one. I would like to dig into it a bit more before opening a gcc pr. Uptodate ct-ng gives same error, will try with more recent glibc. |
Hmmm, looks like using latest glibc avail in ct-ng fixes the build error. I still have other unrelated issues, but am pretty confident it will work shortly :) Thanks for the help @zhongjuzhe |
Ok, disabling the Ada compiler and bumping the glibc version fixes the issue and I can build |
Had to bump glibc version and disable Ada compiler. refs compiler-explorer/compiler-explorer#4900 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
refs compiler-explorer/compiler-explorer#4900 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
refs compiler-explorer/compiler-explorer#4900 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Thanks a lot! But I still can't see trunk RISC-V GCC in compiler explorer: Do we have still other building issues in upstream RISC-V GCC for supporting trunk RISC-V GCC in compiler explorer. Thanks~ |
Yes sorry @zhongjuzhe , there are several steps before having them online:
I have the first step ready, but not yet merged (see previous PR in compiler-workflows). I'll merge it now and we'll see during next build run if everything is ok. Then I'll move on to the next steps :) edit: didn't remember it was already merged. Compilers are building as expected, see https://github.com/compiler-explorer/compiler-workflows/blob/main/build-status.md |
refs compiler-explorer/compiler-explorer#4900 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
refs compiler-explorer/compiler-explorer#4900 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Ok, merged infra config, so compilers should be installed during next run. I'll try to do the remaining config change later this week |
refs #4900 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add riscv32/64 nightly gcc. Also refactor a bit the grouping and properties. Fix the fortran compiler that was using some tools from the native compiler.... refs #4900 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Some group/names were wrong. refs #4900 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
This is (finally) live 🚀 |
@dkm thanks!!! I saw the trunk option for both RV64 and RV32 GCC!!!! |
Yes! And FWIW, I've tried to enable all lang possible, so you have C, C++, Fortran, D, Objective-C and Objective-C++. The others were broken/not supported for the target (eg. Ada, Go), not yet supported by ct-ng and probably would break the build regularly (e.g. Rust, m2). Let us know if you have any feedback/issue! |
Ooops, I admit I did't pay too much attention on those languages other than C and C++, that would be the goal of next GCC release cycle :P |
Oh, that was not a complaint or anything, even thought I'll be happy to help with Ada and Rust (I know absolutely nothing about the others). |
Originally posted by @zhongjuzhe in #2041 (comment)
The text was updated successfully, but these errors were encountered: