From patchwork Tue Sep 22 20:26:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reinoud Koornstra X-Patchwork-Id: 521409 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B72B140187 for ; Wed, 23 Sep 2015 06:26:35 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=xuUNiWTV; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=TwlYjqUPheWVJuKoxkNT5INBsVPZK vqbCsXfzKW7zk75LxPjd3/nTiD88iAKxmjJYJiXM4CWXwjRmiQxpBjDPaaS5YxM0 rT/CL4/q+Xn9kHnGMt4v6TLMsCmz91vX8uwcP0REJCwPyUIfI7OMnpgilG+0fkwd XER7J6DP45XnQ8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=XZhghoP36A8a29Z8MA/AAVqjsJo=; b=xuU NiWTVTkgBzo4P3fLxi8MUOlMvTdg0CgfqYzGN8+vQGzxHeRkDDBgMD2T06wS0N0Q kdqGMjS9vjHQDbtvXCRSLwQcIqIsoe+sDhYxPwDH8Aj86WHKaFCjF5Ub7XS+JQhW 5aJqu5/9ACNh1cK1zgFqHu9+XUGLsdCXAQUt06bU= Received: (qmail 46161 invoked by alias); 22 Sep 2015 20:26:25 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 46145 invoked by uid 89); 22 Sep 2015 20:26:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL, BAYES_50, FREEMAIL_FROM, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-vk0-f43.google.com Received: from mail-vk0-f43.google.com (HELO mail-vk0-f43.google.com) (209.85.213.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 22 Sep 2015 20:26:17 +0000 Received: by vkao3 with SMTP id o3so14592862vka.2 for ; Tue, 22 Sep 2015 13:26:14 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.31.60.145 with SMTP id j139mr19318379vka.89.1442953574424; Tue, 22 Sep 2015 13:26:14 -0700 (PDT) Received: by 10.103.67.65 with HTTP; Tue, 22 Sep 2015 13:26:14 -0700 (PDT) Date: Tue, 22 Sep 2015 14:26:14 -0600 Message-ID: Subject: patches for gcc and strace From: Reinoud Koornstra To: "crossgcc@sourceware.org" X-IsSubscribed: yes HI Bryan, I tried to get gcc to compile with musl and it simply doesn't in our current states. I tried gcc 4.9.3. However, there's a patch for this and it comes from the musl-cross project at https://bitbucket.org/GregorR/musl-cross/src. I got the patch from buildroot where they included it in their tree. Now gcc 4.9.3 does compile with musl. Also, with musl, strace 4.10 fails to compile. I got two patches that i fetched that will be included in strace 4.11 The sgidef's patgch is a super simple patch from myself, it find's that include file in a different directory in case of musl. This isn't a good patch as this will just work for musl and needs to be adjusted. Please consider these patches and now people are able to build the toolchain with musl. I tested this for mips currently. Thanks, Reinoud. --- For unsubscribe information see http://sourceware.org/lists.html#faq --- strace-4.10/configure.orig 2015-09-21 16:41:06.503808984 -0600 +++ strace-4.10/configure 2015-09-21 16:44:08.952221297 -0600 @@ -5872,7 +5872,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { @@ -5886,7 +5886,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { @@ -5900,7 +5900,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () {