[PATCH v4 3/3] powerpc/prom_init: Use -ffreestanding to avoid a reference to bcmp

Segher Boessenkool segher at kernel.crashing.org
Mon Oct 14 20:35:01 AEDT 2019


On Sun, Oct 13, 2019 at 07:51:01PM -0700, Nathan Chancellor wrote:
> r374662 gives LLVM the ability to convert certain loops into a reference
> to bcmp as an optimization; this breaks prom_init_check.sh:

When/why does LLVM think this is okay?  This function has been removed
from POSIX over a decade ago (and before that it always was marked as
legacy).


Segher


More information about the Linuxppc-dev mailing list