On Wed, May 15, 2019 at 1:57 PM Arnd Bergmann arnd@arndb.de wrote:
On Wed, May 15, 2019 at 7:54 PM 'Nick Desaulniers' via Clang Built
Looks like most of the below are suffering from a similar problem that I understand pretty well and will send patches later this week.
Right. What is actually going on here?
Those are compiler helper routines that you'd find in libgcc (these are distinct from compiler builtins; maybe there's a more correct name than "compiler helper routines"). It's not possible to tell the compiler not to emit libcalls to these. You see these frequently for 64b operations on 32b hosts. Typically, these are copied from libgcc into the kernel. See the sources under arch/arm/lib/ for a few examples.
Yes, I know what these functions are, but from what I can tell, the link failure is for functions that are actually part of the kernel (__aeabi_idivmod, __aeabi_uidivmod), and exported from armksyms.c, so they should not cause the link failure.
Interesting, filed https://github.com/ClangBuiltLinux/linux/issues/482, lets follow up there. Seems like s3c2410_defconfig is a culprit (not sure yet if it's the only one, I need to look through the rest of the kernelCI build logs).