diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2020-11-23 13:26:14 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2020-11-23 13:26:14 +0000 |
commit | 5973cbeb09c236864961e043b4509b6cb01d1c8a (patch) | |
tree | a6699450e0714ddfda4a039c70f7c879b992bb99 /lang/Makefile | |
parent | 3a7b87ef5a5b0c9df4e75e4c19ba1872d231282e (diff) | |
download | ports-5973cbeb09c236864961e043b4509b6cb01d1c8a.tar.gz ports-5973cbeb09c236864961e043b4509b6cb01d1c8a.zip |
lang/gprolog: recover GNU Prolog under FreeBSD.
Update to version 1.4.5 released in 2020.
Make it build and run with Clang 10:
- clang has no register reservation for x86, hence patch-EnginePl_machine.h
and -DNO_MACHINE_REG_FOR_REG_BANK to prevent using missing feature;
- add patch-Ma2Asm_x86__64__any.c fetched from upstream SourceForge
post-release commit dealing with PIC issues;
- disable usage of spinlocks that results in a hang eating all available
CPU cycles; fixed with -DUSE_LOCKS=1 -DUSE_RECURSIVE_LOCKS=1
-DUSE_SPIN_LOCKS=0;
- the software uses bundled dlmalloc dated back 2011 that replaces
functions like calloc() with own implemenations and it's calloc()
sometimes fails to clear allocated memory; this results in SIGSEGV
when its own hash-table implementation dereferences junk that
supposed to be NULL pointer, so it fails to complete build;
fixed with MMAP_CLEARS=0.
PR: 231393
Notes
Notes:
svn path=/head/; revision=556106
Diffstat (limited to 'lang/Makefile')
-rw-r--r-- | lang/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index 06dab1f35de7..c13dab4979bd 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -116,6 +116,7 @@ SUBDIR += go SUBDIR += go-devel SUBDIR += gomacro + SUBDIR += gprolog SUBDIR += gravity SUBDIR += groovy SUBDIR += gscheme |