[llvmlinux] llvmlinux: v3.14 checkpoint does not boot on Ubuntu/precise AMD64
dwmw2 at infradead.org
Wed Mar 4 09:14:44 UTC 2015
On Wed, 2015-03-04 at 08:22 +0100, Sedat Dilek wrote:
> Can you give some help on how to dig into this?
qemu-system-x86_64 -serial stdio -kernel arch/x86/boot/bzImage -append "earlyprintk=ttyS0 debug" -nographic -d in_asm -D asm.log
Look at the serial output, and at asm.log, and see where it went wrong.
Then fix it.
If you don't even see the 'early console in setup code' and 'Probing
EDD' messages, then it's crashing in 16-bit code. You could try
'make SUBDIRS=arch/x86/boot CC=gcc' to see if that makes it work, and
verify that it really *is* OK except for the 16-bit code.
(Actually when working on the 16-bit stuff I was doing it the other way
round and building *only* arch/x86/boot with clang.)
Did nobody fix http://llvm.org/bugs/show_bug.cgi?id=3997 yet? I assume
you have the horrid workaround on the kernel side for that? ISTR that
was the only thing still affecting clang's build of the 16-bit code last
time I looked.
David Woodhouse Open Source Technology Centre
David.Woodhouse at intel.com Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5745 bytes
Desc: not available
More information about the LLVMLinux