Re: clang kernel PPC32 build failure, undefined reference to `__umoddi3'

2022-08-03 Thread Nick Desaulniers
Thanks for the report; tracking the issue here: https://github.com/ClangBuiltLinux/linux/issues/1679 clang-15 got more aggressive about eliminating loops outright; some cases can be replaced with division/remainder. LLVM is missing support for expanding 64b division by constant for 32b targets; W

clang kernel PPC32 build failure, undefined reference to `__umoddi3'

2022-08-03 Thread Christophe Leroy
Looks like since recently some clang builds fails for missing reference to `__umoddi3`. See exemple at: - https://github.com/ruscur/linux-ci/actions/runs/2789193140 - https://patchwork.ozlabs.org/project/linuxppc-dev/patch/eca9251f1e1f82c4c46ec6380ddb28356ab3fdfe.1659527244.git.christophe.le...