FreeBSD Bugzilla – Attachment 219820 Details for
Bug 250915
devel/boehm-gc-8.0.4_1 does not support RISC-V
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file
devel_boehm-gc.patch (text/plain), 1.23 KB, created by
Yasuhiro Kimura
on 2020-11-19 19:07:15 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2020-11-19 19:07:15 UTC
Size:
1.23 KB
patch
obsolete
>Index: devel/boehm-gc/files/patch-freebsd-riscv >=================================================================== >--- devel/boehm-gc/files/patch-freebsd-riscv (nonexistent) >+++ devel/boehm-gc/files/patch-freebsd-riscv (working copy) >@@ -0,0 +1,33 @@ >+diff --git include/private/gcconfig.h include/private/gcconfig.h >+index 0743d8fc..e214587c 100644 >+--- include/private/gcconfig.h >++++ include/private/gcconfig.h >+@@ -663,7 +663,7 @@ EXTERN_C_BEGIN >+ # endif >+ # define mach_type_known >+ # endif >+-# if defined(__riscv) && defined(LINUX) >++# if defined(__riscv) >+ # define RISCV >+ # define mach_type_known >+ # endif >+@@ -2939,6 +2939,19 @@ EXTERN_C_BEGIN >+ # define LINUX_STACKBOTTOM >+ # define DYNAMIC_LOADING >+ # endif >++# ifdef FREEBSD >++# define OS_TYPE "FREEBSD" >++# ifndef GC_FREEBSD_THREADS >++# define MPROTECT_VDB >++# endif >++# define SIG_SUSPEND SIGUSR1 >++# define SIG_THR_RESTART SIGUSR2 >++# define FREEBSD_STACKBOTTOM >++# define DYNAMIC_LOADING >++ extern char etext[]; >++# define DATASTART GC_FreeBSDGetDataStart(0x1000, (ptr_t)etext) >++# define DATASTART_USES_BSDGETDATASTART >++# endif >+ # endif /* RISCV */ >+ >+ #if defined(__GLIBC__) && !defined(DONT_USE_LIBC_PRIVATES)
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
Flags:
yasu
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 250915
:
219814
| 219820