FreeBSD Bugzilla – Attachment 158170 Details for
Bug 201183
devel/boehm-gc lacks AARCH64 support (causes www/w3m build failure)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
boehm-gc-7.4.2_4.diff
boehm-gc-7.4.2_4.diff (text/plain), 3.73 KB, created by
Carlos J Puga Medina
on 2015-06-29 20:03:59 UTC
(
hide
)
Description:
boehm-gc-7.4.2_4.diff
Filename:
MIME Type:
Creator:
Carlos J Puga Medina
Created:
2015-06-29 20:03:59 UTC
Size:
3.73 KB
patch
obsolete
>diff -urN /usr/ports/devel/boehm-gc.old/Makefile /usr/ports/devel/boehm-gc/Makefile >--- /usr/ports/devel/boehm-gc.old/Makefile 2015-05-09 03:06:56.000000000 +0200 >+++ /usr/ports/devel/boehm-gc/Makefile 2015-06-29 21:14:39.000000000 +0200 >@@ -3,7 +3,7 @@ > > PORTNAME= gc > PORTVERSION= 7.4.2 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= devel > MASTER_SITES= http://www.hboehm.info/gc/gc_source/ > PKGNAMEPREFIX= boehm- >diff -urN /usr/ports/devel/boehm-gc.old/files/patch-doc_gc.man /usr/ports/devel/boehm-gc/files/patch-doc_gc.man >--- /usr/ports/devel/boehm-gc.old/files/patch-doc_gc.man 2014-07-28 18:28:02.000000000 +0200 >+++ /usr/ports/devel/boehm-gc/files/patch-doc_gc.man 2015-06-29 21:14:58.000000000 +0200 >@@ -1,6 +1,6 @@ >---- doc/gc.man.orig 2012-07-25 14:54:48.000000000 +0300 >-+++ doc/gc.man 2012-07-25 14:57:40.000000000 +0300 >-@@ -11,7 +11,7 @@ >+--- doc/gc.man.orig 2014-05-22 20:47:28 UTC >++++ doc/gc.man >+@@ -11,7 +11,7 @@ void GC_free(void *ptr); > void * GC_realloc(void *ptr, size_t size); > .br > .sp >@@ -9,7 +9,7 @@ > .LP > .SH DESCRIPTION > .I GC_malloc >-@@ -88,6 +88,48 @@ >+@@ -88,6 +88,48 @@ This may temporarily write protect pages > .LP > Other facilities not discussed here include limited facilities to support incremental collection on machines without appropriate VM support, provisions for providing more explicit object layout information to the garbage collector, more direct support for ``weak'' pointers, support for ``abortable'' garbage collections during idle time, etc. > .LP >@@ -20,9 +20,9 @@ > +and > +.I gc_cpp.h > +will probably be found in >-+.I %%PREFIX%%/include, >++.I /usr/local/include, > +and the library in >-+.I %%PREFIX%%/lib. >++.I /usr/local/lib. > +.LP > +This library has been compiled as drop-in replacements > +for malloc and free (which is to say, all malloc >diff -urN /usr/ports/devel/boehm-gc.old/files/patch-include_private_gcconfig.h /usr/ports/devel/boehm-gc/files/patch-include_private_gcconfig.h >--- /usr/ports/devel/boehm-gc.old/files/patch-include_private_gcconfig.h 2014-12-08 19:27:07.000000000 +0100 >+++ /usr/ports/devel/boehm-gc/files/patch-include_private_gcconfig.h 2015-06-29 21:14:58.000000000 +0200 >@@ -1,5 +1,14 @@ >---- ./include/private/gcconfig.h.orig >-+++ ./include/private/gcconfig.h >+--- include/private/gcconfig.h.orig 2014-06-03 06:08:02 UTC >++++ include/private/gcconfig.h >+@@ -97,7 +97,7 @@ >+ # endif >+ # if defined(__aarch64__) >+ # define AARCH64 >+-# if !defined(LINUX) >++# if !defined(LINUX) || !defined(FREEBSD) >+ # define NOSYS >+ # define mach_type_known >+ # endif > @@ -169,7 +169,7 @@ > # define EWS4800 > # endif >@@ -9,7 +18,18 @@ > # if defined(ultrix) || defined(__ultrix) > # define ULTRIX > # else >-@@ -1647,6 +1647,26 @@ >+@@ -402,6 +402,10 @@ >+ # define I386 >+ # define mach_type_known >+ # endif >++# if defined(FREEBSD) && defined(__aarch64__) >++# define AARCH64 >++# define mach_type_known >++# endif >+ # if defined(FREEBSD) && (defined(__amd64__) || defined(__x86_64__)) >+ # define X86_64 >+ # define mach_type_known >+@@ -1647,6 +1651,26 @@ > # define DATAEND ((ptr_t)(&_end)) > # define DYNAMIC_LOADING > # endif >@@ -36,3 +56,20 @@ > # if defined(NONSTOP) > # define CPP_WORDSZ 32 > # define OS_TYPE "NONSTOP" >+@@ -1998,6 +2022,16 @@ >+ extern char _end[]; >+ # define DATAEND ((ptr_t)(&_end)) >+ # endif >++# ifdef FREEBSD >++# define OS_TYPE "FREEBSD" >++# define DYNAMIC_LOADING >++# define HEURISTIC2 >++ extern char etext[]; >++ extern int __data_start[]; >++# define DATASTART ((ptr_t)__data_start) >++ extern void *__stack_base__; >++# define STACKBOTTOM ((ptr_t)__stack_base__) >++# endif >+ # ifdef NOSYS >+ /* __data_start is usually defined in the target linker script. */ >+ extern int __data_start[];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201183
:
158170
|
158296
|
158297
|
158298
|
158394
|
158430
|
158436
|
158437
|
158438
|
158450