From owner-svn-ports-head@freebsd.org Tue Sep 22 16:20:03 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 12BF63EE5EC; Tue, 22 Sep 2020 16:20:03 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bwmjt6qscz4G53; Tue, 22 Sep 2020 16:20:02 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CF37E21FD2; Tue, 22 Sep 2020 16:20:02 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08MGK2PX021952; Tue, 22 Sep 2020 16:20:02 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08MGK1fu021947; Tue, 22 Sep 2020 16:20:01 GMT (envelope-from se@FreeBSD.org) Message-Id: <202009221620.08MGK1fu021947@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: =?UTF-8?Q?Stefan_E=c3=9fer?= Date: Tue, 22 Sep 2020 16:20:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549605 - in head/lang/ccl: . files X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/lang/ccl: . files X-SVN-Commit-Revision: 549605 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2020 16:20:03 -0000 Author: se Date: Tue Sep 22 16:20:01 2020 New Revision: 549605 URL: https://svnweb.freebsd.org/changeset/ports/549605 Log: Fix build with -fno-common Added: head/lang/ccl/files/patch-lisp-kernel_area.h (contents, props changed) head/lang/ccl/files/patch-lisp-kernel_gc-common.c (contents, props changed) head/lang/ccl/files/patch-lisp-kernel_gc.h (contents, props changed) head/lang/ccl/files/patch-lisp-kernel_pmcl-kernel.c (contents, props changed) head/lang/ccl/files/patch-lisp-kernel_threads.h (contents, props changed) Modified: head/lang/ccl/Makefile Modified: head/lang/ccl/Makefile ============================================================================== --- head/lang/ccl/Makefile Tue Sep 22 16:18:47 2020 (r549604) +++ head/lang/ccl/Makefile Tue Sep 22 16:20:01 2020 (r549605) @@ -3,6 +3,7 @@ PORTNAME= ccl DISTVERSIONPREFIX= v DISTVERSION= 1.12 +PORTREVISION= 1 CATEGORIES= lang lisp MASTER_SITES+= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${PORTVERSION}/:bootstrap DISTFILES= freebsdx86.tar.gz:bootstrap Added: head/lang/ccl/files/patch-lisp-kernel_area.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ccl/files/patch-lisp-kernel_area.h Tue Sep 22 16:20:01 2020 (r549605) @@ -0,0 +1,11 @@ +--- lisp-kernel/area.h.orig 2020-04-19 21:32:56 UTC ++++ lisp-kernel/area.h +@@ -108,7 +108,7 @@ Boolean grow_dynamic_area(natural); + Boolean shrink_dynamic_area(natural); + + /* serialize add_area/remove_area, and also the tcr queue */ +-void *tcr_area_lock; ++extern void *tcr_area_lock; + + #define reserved_area ((area *)(all_areas)) + #define active_dynamic_area ((area *)(reserved_area->succ)) Added: head/lang/ccl/files/patch-lisp-kernel_gc-common.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ccl/files/patch-lisp-kernel_gc-common.c Tue Sep 22 16:20:01 2020 (r549605) @@ -0,0 +1,12 @@ +--- lisp-kernel/gc-common.c.orig 2020-04-19 21:32:56 UTC ++++ lisp-kernel/gc-common.c +@@ -24,6 +24,9 @@ + #include + #include + ++LispObj *GCrelocptr, *global_reloctab; ++LispObj GCfirstunmarked; ++ + #ifndef WINDOWS + #include + #endif Added: head/lang/ccl/files/patch-lisp-kernel_gc.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ccl/files/patch-lisp-kernel_gc.h Tue Sep 22 16:20:01 2020 (r549605) @@ -0,0 +1,66 @@ +--- lisp-kernel/gc.h.orig 2020-04-19 21:32:56 UTC ++++ lisp-kernel/gc.h +@@ -62,8 +62,8 @@ + extern LispObj GCarealow, GCareadynamiclow; + extern natural GCndnodes_in_area, GCndynamic_dnodes_in_area; + extern bitvector GCmarkbits, GCdynamic_markbits,managed_static_refbits,global_refidx,dynamic_refidx,managed_static_refidx; +-LispObj *global_reloctab, *GCrelocptr; +-LispObj GCfirstunmarked; ++extern LispObj *global_reloctab, *GCrelocptr; ++extern LispObj GCfirstunmarked; + + extern natural lisp_heap_gc_threshold; + extern natural lisp_heap_notify_threshold; +@@ -83,7 +83,7 @@ void gc(TCR *, signed_natural); + int change_hons_area_size(TCR *, signed_natural); + void delete_protected_area(protected_area_ptr); + Boolean egc_control(Boolean, BytePtr); +-Boolean free_segments_zero_filled_by_OS; ++extern Boolean free_segments_zero_filled_by_OS; + Boolean new_heap_segment(ExceptionInformation *, natural, Boolean , TCR *, Boolean *); + void platform_new_heap_segment(ExceptionInformation *, TCR*, BytePtr, BytePtr); + /* an type representing 1/4 of a natural word */ +@@ -153,19 +153,19 @@ void report_paging_info_delta(FILE*, paging_info *, pa + #define GC_TRAP_FUNCTION_FREEZE 129 + #define GC_TRAP_FUNCTION_THAW 130 + +-Boolean GCDebug, GCverbose, just_purified_p; +-bitvector GCmarkbits, GCdynamic_markbits; +-LispObj GCarealow, GCareadynamiclow; +-natural GCndnodes_in_area, GCndynamic_dnodes_in_area; +-LispObj GCweakvll,GCdwsweakvll; +-LispObj GCephemeral_low; +-natural GCn_ephemeral_dnodes; +-natural GCstack_limit; ++extern Boolean GCDebug, GCverbose, just_purified_p; ++extern bitvector GCmarkbits, GCdynamic_markbits; ++extern LispObj GCarealow, GCareadynamiclow; ++extern natural GCndnodes_in_area, GCndynamic_dnodes_in_area; ++extern LispObj GCweakvll,GCdwsweakvll; ++extern LispObj GCephemeral_low; ++extern natural GCn_ephemeral_dnodes; ++extern natural GCstack_limit; + + #if WORD_SIZE == 64 +-unsigned short *_one_bits; ++extern unsigned short *_one_bits; + #else +-const unsigned char _one_bits[256]; ++extern const unsigned char _one_bits[256]; + #endif + + #define one_bits(x) _one_bits[x] +@@ -195,11 +195,11 @@ void gc(TCR *, signed_natural); + /* backend-interface */ + + typedef void (*weak_mark_fun) (LispObj); +-weak_mark_fun mark_weak_htabv, dws_mark_weak_htabv; ++extern weak_mark_fun mark_weak_htabv, dws_mark_weak_htabv; + + typedef void (*weak_process_fun)(void); + +-weak_process_fun markhtabvs; ++extern weak_process_fun markhtabvs; + + + #define hash_table_vector_header_count (sizeof(hash_table_vector_header)/sizeof(LispObj)) Added: head/lang/ccl/files/patch-lisp-kernel_pmcl-kernel.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ccl/files/patch-lisp-kernel_pmcl-kernel.c Tue Sep 22 16:20:01 2020 (r549605) @@ -0,0 +1,11 @@ +--- lisp-kernel/pmcl-kernel.c.orig 2020-04-19 21:32:56 UTC ++++ lisp-kernel/pmcl-kernel.c +@@ -151,7 +151,7 @@ wperror(char* message) + + LispObj lisp_nil = (LispObj) 0; + bitvector global_mark_ref_bits = NULL, dynamic_mark_ref_bits = NULL, relocatable_mark_ref_bits = NULL, global_refidx = NULL, dynamic_refidx = NULL,managed_static_refidx = NULL; +- ++void *tcr_area_lock; + + /* These are all "persistent" : they're initialized when + subprims are first loaded and should never change. */ Added: head/lang/ccl/files/patch-lisp-kernel_threads.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ccl/files/patch-lisp-kernel_threads.h Tue Sep 22 16:20:01 2020 (r549605) @@ -0,0 +1,11 @@ +--- lisp-kernel/threads.h.orig 2020-04-19 21:32:56 UTC ++++ lisp-kernel/threads.h +@@ -187,7 +187,7 @@ void tsd_set(LispObj, void *); + void *tsd_get(LispObj); + TCR *new_tcr(natural, natural); + void thread_init_tcr(TCR *tcr, void *stack_base, natural stack_size); +-TCR *initial_thread_tcr; ++extern TCR *initial_thread_tcr; + + #define DEFAULT_THREAD_STACK_SIZE ((size_t) -1) + #define MINIMAL_THREAD_STACK_SIZE ((size_t) 0)