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

Sedat Dilek sedat.dilek at gmail.com
Sun Sep 13 02:24:47 UTC 2015


On Wed, Sep 9, 2015 at 10:24 PM, PaX Team <pageexec at gmail.com> wrote:
> On 9 Sep 2015 at 12:12, Sedat Dilek wrote:
>
>> I can boot into a CLANG v3.7 compiled kernel when lib/bitmap is
>> compiled with GCC v4.9.
>
> are you sure it's not lib/hweight.o instead? under gcc it's compiled
> with special flags (CONFIG_ARCH_HWEIGHT_CFLAGS) which clang doesn't
> support and we used to patch that out but i have no idea about the
> current state of affairs.
>

Hi pipacs,

YES, you are right!

One of your patches for x86_64 got archived [1] but is still required
to build x86_64 arch correctly.

NO extras needed - just this single patch on top of Linux v4.2 plus
llvmlinux-patchset.

Attached is your refreshed patch, my customized kernel-config and a
single patch (includes your patch).

Shouldn't your patch go upstream?

Have more fun!

Regards,
- Sedat -

[1] http://git.linuxfoundation.org/?p=llvmlinux.git;a=blob_plain;f=arch/x86_64/patches/ARCHIVE/0029-Fix-ARCH_HWEIGHT-for-compilation-with-clang.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvmlinux-Fix-ARCH_HWEIGHT-for-compilation-with-clang.patch
Type: text/x-patch
Size: 1380 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20150913/0be2e762/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-4.2.0-3-llvmlinux-amd64
Type: application/octet-stream
Size: 128612 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20150913/0be2e762/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.2.0-3-llvmlinux-amd64.patch
Type: text/x-patch
Size: 36071 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20150913/0be2e762/attachment-0003.bin>


More information about the LLVMLinux mailing list