[llvmlinux] llvmlinux: v3.14 checkpoint does not boot on Ubuntu/precise AMD64

Sedat Dilek sedat.dilek at gmail.com
Sun Mar 8 21:53:05 UTC 2015

On Wed, Mar 4, 2015 at 10:14 AM, David Woodhouse <dwmw2 at infradead.org> wrote:
> 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.

Does that kernel-command-line work with Linux v3.14?

> 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.)

I will try to do some more testing with the given informations.
Not sure if I can do this next week.

> 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.

It looks like "not fixed".
And what is the "workaround"?

- Sedat -

More information about the LLVMLinux mailing list