-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Wrong addition of multilib rv64gcv-lp64d
for glibc
#1673
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
Comments
A simple example: Build a linux tool chain with
|
Is this effectively a duplicate of this issue? As mentioned in that thread the issue is one that may already be noted but probably should be dealt with in the upstream GCC project where all development/enhancement/bug fixing of the tools, including to RISC-V target support, is done these days. |
Thanks for your report, I will check up this. |
Maybe we should have an additional library combination for |
Are there other/bigger issues with the Linux toolchain sysroot? |
I tend to prefer using the architecture to search for paths, as newlib does, instead of the ABI, to resolve this issue. |
As I suggested earlier, and as also suggested by this comment from @pz9115: isn't this something that needs to be dealt with, discussed, addressed, upstream in the main GCC (and/or Binutils?) repo? @pz9115, did you make any progress on this?
|
#PR1657
Hi, I noticed that we added
rv64gcv-lp64d
for the multilib of glibc. However, this is not suitable for the current multilib rules of the Linux toolchain, as the multilib path search is based on ABI. This leads to a duplication ofrv64gcv-lp64d
andrv64gc-lp64d
, withrv64gcv-lp64d
overridingrv64gc-lp64d
(resulting in onlyrv64gcv-lp64d
multilib existing). This could cause unexpected errors, such as illegal instructions.@pz9115 @kito-cheng @TommyMurphyTM1234
The text was updated successfully, but these errors were encountered: