From patchwork Thu Sep 25 12:13:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Hundven X-Patchwork-Id: 393321 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 46B9214017F for ; Thu, 25 Sep 2014 22:13:27 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=yPzAMtNhLNm65lAbFPoHtuPIC5464DMWQXxIgNrU1mbVfFEedztlj v3o7aWjHLMe4JBtg9hmgfIWITTEYfbFUstQmT6hDV9U1mzaqK1ol1sj/i6UbRLR9 sQjTw/iRJYdbU07NEHYqqT6DVIxdlPsXkwd0im1ZpVtL9YZFA9O2go= 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:from:to:cc:subject:date:message-id; s=default; bh=YL5XKHGNfHyV6cDMkIM4Q4GTNDY=; b=QLOLV+xexYYGmUnsGEYlTvlF8Oug fPD67UhULdM7XITlxIktZ5gGmYRNNML6FbzftQdWsvSWypeNC/pms2iIM1nIo+SB BlnIb7FB3RVGkn+Nuibmz/IYrZSSiOaf+3qpduwXdHiFSY3D4XwTTq+T1dJz/tx5 0wrUmzTG2E6wlz4= Received: (qmail 15876 invoked by alias); 25 Sep 2014 12:13:19 -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 15867 invoked by uid 89); 25 Sep 2014 12:13:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f170.google.com Received: from mail-pd0-f170.google.com (HELO mail-pd0-f170.google.com) (209.85.192.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 25 Sep 2014 12:13:16 +0000 Received: by mail-pd0-f170.google.com with SMTP id y13so10766001pdi.29 for ; Thu, 25 Sep 2014 05:13:14 -0700 (PDT) X-Received: by 10.68.219.104 with SMTP id pn8mr18673614pbc.152.1411647194825; Thu, 25 Sep 2014 05:13:14 -0700 (PDT) Received: from fuzzy.hsd1.wa.comcast.net. (c-50-135-131-187.hsd1.wa.comcast.net. [50.135.131.187]) by mx.google.com with ESMTPSA id c9sm2030784pbu.77.2014.09.25.05.13.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Sep 2014 05:13:14 -0700 (PDT) From: Bryan Hundven To: "Yann E. MORIN" Cc: crossgcc@sourceware.org, Bryan Hundven Subject: [PATCH] Fix building bohem-gc with uclibc Date: Thu, 25 Sep 2014 05:13:02 -0700 Message-Id: <1411647182-1976-1-git-send-email-bryanhundven@gmail.com> X-IsSubscribed: yes Patch borrowed from buildroot: http://git.buildroot.org/buildroot/tree/package/gcc/4.9.1/301-missing-execinfo_h.patch Signed-off-by: Bryan Hundven --- patches/gcc/4.7.0/300-missing-execinfo_h.patch | 13 +++++++++++++ patches/gcc/4.7.2/300-missing-execinfo_h.patch | 13 +++++++++++++ patches/gcc/4.7.3/300-missing-execinfo_h.patch | 13 +++++++++++++ patches/gcc/4.7.4/300-missing-execinfo_h.patch | 13 +++++++++++++ patches/gcc/4.8.0/300-missing-execinfo_h.patch | 13 +++++++++++++ patches/gcc/4.8.1/300-missing-execinfo_h.patch | 13 +++++++++++++ patches/gcc/4.8.2/300-missing-execinfo_h.patch | 13 +++++++++++++ patches/gcc/4.8.3/300-missing-execinfo_h.patch | 13 +++++++++++++ patches/gcc/4.9.0/300-missing-execinfo_h.patch | 13 +++++++++++++ patches/gcc/4.9.1/300-missing-execinfo_h.patch | 13 +++++++++++++ 10 files changed, 130 insertions(+) create mode 100644 patches/gcc/4.7.0/300-missing-execinfo_h.patch create mode 100644 patches/gcc/4.7.2/300-missing-execinfo_h.patch create mode 100644 patches/gcc/4.7.3/300-missing-execinfo_h.patch create mode 100644 patches/gcc/4.7.4/300-missing-execinfo_h.patch create mode 100644 patches/gcc/4.8.0/300-missing-execinfo_h.patch create mode 100644 patches/gcc/4.8.1/300-missing-execinfo_h.patch create mode 100644 patches/gcc/4.8.2/300-missing-execinfo_h.patch create mode 100644 patches/gcc/4.8.3/300-missing-execinfo_h.patch create mode 100644 patches/gcc/4.9.0/300-missing-execinfo_h.patch create mode 100644 patches/gcc/4.9.1/300-missing-execinfo_h.patch diff --git a/patches/gcc/4.7.0/300-missing-execinfo_h.patch b/patches/gcc/4.7.0/300-missing-execinfo_h.patch new file mode 100644 index 0000000..00efda2 --- /dev/null +++ b/patches/gcc/4.7.0/300-missing-execinfo_h.patch @@ -0,0 +1,13 @@ +Index: gcc-4.8.0/boehm-gc/include/gc.h +=================================================================== +--- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 ++++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 +@@ -503,7 +503,7 @@ + #if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ +- && !defined(__ia64__) ++ && !defined(__ia64__) && !defined(__UCLIBC__) + # ifndef GC_HAVE_BUILTIN_BACKTRACE + # define GC_HAVE_BUILTIN_BACKTRACE + # endif diff --git a/patches/gcc/4.7.2/300-missing-execinfo_h.patch b/patches/gcc/4.7.2/300-missing-execinfo_h.patch new file mode 100644 index 0000000..00efda2 --- /dev/null +++ b/patches/gcc/4.7.2/300-missing-execinfo_h.patch @@ -0,0 +1,13 @@ +Index: gcc-4.8.0/boehm-gc/include/gc.h +=================================================================== +--- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 ++++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 +@@ -503,7 +503,7 @@ + #if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ +- && !defined(__ia64__) ++ && !defined(__ia64__) && !defined(__UCLIBC__) + # ifndef GC_HAVE_BUILTIN_BACKTRACE + # define GC_HAVE_BUILTIN_BACKTRACE + # endif diff --git a/patches/gcc/4.7.3/300-missing-execinfo_h.patch b/patches/gcc/4.7.3/300-missing-execinfo_h.patch new file mode 100644 index 0000000..00efda2 --- /dev/null +++ b/patches/gcc/4.7.3/300-missing-execinfo_h.patch @@ -0,0 +1,13 @@ +Index: gcc-4.8.0/boehm-gc/include/gc.h +=================================================================== +--- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 ++++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 +@@ -503,7 +503,7 @@ + #if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ +- && !defined(__ia64__) ++ && !defined(__ia64__) && !defined(__UCLIBC__) + # ifndef GC_HAVE_BUILTIN_BACKTRACE + # define GC_HAVE_BUILTIN_BACKTRACE + # endif diff --git a/patches/gcc/4.7.4/300-missing-execinfo_h.patch b/patches/gcc/4.7.4/300-missing-execinfo_h.patch new file mode 100644 index 0000000..00efda2 --- /dev/null +++ b/patches/gcc/4.7.4/300-missing-execinfo_h.patch @@ -0,0 +1,13 @@ +Index: gcc-4.8.0/boehm-gc/include/gc.h +=================================================================== +--- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 ++++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 +@@ -503,7 +503,7 @@ + #if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ +- && !defined(__ia64__) ++ && !defined(__ia64__) && !defined(__UCLIBC__) + # ifndef GC_HAVE_BUILTIN_BACKTRACE + # define GC_HAVE_BUILTIN_BACKTRACE + # endif diff --git a/patches/gcc/4.8.0/300-missing-execinfo_h.patch b/patches/gcc/4.8.0/300-missing-execinfo_h.patch new file mode 100644 index 0000000..00efda2 --- /dev/null +++ b/patches/gcc/4.8.0/300-missing-execinfo_h.patch @@ -0,0 +1,13 @@ +Index: gcc-4.8.0/boehm-gc/include/gc.h +=================================================================== +--- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 ++++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 +@@ -503,7 +503,7 @@ + #if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ +- && !defined(__ia64__) ++ && !defined(__ia64__) && !defined(__UCLIBC__) + # ifndef GC_HAVE_BUILTIN_BACKTRACE + # define GC_HAVE_BUILTIN_BACKTRACE + # endif diff --git a/patches/gcc/4.8.1/300-missing-execinfo_h.patch b/patches/gcc/4.8.1/300-missing-execinfo_h.patch new file mode 100644 index 0000000..00efda2 --- /dev/null +++ b/patches/gcc/4.8.1/300-missing-execinfo_h.patch @@ -0,0 +1,13 @@ +Index: gcc-4.8.0/boehm-gc/include/gc.h +=================================================================== +--- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 ++++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 +@@ -503,7 +503,7 @@ + #if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ +- && !defined(__ia64__) ++ && !defined(__ia64__) && !defined(__UCLIBC__) + # ifndef GC_HAVE_BUILTIN_BACKTRACE + # define GC_HAVE_BUILTIN_BACKTRACE + # endif diff --git a/patches/gcc/4.8.2/300-missing-execinfo_h.patch b/patches/gcc/4.8.2/300-missing-execinfo_h.patch new file mode 100644 index 0000000..00efda2 --- /dev/null +++ b/patches/gcc/4.8.2/300-missing-execinfo_h.patch @@ -0,0 +1,13 @@ +Index: gcc-4.8.0/boehm-gc/include/gc.h +=================================================================== +--- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 ++++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 +@@ -503,7 +503,7 @@ + #if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ +- && !defined(__ia64__) ++ && !defined(__ia64__) && !defined(__UCLIBC__) + # ifndef GC_HAVE_BUILTIN_BACKTRACE + # define GC_HAVE_BUILTIN_BACKTRACE + # endif diff --git a/patches/gcc/4.8.3/300-missing-execinfo_h.patch b/patches/gcc/4.8.3/300-missing-execinfo_h.patch new file mode 100644 index 0000000..00efda2 --- /dev/null +++ b/patches/gcc/4.8.3/300-missing-execinfo_h.patch @@ -0,0 +1,13 @@ +Index: gcc-4.8.0/boehm-gc/include/gc.h +=================================================================== +--- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 ++++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 +@@ -503,7 +503,7 @@ + #if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ +- && !defined(__ia64__) ++ && !defined(__ia64__) && !defined(__UCLIBC__) + # ifndef GC_HAVE_BUILTIN_BACKTRACE + # define GC_HAVE_BUILTIN_BACKTRACE + # endif diff --git a/patches/gcc/4.9.0/300-missing-execinfo_h.patch b/patches/gcc/4.9.0/300-missing-execinfo_h.patch new file mode 100644 index 0000000..00efda2 --- /dev/null +++ b/patches/gcc/4.9.0/300-missing-execinfo_h.patch @@ -0,0 +1,13 @@ +Index: gcc-4.8.0/boehm-gc/include/gc.h +=================================================================== +--- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 ++++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 +@@ -503,7 +503,7 @@ + #if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ +- && !defined(__ia64__) ++ && !defined(__ia64__) && !defined(__UCLIBC__) + # ifndef GC_HAVE_BUILTIN_BACKTRACE + # define GC_HAVE_BUILTIN_BACKTRACE + # endif diff --git a/patches/gcc/4.9.1/300-missing-execinfo_h.patch b/patches/gcc/4.9.1/300-missing-execinfo_h.patch new file mode 100644 index 0000000..00efda2 --- /dev/null +++ b/patches/gcc/4.9.1/300-missing-execinfo_h.patch @@ -0,0 +1,13 @@ +Index: gcc-4.8.0/boehm-gc/include/gc.h +=================================================================== +--- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 ++++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 +@@ -503,7 +503,7 @@ + #if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ +- && !defined(__ia64__) ++ && !defined(__ia64__) && !defined(__UCLIBC__) + # ifndef GC_HAVE_BUILTIN_BACKTRACE + # define GC_HAVE_BUILTIN_BACKTRACE + # endif