-
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
Issues when compiling OpenZFS 2.0.0 on debian buster #11398
Comments
I'm glad to hear you didn't run in any significant issue when building for Buster. Regarding the two specific warning you did encounter:
This is something I noticed as well when building on Debian and Ubuntu. To my knowledge it's never caused any problems and can be safely ignored. Though I'd love to see it investigated and resolved in case it might someday turn in to an issue.
As for the objtool warnings they are also benign and there's some analysis in #6950. Again we'd like to resolve them, but so far it hasn't been a priority. |
@behlendorf Brian, thanks for the explanation. I already suspected that these were just warnings, and I can confirm that OpenZFS runs without issues (except the performance issue I have described elsewhere) on one of our servers (and soon it will be two). However, I guess we don't use SHA in our setup (unless something happens behind the scenes which is not configurable), which the last three warnings I mentioned relate to. We are still investigating the performance issue. When we have solved or have given up on it, we probably will try to have a closer look to those warnings. Thanks again! |
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. |
The |
@Binarus The issue here (which can be very safely ignored) is Debian buster
Debian bookworm
@behlendorf I think we could close this ticket as it depends purely on autoconf version. |
Agreed. For future reference, here's the upstream autotools thread discussing the issue along with the patch. https://www.mail-archive.com/[email protected]/msg04283.html |
Dear all!
System information
Type | Version/Name
Linux | debian
Distribution Name | debian
Distribution Version | buster (10.7)
Linux Kernel | 4.19.0-12
Architecture | amd64
ZFS Version | OpenZFS 2.0.0
SPL Version | (SPL integrated into OpenZFS 2.0.0)
Describe the problem you're observing
We are running some debian buster boxes on ZFS here. Since we had massive performance problems with ZFS ZVOLs, we decided to remove ZFS version 0.7.12, which is what debian buster incorporates, and install OpenZFS 2.0.0 as a test.
At first, we'd like to thank the developers for the software and for the documentation, notably the building howto. We have literally followed the howto, with one exception: Instead of cloning the repository, we used the tarball, because we wanted an official release (2.0.0) instead of the newest version.
The build went surprisingly well, and we now can boot buster from a ZFS mirror with OpenZFS 2.0.0. However, during build, we noticed two small issues which may or may not turn into problems some day - I am not deep enough into the matter to judge it:
My personal guess is that we can safely ignore these warnings.
unsupported stack pointer realignment
sounds slightly dangerous. But again, I can't judge.Describe how to reproduce the problem
Install debian buster from the official repositories, using linux-image 4.19.0-12-amd64. Install linux-headers-4.19.0-12-amd64 and the usual build tools.
Download and unpack https://github.com/openzfs/zfs/releases/download/zfs-2.0.0/zfs-2.0.0.tar.gz somewhere (e.g.
/install
).cd
into the download / unpack directory and follow the instructions on the ZFS build HowTo (https://openzfs.github.io/openzfs-docs/Developer%20Resources/Building%20ZFS.html) to get the prerequisites and to build the software, with one exception: Do not clone the GitHub repository, but use the sources from the tarball you have downloaded and unpacked in step 1). Wherever the HowTo shows different steps for different distributions, follow the steps for the debian / ubuntu variant.One of the steps the HowTo mentions is
make -s -j ...
. While make runs, observe the warnings mentioned above in its output.Include any warning/errors/backtraces from the system logs
The warnings have been shown on stderr, and I have shown them in the problem description. We did not check the logs because that wouldn't reveal additional information.
The text was updated successfully, but these errors were encountered: