From patchwork Wed Jun 22 14:07:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 639218 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 3rZRJ31ss9z9t0J for ; Thu, 23 Jun 2016 00:07:46 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=rJab2uBv; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; q=dns; s=default; b=oKdwG8vA+HsDqxGwO awAHBw2UthT+KA+hTiGl9TmWjbkieK8L13mJkiQV+pMFaIXnzYm9TJeQf8HUnE/n S093oU+h9t1M6BWUQCVj7qdT4u6VoHdTud3HDhtbSwn0B6p5drukvOVrb6b9WZWU LXPEjjBqEngTHwUkOmBQPHOQIA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=default; bh=/PV9qkZbAN9giefSVcX4jEj 5h/4=; b=rJab2uBvtdZmh/C1v5Fz2kK+vn9ldnnpu+Rz/NK4njr2VMv+m9sOYPw 5jKqIrp9h9fF46Pi0zhoMlDQbspru2vxLC/PyJl7xTaFqi+RgmB69YLZz0RjO2lS baXLcOUSDFf1XPWDHKIAvnQIzd3YKARJP3QgXlrKOF9upq/7+CIE= Received: (qmail 17755 invoked by alias); 22 Jun 2016 14:07:38 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 17745 invoked by uid 89); 22 Jun 2016 14:07:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=D*hp.com, cherry, Hans X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Jun 2016 14:07:28 +0000 Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 32FE7340901; Wed, 22 Jun 2016 14:07:23 +0000 (UTC) Date: Wed, 22 Jun 2016 10:07:22 -0400 From: Mike Frysinger To: Jeff Law Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH PING] boehm-gc: check for execinfo.h directly Message-ID: <20160622140722.GJ24532@vapier.lan> References: <1440896686-10729-1-git-send-email-vapier@gentoo.org> <1465839643-24779-1-git-send-email-vapier@gentoo.org> <20160622005933.GV24532@vapier.lan> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: On 21 Jun 2016 21:10, Jeff Law wrote: > On 06/21/2016 06:59 PM, Mike Frysinger wrote: > > On 21 Jun 2016 15:46, Jeff Law wrote: > > > >> If accepted into upstream Boehm-GC, then this is obviously acceptable in > >> GCC's copy. > > > > so changes can be pushed directly if it's already in upstream ? > > my original goal is already fixed in upstream, but it's not in > > gcc's copy ... > > Yes. Ideally we'd just resync at some point in the near future, but if > you want to cherry-pick a fix from upstream so it gets fixed sooner, > that's fine. great, then i'll cherry pick the fix as it was merged upstream, and pursue the updated version via upstream's github. -mike From cc481b795b819595d2d1a5d671448c9894d1f05c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 22 Jun 2016 10:04:18 -0400 Subject: [PATCH] boehm-gc: pull in upstream fix for uClibc 2007-12-18 Hans Boehm (really Radek Polak) * include/gc.h: Don't define GC_HAVE_BUILTIN_BACKTRACE for uclibc. --- boehm-gc/ChangeLog | 4 ++++ boehm-gc/include/gc.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 6896c67b757a..208b18efd4ea 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,7 @@ +2016-06-22 Mike Frysinger + + * include/gc.h: Don't define GC_HAVE_BUILTIN_BACKTRACE for uclibc. + 2016-03-29 Samuel Thibault * configure.host: Set gc_use_mmap on *-kfreebsd-gnu* and *-gnu*. diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h index 6b38f2d0e6ca..fca98ffb61d5 100644 --- a/boehm-gc/include/gc.h +++ b/boehm-gc/include/gc.h @@ -503,7 +503,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_off_page GC_PROTO((size_t lb)); #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 -- 2.8.2