[llvmlinux] Latest LLVMLinux Git not booting (both from build architecture and source tree)

David Woodhouse dwmw2 at infradead.org
Sun Nov 2 20:19:54 UTC 2014

> I believe I have found the problem. The issue is that the memcpy being
> linked in ./arch/x86/boot/main.c and ./arch/x86/boot/memory.c, etc to
> create ./arch/x86/boot/setup.bin is different then the one being compiled.
> Specifically, memcpy from ./arch/x86/boot/copy.S gets linked into
> setup.elf/setup.bin and memcpy from ./arch/x86/boot/string.h is used when
> compiling in ./arch/x86/boot/main.c and ./arch/x86/boot/memory.c. The
> parameters for memcpy for string.h are sent via the stack while the memcpy
> from copy.S are passed via registers...

Isn't this http://llvm.org/bugs/show_bug.cgi?id=3997 ?


More information about the LLVMLinux mailing list