Rather than trust that the compiler will lay out the stack frame the
way we expect it to, use a union to force the correct alignment.
MFC after: 1 week
Fixes: 616f47f176c3 ("tunefs: Fix alignment warning on arm64")
Differential D56245
tunefs: Better fix for arm64 alignment issues Authored by des on Fri, Apr 3, 5:11 PM. Tags None Referenced Files
Details Rather than trust that the compiler will lay out the stack frame the MFC after: 1 week
Diff Detail
Event TimelineComment Actions You could also do something similar with the directory filling routine dir_clear_block() and the two functions that call it dir_insert() and dir_extend().
Comment Actions This commit seems to break the https://ci.freebsd.org/job/FreeBSD-main-amd64-test/28201/testReport/junit/sbin.tunefs/tunefs_test/suj/ test in CI. Locally reproducible with the following Bricoler (master-python branch) command: $ bricoler freebsd-regression-test-suite --freebsd-src-git-checkout/url=/usr/src --freebsd-src-git-checkout/branch= --freebsd-src-build/kernel_config=GENERIC --freebsd-regression-test-suite/memory=3072 --freebsd-regression-test-suite/ncpus=2 --freebsd-regression-test-suite/parallelism=1 --freebsd-regression-test-suite/tests=sbin/tunefs/tunefs_test:suj | |||||||||||||||||||||||||||||||||||||||||||||||