From patchwork Fri Jul 31 12:22:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Heading X-Patchwork-Id: 502526 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 7B38714032E for ; Fri, 31 Jul 2015 22:22:27 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=baDcOBXQ; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AEC5333BC2; Fri, 31 Jul 2015 12:22:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PC-FekfRbodd; Fri, 31 Jul 2015 12:22:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id ED0E333BC3; Fri, 31 Jul 2015 12:22:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id A9D0A1C160B for ; Fri, 31 Jul 2015 12:22:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A54678BE9D for ; Fri, 31 Jul 2015 12:22:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pd7fM7dhw18H for ; Fri, 31 Jul 2015 12:22:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 5695E8B044 for ; Fri, 31 Jul 2015 12:22:22 +0000 (UTC) Received: by wicmv11 with SMTP id mv11so56114295wic.0 for ; Fri, 31 Jul 2015 05:22:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=5AVpD8cYoh5NvxrGXH8A5mo4UBDD1fRVmrTDvpjjryY=; b=baDcOBXQ8KA6rHfjL59A4BhCjWyZw/hOUBBch6Ug+W3lhFrOAhGYA4wvc5ldYvc+t8 hAm6hkhj0i79PtD9N/g3LZEAO8xToyOkkMWVMjgpYtwPwBdthRRn4/XdGqzV7y71prob Tp0AFN2MJgfwJGKYifluaC9EghzrnHlrg6rzn/07/xT9Dk8YlSvJmBYYKQp0O4xjoZe3 toYomAAp9f2+jUaZxzGfiQfgtyVk5f306JvKzT+K4b+Mnc2J3RKDu2NdWdoh1sx1voe0 qt9ed5nzRrVGD6PXySqe6iyEd8wvCBkbwWv93ip68YVbgSyTqvHIjTvhWGIsf7Z28Uyc iVIQ== X-Received: by 10.194.57.232 with SMTP id l8mr5798070wjq.48.1438345340807; Fri, 31 Jul 2015 05:22:20 -0700 (PDT) Received: from bhfedora.localdomain ([82.15.84.251]) by smtp.gmail.com with ESMTPSA id fm8sm4261858wib.9.2015.07.31.05.22.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Jul 2015 05:22:20 -0700 (PDT) From: Brendan Heading To: buildroot@buildroot.org Date: Fri, 31 Jul 2015 13:22:17 +0100 Message-Id: <1438345337-2947-1-git-send-email-brendanheading@gmail.com> X-Mailer: git-send-email 2.4.3 Cc: Brendan Heading Subject: [Buildroot] [PATCH v2 1/1] package/bdwgc: musl build failure X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes http://autobuild.buildroot.net/results/1ed/1edb5e7dab88d3fefca533ab56f7ddc7dd5411d2/ Upstream removed unused code which was causing compilation issues. Signed-off-by: Brendan Heading --- v1 -> v2 - updated to use a backported change from upstream. --- package/bdwgc/0002-bdwgc-musl-compile-error.patch | 58 +++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 package/bdwgc/0002-bdwgc-musl-compile-error.patch diff --git a/package/bdwgc/0002-bdwgc-musl-compile-error.patch b/package/bdwgc/0002-bdwgc-musl-compile-error.patch new file mode 100644 index 0000000..8f74c7c --- /dev/null +++ b/package/bdwgc/0002-bdwgc-musl-compile-error.patch @@ -0,0 +1,58 @@ +From 212c6c87aa893e101eabbfc46158b7b562f7f21c Mon Sep 17 00:00:00 2001 +From: Brendan Heading +Date: Fri, 31 Jul 2015 13:00:58 +0100 +Subject: [PATCH 1/1] bdwgc: musl compile error + +Upstream had removed the need for sigcontext and removed the offending +code, so backport this change here. + +Upstream-status: backport +Signed-off-by: Brendan Heading +--- + os_dep.c | 30 ------------------------------ + 1 file changed, 30 deletions(-) + +diff --git a/os_dep.c b/os_dep.c +index 08c501d..54eed52 100644 +--- a/os_dep.c ++++ b/os_dep.c +@@ -16,36 +16,6 @@ + + #include "private/gc_priv.h" + +-#if defined(LINUX) && !defined(POWERPC) && !defined(NO_SIGCONTEXT_H) +-# include +-# if (LINUX_VERSION_CODE <= 0x10400) +- /* Ugly hack to get struct sigcontext_struct definition. Required */ +- /* for some early 1.3.X releases. Will hopefully go away soon. */ +- /* in some later Linux releases, asm/sigcontext.h may have to */ +- /* be included instead. */ +-# define __KERNEL__ +-# include +-# undef __KERNEL__ +-# else +- /* Kernels prior to 2.1.1 defined struct sigcontext_struct instead of */ +- /* struct sigcontext. libc6 (glibc2) uses "struct sigcontext" in */ +- /* prototypes, so we have to include the top-level sigcontext.h to */ +- /* make sure the former gets defined to be the latter if appropriate. */ +-# include +-# if 2 <= __GLIBC__ +-# if 2 == __GLIBC__ && 0 == __GLIBC_MINOR__ +- /* glibc 2.1 no longer has sigcontext.h. But signal.h */ +- /* has the right declaration for glibc 2.1. */ +-# include +-# endif /* 0 == __GLIBC_MINOR__ */ +-# else /* __GLIBC__ < 2 */ +- /* libc5 doesn't have : go directly with the kernel */ +- /* one. Check LINUX_VERSION_CODE to see which we should reference. */ +-# include +-# endif /* __GLIBC__ < 2 */ +-# endif +-#endif /* LINUX && !POWERPC */ +- + #if !defined(OS2) && !defined(PCR) && !defined(AMIGA) && !defined(MACOS) \ + && !defined(MSWINCE) && !defined(__CC_ARM) + # include +-- +2.4.3 +