-
-
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
Add sh config #4096
Add sh config #4096
Conversation
Compilers are nearly ready to be installed: It seems the D compiler is not working correctly, so I'll probably disable it as I'm not sure many people want D for sh4... But who knows? :D Maybe @ibuclaw has an issue fix for this ?
Compiler is built using this ct-ng config. All other lang tests are OK locally:
(sorry this comment was originally in the infra PR, better here). |
Add 3 configs for sh targets: - old 4.9.4 unknown-elf (c/c++) - 9.5 linux (c/c++/fortran) - 12.2.0 linux (c/c++/fortran) Old compiler were specificaly requested for Dreamcast hacking. Not enabling D as it's not functional. fixes #94 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
I'll disable D for now |
Target comes without library support, but compiler still expects an object.d file to be present somewhere. What's the contents of test.d? |
I don't know how to do any D, so I simply use the default program we have when creating a D compiler:
|
As a workaround, you can just |
Thanks @ibuclaw !
You mean like that? |
Then that would likely take precedent over the "installed" version of object.d, causing the more complex examples to fail. Touching the file in the installation path would be the safest thing to do, judging from the path for
(I might have added one too many |
Ok, I'll see how to achieve that. And is it more a workaround or a fix? Is it expected because "target comes without lib support", or is it a bug in the compiler? |
Many language features built into the compiler have dependencies on the runtime library, so it's not unreasonable for it to be complaining about not find the global object module. Saying that, being more pay-as-you-go is something the compiler should be doing better at, and ignoring a missing object.d module is part of that goal. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107101 |
Ok, thanks a lot for helping with that @ibuclaw . I think I'll still keep it disabled for now as I'm not sure when I'll be able to find where to best stub this. If this is fixed in a future release I'll enable it! Also, not excluded that I give the stub another try and still re-enable D for already installed compilers. |
Matching test for the compilers : https://gist.github.com/dkm/85576731222f940c85980ab68d2817c5 |
This is slowly rolling out over the fleet now, ETA fully live ~30m |
Add C, C++, Fortran for sparc, sparc64, sparc-leon. Add Ada and Go for sparc and sparc64. Not adding D (same issue as #4096 (comment)) Fixes #266 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add C, C++, Fortran for sparc, sparc64, sparc-leon. Add Ada and Go for sparc and sparc64. Not adding D (same issue as #4096 (comment)) Fixes #266 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add C, C++, Fortran for sparc, sparc64, sparc-leon. Add Ada and Go for sparc and sparc64. Not adding D (same issue as #4096 (comment)) Fixes #266 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add 3 configs for sh targets:
Old compiler were specificaly requested for Dreamcast hacking.
Not enabling D as it's not functional.
fixes #94
Signed-off-by: Marc Poulhiès dkm@kataplop.net