-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cannot build for armhf (32bit) target on Debian 64bit host #9392
Comments
Following script was used:
|
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
There were several fixes in #10538 to resolve various cross-compiler issues. It would be helpful if someone with access to an armhf system could retest this with the 2.0 release. |
No luck, doesn't build while we would really like to get it working. Can try again and supply some logs if there is an interest to fix this? |
@iamjamestl thanks for the feedback. I've reopened the issue until we can get it resolved. |
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
@bimonsubio1984 I just tried reproducing the issue and I was not successful. Debian project currently recommends using chroots instead of multilib for crossbuilding: https://wiki.debian.org/CrossCompiling Following that advice and steps you provided (except the crossbuilding part) made me reproduce #11097 which is not really related at all to what we are talking about here.
OpenZFS version used
Please let us know if switching to chroot-based crossbuilding and using OpenZFS 2.0+ solved the compilation problem. |
System information
Describe the problem you're observing
Cannot build using following commands:
++ SrcDir=/usr/src
++ Version=0.8.2
++ LinuxHeadersDir=/usr/src/linux-headers-5.3.1-gnu
++ LinuxHeadersOptions=' --with-linux=/usr/src/linux-headers-5.3.1-gnu --with-linux-obj=/usr/src/linux-headers-5.3.1-gnu '
++ Toolchain=CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
++ CommonOptions=' ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- '
++ BuildOptions=' -j4 '
++ build zfs
++ What=zfs
++ cd /usr/src/zfs
++ git checkout zfs-0.8.2
HEAD is now at 1222e92 Tag zfs-0.8.2
++ sh autogen.sh
++ ./configure ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- --with-linux=/usr/src/linux-headers-5.3.1-gnu --with-linux-obj=/usr/src/linux-headers-5.3.1-gnu --disable-pyzfs
++make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- --with-linux=/usr/src/linux-headers-5.3.1-gnu --with-linux-obj=/usr/src/linux-headers-5.3.1-gnu
Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: