[llvmlinux] "make test" for x86_64 target just hung there, why?

Daniel Sanders Daniel.Sanders at imgtec.com
Sat Sep 12 16:50:53 UTC 2015

That patch looks right to me. Given that it didn't cause GCC to show the bug too, the problem is unlikely to be the same kind of bug I had with the slab allocator.
From: Sedat Dilek [sedat.dilek at gmail.com]
Sent: 12 September 2015 15:36
To: Daniel Sanders
Cc: pageexec at gmail.com; llvmlinux at lists.linuxfoundation.org; David Woodhouse
Subject: Re: [llvmlinux] "make test" for x86_64 target just hung there, why?

I tried with the attached patch on top of Linux v4.2 + llvmlinux
patchset, but this seems not to disable "inline optimization".

Re-compiling lib/bitmap with gcc v4.9 let's my kernel boot.

Maybe pipacs is right when he says it might be a

For AMD64 and GCC...

CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi
-fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9
-fcall-saved-r10 -fcall-saved-r11"

FYI: This is not used with LLVMLinux.

Empty head,
- Sedat -

More information about the LLVMLinux mailing list