public inbox for gentoo-musl@lists.gentoo.org
 help / color / mirror / Atom feed
From: Lei Zhang <zhanglei.april@gmail.com>
To: Felix Janda <felix.janda@posteo.de>
Cc: gentoo-musl@lists.gentoo.org
Subject: Re: [gentoo-musl] Failed to build Linux kernel on musl
Date: Wed, 20 Jul 2016 18:14:56 +0800	[thread overview]
Message-ID: <CAOYuCc28YTDiCC1ShfbRsJbUdc7nYeCB-TNZ8g4hYTM2mOethg@mail.gmail.com> (raw)
In-Reply-To: <20160720093719.GA21501@nyan>

2016-07-20 17:37 GMT+08:00 Felix Janda <felix.janda@posteo.de>:
> Lei Zhang wrote:
>> Hi,
>>
>> I just built a stage4 from the vanilla musl stage3, with clang as the
>> default compiler and all packages rebuilt with clang.
>>
>> Now I was trying to build Linux kernel in this stage4, but failed with
>> certain errors. To name one of them:
>>
>> Documentation/misc-devices/mei/mei-amt-version.c:76:27: fatal error:
>> bits/wordsize.h: No such file or directory
>
> https://bugs.gentoo.org/show_bug.cgi?id=588270
>
> TL;DR just disable BUILD_DOCSRC.

It works. Thanks!

The kernel config even automatically picks gcc, so I don't need to
worry about using clang as the system-wide default compiler :)


Lei


      reply	other threads:[~2016-07-20 10:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20  9:17 [gentoo-musl] Failed to build Linux kernel on musl Lei Zhang
2016-07-20  9:37 ` Felix Janda
2016-07-20 10:14   ` Lei Zhang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOYuCc28YTDiCC1ShfbRsJbUdc7nYeCB-TNZ8g4hYTM2mOethg@mail.gmail.com \
    --to=zhanglei.april@gmail.com \
    --cc=felix.janda@posteo.de \
    --cc=gentoo-musl@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox