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

zstd-sys build fails for armhf in bookworm #292

Closed
vigneshraman opened this issue Jul 18, 2024 · 1 comment
Closed

zstd-sys build fails for armhf in bookworm #292

vigneshraman opened this issue Jul 18, 2024 · 1 comment

Comments

@vigneshraman
Copy link

vigneshraman commented Jul 18, 2024

zstd v0.13.1
zstd-safe v7.1.0
zstd-sys v2.0.11+zstd.1.5.6

https://gitlab.freedesktop.org/mesa/mesa/-/jobs/60435221

The following warnings were emitted during compilation:

warning: gcc: error: unrecognized command-line option '-mfpu=vfpv3-d16'
warning: ToolExecError: Command "/usr/lib/ccache/gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv7-a" "-mfpu=vfpv3-d16" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/tmp/cargo-installPmV6O6/armv7-unknown-linux-gnueabihf/release/build/zstd-sys-c0adcc757898782f/out/zstd/lib/common/debug.o" "-c" "zstd/lib/common/debug.c" with args "gcc" did not execute successfully (status code exit status: 1).running: "/usr/lib/ccache/gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv7-a" "-mfpu=vfpv3-d16" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/tmp/cargo-installPmV6O6/armv7-unknown-linux-gnueabihf/release/build/zstd-sys-c0adcc757898782f/out/zstd/lib/common/entropy_common.o" "-c" "zstd/lib/common/entropy_common.c"
@vigneshraman
Copy link
Author

Seems to a toolchain issue when cross compiling. So closing this

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

1 participant