-
-
Notifications
You must be signed in to change notification settings - Fork 14.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
Some cross-compiled armv7l programs can't get stdout and stderr, causing segfaults #143791
Comments
Note that systemd's |
fixed in |
I marked this as stale due to inactivity. → More info |
This is not stale. I'm still having this issue with To verify the bisect and build at b3640e0 (broken) or its parent 15b3bc3 (working), you will need to fix a few build errors:
The optionals (isPy37 || isPy38) [
# Backport a fix for ctypes.util.find_library.
./3.7/find_library.patch
] You can build While the error was introduced with |
Removing the The bug thread mentioned in the patch has a recent update with a new patch. I tried applying it and rebuilding |
Closing since I interpret ju1m's 🎉 reaction to the Majiir's last comment as indicating that they are not seeing any more failures here. Happy to reopen if I'm misreading, though! |
Describe the bug
On a cross-compiled
armv7l
NixOS system (eg. running on a Cubieboard2), most programs work fine (eg.date
,ls
,htop
, ...), but some crash with aSIGSEGV
(my current list is:gcc
,zpool
,zfs
,zed
) apparently because they're given NULL forstdout
andstderr
.I've no idea what is causing that, neither whether it's specific to ARM nor if cross-compiling or more generally NixOS is at fault there.
Steps To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
gcc
andzpool
should output some messages and quit normally likedate
does.Additional context
date
gcc
zpool
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: