From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 D95FF13832E for ; Wed, 20 Jul 2016 09:18:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1453821C054; Wed, 20 Jul 2016 09:18:16 +0000 (UTC) Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) (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 ADC8721C054 for ; Wed, 20 Jul 2016 09:18:15 +0000 (UTC) Received: by mail-it0-f50.google.com with SMTP id f6so110897881ith.1 for ; Wed, 20 Jul 2016 02:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=i5h3FuVyKwER7wvUTe6YfMVIAj4z0TV8KN2qHbYSW9c=; b=h0BWSNlA+TgwYFAEoDJF5cwCAnQDBny7XPMo7Cm9GpNjHNQ6BPbmtTW/fAh1CSvOS9 E3uWcWqmJRaROjlxaz+DbZYV2pcaSMOFyivuLGvyT4HEBSmn0TVc7I+stVz++upcy9gC EQKedxKPT9cBb5mSgL6BBaaUKbpFGlDjaKcQ7Sy30HJNaFYtX6qZyPEtvWqDQ7zS6Mn3 R4cTZIxB4VNxq5MK0SMl8k12wmcSHrWZaL/O3COjNEz4ozlX4AjIxvB9UdXj+rG7gn02 djMtPbUV6B+Fd4Yq1q9Wi9HNdNiaq+iw9hH0QIVE0exSnjqG3uYSDjE1FkpsIJ+jupwU oRGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=i5h3FuVyKwER7wvUTe6YfMVIAj4z0TV8KN2qHbYSW9c=; b=TA3oRcJbr9RR/6vuqRpWoSrIyszY1rmvUaHTxwvhWVy+2/oULXhJT9p5Yeeo0sNlrF V1EXIEVastVAw5I+gD+rDoSNxeFTIc89FtS6Xy5fYO2YibOP78P3SK6AzqgXTnY7lSyq OKHehsh4N8reRyp00+Z1SngE3f6/00HQzB9njZKgx+lFGHDWpSIbbveLsmoAHECxSH// ZCHqbhGaO1vOSP7AwLcNKLVDued40hWZhFVbNsnPHzGYzX3oy2hfTKcM+f02K4Z9BveV jlGLHUBL2MAabi/nvrVnfTUpxSE/A4eumfZz55oJQOuLNY/WyfJxL7at61uH0aVxdScf 44gQ== X-Gm-Message-State: ALyK8tLAk+06Kb82s/cGGw1/lsmq1mlaulxUI4aMx70t6D6Ic8ONcGY4hqOoO4siDN7Rm6qh6yGVVFGSt7uWkg== X-Received: by 10.36.78.204 with SMTP id r195mr8342834ita.56.1469006294922; Wed, 20 Jul 2016 02:18:14 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo musl list 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 02:17:55 -0700 (PDT) From: Lei Zhang Date: Wed, 20 Jul 2016 17:17:55 +0800 Message-ID: Subject: [gentoo-musl] Failed to build Linux kernel on musl To: gentoo-musl@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 36aa2ad9-6d6a-482d-a3e4-7adb09cc8084 X-Archives-Hash: ad4431a827e5cb52bc6c9563de5ffca6 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 So are there any caveats I should take before building the kernel on musl, patches or certain config options? Thanks, Lei