-
Notifications
You must be signed in to change notification settings - Fork 144
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
libxshmfence can not be built on rv32 #201
Comments
I think this is due to discrepency between glibc and kernel syscall understanding. @alistair23 I have replied to relevant patch that is on glibc mailing list to pin this issue. |
May I ask when the bug will be fixed? |
I think a workaround might be to define SYS_futex locally in term of 64bit futex call in libxshmfence package, but there might be more packages in same boat. |
I have fixed up the "core" packages, so I can build a full RV32 rootfs and upstreamed the changes. Any program that is doing it's own syscalls might need to be updated (based on the syscalls it's doing). I haven't looked into packages that I don't directly need yet. This could be a fairly complex change depending on the syscalls. You can see the discussion here for more information about handling the syscall safely: https://patchwork.sourceware.org/patch/37316/ In this case you could probably get away with just adding a simple: # ifndef __NR_futex
# define __NR_futex __NR_futex_time64
# endif for RISC-V |
Helps these nosy apps build Fixes riscv#201 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Helps these nosy apps build Fixes #201 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Hi, I want to install vim in my qemuriscv32 machine.
I already asked about it and got the answer.
I added
IMAGE_INSTALL_append = " vim"
in local.conf, but the following error is appeared.ERROR: Task (/home/ca2020/riscv-yocto/openembedded-core/meta/recipes-graphics/xorg-lib/libxshmfence_1.3.bb:do_compile) failed with exit code '1'
How can I solve this problem?
The text was updated successfully, but these errors were encountered: