From nobody Thu Aug 10 00:50:56 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RLpJJ6DKhz4pmY0; Thu, 10 Aug 2023 00:50:56 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RLpJJ5qNFz4bgN; Thu, 10 Aug 2023 00:50:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691628656; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1ACLiB4zaGb6B96EF4eFMWFCtd2ntoxXmc9/+s0XRlo=; b=ty6jv8CpoNDPvAlu1mTvhdv1ClN02jau2zBwSx0uSDmq/9CH/sOovZxiGLzui+8xicCQ21 uaJ3prXS1+rwDm1//TL9YnDpZRMH12pMtyht4jVN1Na5LopSVqKHoS9fEmE/heDEievqLv Osw7TWiWFN+Dpfp6LGY4YbbuWLlsYUCjRYyuuXRDNkXKatu1VHUex7wg8yv7Ft3iOvYes4 E+63UYDEySOAXymiLFP/6VtPlQHAzhsqIiIceTxguREciXaueUzBW0pADb5035n9MQCXRL VwMfJyJygfLq5gIkWGDGhGat77m0zAKVHhFTMmALYGKGwJvnzpJ3occC0t8zLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691628656; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1ACLiB4zaGb6B96EF4eFMWFCtd2ntoxXmc9/+s0XRlo=; b=ohwdiOdZIloiBc1RYBT5X1D6yOD1PHHV7zrFStEBMLCCMVoB5NkdQhBlWlhx4JhXY/k/sR NAXdDtgEz9AAAbhPqeDBzg1MCFQYZO07zBED4qrpJ4w77RPu81hIrD0/rSUqQXvue3t8VX 0gLxpr+xSJeEdn1LNRmpZjtQ1tGVoPNg/YSYvc+ZKbjG8oT/Z8MzM8SWiqiRfoNAGseIL+ +Wpy/QR5IVv//rYLIjE0ZAWt4vNnESNpbKgTDJ0NxeRbYkYW0/WVVnX6CsCfVncoYAts/k x3mxtBGhiiS3Pr0KOdkpZhWgZgvq1LN2NloeTPKFw1FNAylJcxy7SnY/WD97Xg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691628656; a=rsa-sha256; cv=none; b=A+6Dx7UjNvbbzvjSXePBy1hFqn7E/FfwhX5z9ZebQONo11eVb3Yz/2RoAfzR3/TWoiCbqB udxqYBPQ2BwbBOVE2gmC68y7LicHvi5JXzUKyMf2v/MnAXICEBzoqPupBvoafnvib6uQ8b /Gmqm0RMAhLfPO2ypyMff7NNSW6OY7Oe5Sm10y4wnVLvz6Rr98Tmsi0hNST7ktx/j6A6Qr lRj+RtYsiWvkMA4evZIAhB+IB5wnw2bbkf/G5N7WZPYvTy+1iTJKcEuFa9SKfQZleqdUh3 O/UAB44rlfaGfamLY2tJinquw83QeqpEIXL4N6dlbr1au0izxm8W3zpX2jurmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RLpJJ4tgxzcy1; Thu, 10 Aug 2023 00:50:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37A0ouDL069085; Thu, 10 Aug 2023 00:50:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37A0ouUF069082; Thu, 10 Aug 2023 00:50:56 GMT (envelope-from git) Date: Thu, 10 Aug 2023 00:50:56 GMT Message-Id: <202308100050.37A0ouUF069082@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 174de7854349 - main - lang/mono5*: unbreak with kern.elf*.allow_wx=0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 174de7854349539427b812d3e2b774924475648b Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=174de7854349539427b812d3e2b774924475648b commit 174de7854349539427b812d3e2b774924475648b Author: Jan Beich AuthorDate: 2023-05-03 15:09:09 +0000 Commit: Jan Beich CommitDate: 2023-08-10 00:47:06 +0000 lang/mono5*: unbreak with kern.elf*.allow_wx=0 $ mono foo Segmentation fault * thread #1, name = 'mono-sgen', stop reason = signal SIGSEGV: invalid address (fault address: 0x0) frame #0: 0x00000000005632f9 mono`mono_arch_create_sdb_trampoline(single_step=0, info=0x0000000820fe7d90, aot=0) at tramp-amd64.c:854:2 851 // IP saved at CFA - 8 852 mono_add_unwind_op_offset (unwind_ops, code, buf, AMD64_RIP, -cfa_offset); 853 -> 854 amd64_push_reg (code, AMD64_RBP); 855 cfa_offset += sizeof(mgreg_t); 856 mono_add_unwind_op_def_cfa_offset (unwind_ops, code, buf, cfa_offset); 857 mono_add_unwind_op_offset (unwind_ops, code, buf, AMD64_RBP, - cfa_offset); (lldb) bt * thread #1, name = 'mono-sgen', stop reason = signal SIGSEGV: invalid address (fault address: 0x0) * frame #0: 0x00000000005632f9 mono`mono_arch_create_sdb_trampoline(single_step=0, info=0x0000000820fe7d90, aot=0) at tramp-amd64.c:854:2 frame #1: 0x000000000047cf36 mono`mini_get_breakpoint_trampoline at mini-trampolines.c:1812:12 frame #2: 0x00000000004dc5a1 mono`mono_arch_init at mini-amd64.c:1405:19 frame #3: 0x000000000035fde4 mono`mini_init(filename="foo", runtime_version=0x0000000000000000) at mini-runtime.c:4364:2 frame #4: 0x0000000000426853 mono`mono_main(argc=2, argv=0x0000000820fe8268) at driver.c:2470:11 frame #5: 0x0000000000359363 mono`mono_main_with_options(argc=2, argv=0x0000000820fe8268) at main.c:50:9 frame #6: 0x00000000003589b1 mono`main(argc=2, argv=0x0000000820fe8268) at main.c:406:9 frame #7: 0x0000000000358770 mono`_start(ap=, cleanup=) at crt1_c.c:75:7 --- lang/mono/Makefile | 5 +++-- lang/mono5.10/Makefile | 5 +++-- lang/mono5.20/Makefile | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/lang/mono/Makefile b/lang/mono/Makefile index 9fb03523445d..101ed1942227 100644 --- a/lang/mono/Makefile +++ b/lang/mono/Makefile @@ -1,6 +1,6 @@ PORTNAME= mono PORTVERSION= 5.10.1.57 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= lang MASTER_SITES= https://download.mono-project.com/sources/mono/ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} @@ -37,13 +37,14 @@ NLS_USES= gettext X11_USES= display:test -USES= autoreconf bison compiler:c11 cpe gmake iconv libtool \ +USES= autoreconf bison compiler:c11 cpe elfctl gmake iconv libtool \ pathfix perl5 python shebangfix tar:bzip2 USE_PERL5= build GNU_CONFIGURE= yes USE_LDCONFIG= yes SHEBANG_FILES= scripts/mono-heapviz mono/mini/genmdesc.py mono/tests/test_lldb.py BINARY_ALIAS= python=${PYTHON_CMD} +ELF_FEATURES= +wxneeded:mono/mini/mono-sgen CONFIGURE_ARGS= --disable-dtrace CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no diff --git a/lang/mono5.10/Makefile b/lang/mono5.10/Makefile index a06d91cff523..45c082f1a53e 100644 --- a/lang/mono5.10/Makefile +++ b/lang/mono5.10/Makefile @@ -1,6 +1,6 @@ PORTNAME= mono PORTVERSION= 5.10.1.57 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= lang MASTER_SITES= https://download.mono-project.com/sources/mono/ PKGNAMESUFFIX= 5.10 @@ -41,13 +41,14 @@ NLS_USES= gettext X11_USES= display:test -USES= autoreconf bison compiler:c11 cpe gmake iconv libtool \ +USES= autoreconf bison compiler:c11 cpe elfctl gmake iconv libtool \ pathfix perl5 python shebangfix tar:bzip2 USE_PERL5= build GNU_CONFIGURE= yes USE_LDCONFIG= yes SHEBANG_FILES= scripts/mono-heapviz mono/mini/genmdesc.py mono/tests/test_lldb.py BINARY_ALIAS= python=${PYTHON_CMD} +ELF_FEATURES= +wxneeded:mono/mini/mono-sgen CONFIGURE_ARGS= --disable-dtrace CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no diff --git a/lang/mono5.20/Makefile b/lang/mono5.20/Makefile index 0d6815f6130c..eb67db4ed240 100644 --- a/lang/mono5.20/Makefile +++ b/lang/mono5.20/Makefile @@ -1,6 +1,6 @@ PORTNAME= mono PORTVERSION= 5.20.1.34 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= lang MASTER_SITES= https://download.mono-project.com/sources/mono/ PKGNAMESUFFIX= 5.20 @@ -40,7 +40,7 @@ NLS_USES= gettext X11_USES= display:test -USES= autoreconf bison compiler:c11 cpe gmake iconv libtool \ +USES= autoreconf bison compiler:c11 cpe elfctl gmake iconv libtool \ pathfix perl5 python shebangfix tar:bzip2 USE_PERL5= build GNU_CONFIGURE= yes @@ -48,6 +48,7 @@ USE_LDCONFIG= yes SHEBANG_FILES= scripts/mono-heapviz scripts/mono-package-runtime \ mono/mini/genmdesc.py mono/tests/test_lldb.py BINARY_ALIAS= python=${PYTHON_CMD} +ELF_FEATURES= +wxneeded:mono/mini/mono-sgen CONFIGURE_ARGS= --disable-dtrace --enable-btls CPPFLAGS+= -I${LOCALBASE}/include