From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6477 Path: news.gmane.org!not-for-mail From: Thomas Petazzoni Newsgroups: gmane.linux.lib.musl.general Subject: musl-cross toolchains now unusable in Buildroot Date: Sun, 9 Nov 2014 20:56:15 +0100 Organization: Free Electrons Message-ID: <20141109205615.737a17a3@free-electrons.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1415562999 23443 80.91.229.3 (9 Nov 2014 19:56:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2014 19:56:39 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6490-gllmg-musl=m.gmane.org@lists.openwall.com Sun Nov 09 20:56:32 2014 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XnYb9-0005JM-0C for gllmg-musl@m.gmane.org; Sun, 09 Nov 2014 20:56:31 +0100 Original-Received: (qmail 21800 invoked by uid 550); 9 Nov 2014 19:56:29 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 21792 invoked from network); 9 Nov 2014 19:56:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:6477 Archived-At: Hello, Since quite a while, we've added support in Buildroot for the pre-built toolchains provided by musl-cross. This was a great way for people to test very easily the musl C library, and therefore get more people to use it. We're currently using the 1.1.1 version of the toolchain. Unfortunately, since version 1.1.2, two things have changed that prevent us from using the pre-built toolchains: * The toolchains have the sysroot mechanism disabled. For an unknown reason, in commit https://bitbucket.org/GregorR/musl-cross/commits/f9c0c3c34f0fe122541a129f1aa87686954d5f1b, the sysroot feature was disabled. This is weird, as essentially all modern toolchains have the sysroot feature enabled. This is essential for Buildroot to use a pre-built toolchain. I've filled https://bitbucket.org/GregorR/musl-cross/issue/5/sysroot-support-needed-for-buildroot about this issue. * The absence of complete kernel headers. I don't know if it's related to the change to use the sanitized headers from the Sabotage project, or some other change, but the toolchain no longer has the directory, which normally contains files such as . This is for example causing a problem as Buildroot checks the kernel headers version using , though this particular aspect could potentially be fixed. I've filled https://bitbucket.org/GregorR/musl-cross/issue/6/non-standard-kernel-headers-causing-issues about this issue. Feedback/comments welcome. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com