From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 28 10:10:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E60496FE for ; Mon, 28 Apr 2014 10:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B51E8151B for ; Mon, 28 Apr 2014 10:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3SAA0qg063820 for ; Mon, 28 Apr 2014 10:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3SAA0XU063819; Mon, 28 Apr 2014 10:10:00 GMT (envelope-from gnats) Resent-Date: Mon, 28 Apr 2014 10:10:00 GMT Resent-Message-Id: <201404281010.s3SAA0XU063819@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anton Shterenlikht Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C3AA6DC for ; Mon, 28 Apr 2014 10:07:38 +0000 (UTC) Received: from eu1sys200aog123.obsmtp.com (eu1sys200aog123.obsmtp.com [207.126.144.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 99F5E150B for ; Mon, 28 Apr 2014 10:07:37 +0000 (UTC) Received: from mail-we0-f179.google.com ([74.125.82.179]) (using TLSv1) by eu1sys200aob123.postini.com ([207.126.147.11]) with SMTP ID DSNKU14oYRc10snZY7lZHvG/A3378J/oYjFH@postini.com; Mon, 28 Apr 2014 10:07:37 UTC Received: by mail-we0-f179.google.com with SMTP id x48so5988294wes.24 for ; Mon, 28 Apr 2014 03:07:29 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id pn9sm16737712wic.17.2014.04.28.03.07.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Apr 2014 03:07:28 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.8/8.14.8) with ESMTP id s3S9wjtq065627 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 28 Apr 2014 10:58:45 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.8/8.14.8/Submit) id s3S9wjO2065626; Mon, 28 Apr 2014 10:58:45 +0100 (BST) (envelope-from mexas) Message-Id: <201404280958.s3S9wjO2065626@mech-cluster241.men.bris.ac.uk> Date: Mon, 28 Apr 2014 10:58:45 +0100 (BST) From: Anton Shterenlikht Sender: Anton Shterenlikht To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/189067: [patch] devel/boehm-gc: enable build on FreeBSD ia64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Anton Shterenlikht List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2014 10:10:01 -0000 >Number: 189067 >Category: ports >Synopsis: [patch] devel/boehm-gc: enable build on FreeBSD ia64 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 28 10:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Anton Shterenlikht >Release: FreeBSD 11.0-CURRENT ia64 >Organization: >Environment: System: FreeBSD mech-cluster241.men.bris.ac.uk 11.0-CURRENT FreeBSD 11.0-CURRENT #15 r264294: Thu Apr 10 14:09:26 BST 2014 root@mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV ia64 >Description: With this patch I can build/install the port on ia64: # cat files/patch-include-private-gcconfig.h --- include/private/gcconfig.h.orig 2013-11-10 08:51:30.000000000 +0000 +++ include/private/gcconfig.h 2014-04-28 09:04:12.000000000 +0100 @@ -1846,6 +1846,20 @@ # endif # define ALIGNMENT 8 # endif +# ifdef FREEBSD +# define OS_TYPE "FREEBSD" +# define CPP_WORDSZ 64 +# define ALIGNMENT 8 +# define SEARCH_FOR_DATA_START +# define FREEBSD_STACKBOTTOM +# ifdef __ELF__ +# define DYNAMIC_LOADING +# endif +# define BACKING_STORE_ALIGNMENT 0x100000 +# define BACKING_STORE_DISPLACEMENT 0x80000000 + extern ptr_t GC_register_stackbottom; +# define BACKING_STORE_BASE GC_register_stackbottom +# endif # endif # ifdef M88K # Thanks to guys at bdwgc mailing list: https://lists.opendylan.org/pipermail/bdwgc/2014-April/005878.html Please test that this patch doesn't break anything on other arches. It shouldn't becase all definitions are under IA64 clause. But please check anyway. If ok, then please commit. This would unblock ~50 ports on ia64. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: