Comments (4)
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.
from meta-riscv.
May I ask when the bug will be fixed?
from meta-riscv.
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.
from meta-riscv.
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
from meta-riscv.
Related Issues (20)
- pulseaudio need bash, not only bash-completion HOT 1
- Why not use poky? HOT 1
- current go-cross cannot support cgo for riscv64
- go_1.19.4.bb not install standard lib code HOT 1
- Qemu RISCV64 build fails due to nfs-utils HOT 11
- Kernel modules will not work on MangoPi pro HOT 2
- Where is recipes-bsp/boot0/boot0.bb? HOT 3
- BrokenPipeError: [Errno 32] Broken pipe HOT 4
- opensbi: do_install() fails for visionfive2 HOT 2
- visionfive2 missing ChipsMedia_VisionFive2 license file
- weston does not start on Visionfive2 HOT 3
- glibc build failed on ARCH riscv32 HOT 3
- build failing on start with 'ERROR: Nothing RPROVIDES 'systemd'' HOT 2
- Milk-V Duo: Kernel compilation fails HOT 1
- mangopi-mq-pro u-boot-allwinnerd1-1_1.0-r0 do_fetch HOT 1
- visionfive 2 cpu0: cpufreq_init: failed to get clk and cpufreq-dt: failed register driver: -19 HOT 4
- Error while compiling perf HOT 1
- No hdmi on mangopi HOT 3
- [master: visionfive2] mesa-pvr HOT 4
- How can I increase my RAM memory for milk-v duo 64MB? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meta-riscv.