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

Sedat Dilek sedat.dilek at gmail.com
Sat Sep 12 14:36:05 UTC 2015


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

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 -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-compiler-gcc.h-Disable-inline-optimization.patch
Type: text/x-patch
Size: 1720 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20150912/b41aa748/attachment-0001.bin>


More information about the LLVMLinux mailing list