From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-musl+bounces-178-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 70BAB13832E for <garchives@archives.gentoo.org>; Wed, 20 Jul 2016 10:15:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F2EC21C054; Wed, 20 Jul 2016 10:15:16 +0000 (UTC) Received: from mail-io0-f193.google.com (mail-io0-f193.google.com [209.85.223.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2778521C054 for <gentoo-musl@lists.gentoo.org>; Wed, 20 Jul 2016 10:15:16 +0000 (UTC) Received: by mail-io0-f193.google.com with SMTP id g86so3166423ioj.1 for <gentoo-musl@lists.gentoo.org>; Wed, 20 Jul 2016 03:15:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LjkthDMI+kAhRvHzDAMB4c0MzDAwRkCyMXHDJBjMMTU=; b=QVkd9RoLKDPMN4vl9UE16UcSbHaZ2rUIbSobvS4ww7OEfy9A6nWjrSZ9Mcv+GAt9SG BMKWcQDziwPBTS+t0iF9oxnATwTUaLvrUuqR1WHjPEOhhg/YlX0oNuUOcQ3h+Gtc9AUq 67/qsbpbAw7j7n5hlFvtY1xSkKLBT4MuCC6n4vkJwbT0n6gjfrXN+khnl+EmRUkYWQCW kOOq9A0bYO7YCrCQpffWTRXj/ydzPX3NgzkT0L7wYQvl+RBAAx3xw5Z5yWgTIuuHYbWv 4tEIWsd6FRtrMzci1/bfXo7DtpV00Ijxw3I1bZhse07hgBfcyQ/60hUt7gbRqh5ri8Vp 6qIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LjkthDMI+kAhRvHzDAMB4c0MzDAwRkCyMXHDJBjMMTU=; b=FCdqSVwEzClGvQ2Bjfd2umHB1il7yGZRi9faf8bjD1w40xuPLyWp/MXh2haaIi6yf8 c9XMn36KV9T7/qcx+VY++Z3idJjpaDUPr1qtFERiOdxxX6gatvYXHz8Tc4BObnPyhOZN Aj25lYaCc/PsCpK0FlPlp822VkE/PPiC3bc7d8ZzZ1adUD3YKYgneEg3rcJEsHJm3nAl Py1EDygIcigHp09d6uWhfpXaCMBSiwy1OCUh29kJjSPk5ZMq3LEd5j2pDjMqdln8rRyL 2Bf2ZEQ4a1cUyvAFBY3DrRI1q/s5/t2A3mhNkg5nE25Z4TZXPgsBlR0QyHrv/HQj747F LTXQ== X-Gm-Message-State: ALyK8tK2CNXuJCuxgHlBcaglNqP11HIJ4tTFU1CnMLZif4H8TwLjxtGt87UsDzpJiotkuNrcxTx3JaObX/pLxg== X-Received: by 10.107.53.156 with SMTP id k28mr44613854ioo.134.1469009715499; Wed, 20 Jul 2016 03:15:15 -0700 (PDT) Precedence: bulk List-Post: <mailto:gentoo-musl@lists.gentoo.org> List-Help: <mailto:gentoo-musl+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-musl+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-musl+subscribe@lists.gentoo.org> List-Id: Gentoo musl list <gentoo-musl.gentoo.org> X-BeenThere: gentoo-musl@gentoo.org X-BeenThere: gentoo-musl@lists.gentoo.org MIME-Version: 1.0 Received: by 10.36.83.68 with HTTP; Wed, 20 Jul 2016 03:14:56 -0700 (PDT) In-Reply-To: <20160720093719.GA21501@nyan> References: <CAOYuCc27BKZq5m+_AdX4HeeBnsLCQRJwHU1d+pwmFQRZZbo=NA@mail.gmail.com> <20160720093719.GA21501@nyan> From: Lei Zhang <zhanglei.april@gmail.com> Date: Wed, 20 Jul 2016 18:14:56 +0800 Message-ID: <CAOYuCc28YTDiCC1ShfbRsJbUdc7nYeCB-TNZ8g4hYTM2mOethg@mail.gmail.com> Subject: Re: [gentoo-musl] Failed to build Linux kernel on musl To: Felix Janda <felix.janda@posteo.de> Cc: gentoo-musl@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 6a0f272d-e375-44d3-b21a-244a73df8c11 X-Archives-Hash: 207961c730380935f136176e3c1550f7 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