Skip to content
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

Floating Point Error on new rpiOS Bookworm #621

Open
kaelaria opened this issue Oct 20, 2023 · 5 comments
Open

Floating Point Error on new rpiOS Bookworm #621

kaelaria opened this issue Oct 20, 2023 · 5 comments

Comments

@kaelaria
Copy link

On the new Raspberry PI OS 'Bookworm', on a fresh install, minidsp gives a notice/warning during install and a floating point error when trying to run. Flashing back to 'Bullseye" still works fine.

@3ll3d00d
Copy link

appears to be an issue with the armhf build installed on either a 32bit OS or a 64bit OS with arm32 added via multiarch, the 64bit build installed on bookwork 64bit is fine

@3ll3d00d
Copy link

same applies when run on a 32bit OS with a 32 bit cpu (e.g. pi zero), looks like that package is just broken now

@mrene
Copy link
Owner

mrene commented Mar 29, 2024

same applies when run on a 32bit OS with a 32 bit cpu (e.g. pi zero), looks like that package is just broken now

@3ll3d00d are you able to dump a stack trace and disassembly of where the invalid FP operation happens?

@3ll3d00d
Copy link

3ll3d00d commented Mar 30, 2024

I'll try to get something useful

@3ll3d00d
Copy link

not sure it helps as the trace seems corrupt and I'm not sure how to dig into that further

#0  0xf7be9a24 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xf7ba1cfc in raise () from /lib/arm-linux-gnueabihf/libc.so.6
#2  0xf7cb9214 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

I decided to try bumping all the versions to current and seeing if I could get it to build given the mention of libc6 and looking at the current rpi build script/docker (which uses a variety of things that seem retired/legacy). This does produce a functioning binary on bookworm, by functioning I mean "doesn't crash immediately" i.e. I haven't tested it beyond that. You can find the changes in this diff dev...3ll3d00d:minidsp-rs:dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants