ports/189067: [patch] devel/boehm-gc: enable build on FreeBSD ia64
Anton Shterenlikht
mexas at bris.ac.uk
Mon Apr 28 10:10:01 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list