From nobody Fri Jul 26 14:46:57 2024 X-Original-To: freebsd-ports@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 4WVrFJ2r1Tz5SF19 for ; Fri, 26 Jul 2024 14:47:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-20.consmr.mail.gq1.yahoo.com (sonic317-20.consmr.mail.gq1.yahoo.com [98.137.66.146]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVrFG725wz3wcM for ; Fri, 26 Jul 2024 14:47:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="M0/dgcW0"; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.66.146 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1722005232; bh=oNGJtF1RObKovM/xJ2B6MtvkMv06F6/qhd3EUL9h5g4=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=M0/dgcW0VhMuxy7IdNm4Cpd0ta6vlxB9STRctjDb4DUc6ppb/4rNN0TLKlZ/LUR6zyjL4kZriLei4g2OM5gB7wKRZxasNPu3W7y88vh1N2NIn0TZOtZCSjS+MPx/5KJDxv3Kvrr1UDg1HALGzdY/tbn0ZGzl8pvj+1YXTPDIl+kAMNDPOf36xsEK7s3nMVtXbRHuQ65ifVmWd3UxkJp35ymNSOln557KyEKkCKhJre4i9Lplk2le6ibyzov1EKMk4iyDmuTEpqqlbJE493E52Py0tjqo17LuA3efkIexMRlMUym42TYYOWQETNRADN93G2o/WxUGlGNNmwcPjdtx8Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1722005232; bh=6s6Gm56pCryZeNjS+00NOPbPjimungME1ZXdayOpdCZ=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=Tllv5oxRjLlkHO1ieko0t+0ux7j71Lx5kQ9avhid18e6EKjT327QLo9A6wY8Jh4Wla6NSWSa1x3d9BCxD/NIFaEy66eUZ3O76ZFEQvMdixlTHVulgCkasENZFZVJo0vUZ3JntpvVWQApar15AmH+IVLwLjCS+x7IT+5X98lZwX3LlJniWk9VYeGhoa0MaU+iDJmT8YLY50htslsAwDJzk2X7nnQobP9faFQismRxhJwX9cz+g2nlvikPsty+LWp9A8semkQpWbSJk7pjA0ZNgEGSdZthdsprXrqHKlSYlO4+4r9eXU4MRSP3IF8Bk4BHjaLV7WsglKsovzVre2Db6w== X-YMail-OSG: o.OLqHoVM1nYndN_v8CNP1I8IeWQDy1GraBF5qmK82ewB0g0VNpYq.hNQX.f8TO CuQhVDs.osHTeUb_JN1Flba0o.KHCyMFjAetJFeDnXvM6Wk8SN70E1kwRZCjIT8Yk71YLfQP37Mp Iv.v1IibOzOJ8FjfAbNLA8_m4gDaExLgBT2inxVfU9ChHQD1IyuBIMosWsmMhyzEBVKY044r1Sl6 ezoYoXBchUNi7aSZ5Wb4hGNR4AVzQk.m6zRAkePST6aG0Ub6ZZ6A2vzXKBfIH0M8njoVfoByn8_g rrqtzicg5nwURr3frDshfdJndEfMIL.9AvjzoPvu3h03JJPni7jUI7.Lk1oHJBBHO88._LnZmbiS EtuGqGVxf7ab6Sq0zdfqI1qe6pvfeujvHyXA13IZqkMY7wCy_brJT1vRcK4O4kYlaqsr2vK2fiJM bPXLwK6HDymhXXNMMyXlMg9K5WCtVGfbwUVcw68HYPvkJTrBtXuP5At7dnxO8nbxkx9JDa7lRY_n vSo7_kwvHHztCpK.KQZkEPc6t82ZLgf98s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oYKx4MXUatcmHftSyNnILxvoZ8qD vVwnbHcRRt5EQJqgCbJJXSa_hdy_sjOerTpFZ06Y1vuYw672aamktZWkz5t6iMW.A_N0SGxEtOS7 R7SsgFp3IFt3O4UaMrZnF5vaUlwzdT0PA.K9YTThUhD4HUnB9dmMZBiIV9ihwLLNI_nE3cQD456b x3vKEsOwhnij_XrZeoggosHzmXITZywrOjmShYV8SlTWgLSk7hJql8f6A8Vi84gE7RCx.a3VLbzC jGeoWkeqr4FgY5mK4kQ5dqonwZSXjzEBuNT1a2Q7qDDVvKvA1I99Q8d8KjcXG1twaWYK0jr4mFfl t_U4Uuz_l32Z_WtT5ANJRFBo60u3kADIaMBk5aSxUYUj0D17t7_9u6CH1hiGB_keiHb3b4m2Pb6p k3_oAXrbwt.PPOiF1mNop01ah197YdV5s2s50sSIyotLRIio1FMKby6dDZVCNUsoPEvI.Oql6W2w QB4Q4ttCfqcOFl9LmKqalBdYJtSn.ZPwLcc0ssJEn2XPJTkD.OGs1VDlACwCjhfd2RkxfIRnGTd4 QHrFDN3sKqyl7RS2B6kf9iJFWvp2sFtSkmXObA15T3c9Yngei5gCSBtWP1MxZy6TCoFhd5Tp9Gi6 RfS3IGWNt3f7mwYqh6t8ooYMKbxkPlnFP29sx8uh2gOKRLR_rvDLBJCOcfPdvoYKzzy1aZqHSjzS kRbLuRe8eKLMAJhU4FzUC X-Sonic-MF: X-Sonic-ID: 373ac1e9-a001-4410-8c0a-7af4dfeaaf62 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Fri, 26 Jul 2024 14:47:12 +0000 Received: by hermes--production-gq1-799bb7c8cf-hxpdl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 8494b3fa5cb93eb71c93061f68f13b88; Fri, 26 Jul 2024 14:47:08 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: [main has a fix for] armv7-on-aarch64 stuck at urdlck: I got a replication of the "ampere2" bulk build hangup problem on a Windows DevKit 2023 Date: Fri, 26 Jul 2024 07:46:57 -0700 References: <8214703E-AB28-4FB3-A3DD-03C87363D8C6@yahoo.com> <561E4947-6D56-4431-AE08-C843FF232066@yahoo.com> To: Philip Paeps , FreeBSD ARM List , FreeBSD Mailing List , Current FreeBSD In-Reply-To: <561E4947-6D56-4431-AE08-C843FF232066@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3774.600.62) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.43 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.43)[-0.429]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_THREE(0.00)[4]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.146:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.146:from] X-Rspamd-Queue-Id: 4WVrFG725wz3wcM On Jul 25, 2024, at 09:48, Mark Millard wrote: > Michal Meloun has committed a fix in main: >=20 > See: > = https://lists.freebsd.org/archives/dev-commits-src-main/2024-July/025399.h= tml >=20 > that starts with: >=20 > From: Michal Meloun > Date: Thu, 25 Jul 2024 16:25:09 UTC=20 > The branch main has been updated by mmel: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3D5670b8cc3672d5a6bc2c41eb48d7d013= 43c43ad0 >=20 > commit 5670b8cc3672d5a6bc2c41eb48d7d01343c43ad0 > Author: Michal Meloun > AuthorDate: 2024-07-24 15:11:27 +0000 > Commit: Michal Meloun > CommitDate: 2024-07-25 16:24:22 +0000 >=20 > libthr: Preresolve selected EABI symbols on arm. >=20 > Add the ability to pre-resolve architecture-specific EABI symbols and > use it on arm for selected EABI functions. These functions can be = called > with rtld bind lock write-locked, so they should be resolved in = forward. >=20 > Reported by: Mark Millard , John F Carr = > Reviewed by: kib, imp > MFC after: 1 week > Differential Revision: https://reviews.freebsd.org/D46104 > --- > lib/libthr/arch/aarch64/include/pthread_md.h | 5 +++ > lib/libthr/arch/amd64/include/pthread_md.h | 5 +++ > lib/libthr/arch/arm/Makefile.inc | 3 ++ > lib/libthr/arch/arm/thr_rtld_arm.c | 67 ++++++++++++++++++++++++++++ > lib/libthr/arch/i386/include/pthread_md.h | 5 +++ > lib/libthr/arch/powerpc/include/pthread_md.h | 5 +++ > lib/libthr/arch/riscv/include/pthread_md.h | 5 +++ > lib/libthr/thread/thr_private.h | 1 + > lib/libthr/thread/thr_rtld.c | 3 ++ > 9 files changed, 99 insertions(+) >=20 > . . . https://pkg.freebsd.org/FreeBSD:15:armv7/base_latest/ has = 15.snap20240726110821 and updating to it leads to avoiding the hang-up in my dlopen_test.c = testing. It is based on: 126 static inline size_t 127 round_up(size_t size) 128 { 129 if (size % _thr_page_size !=3D 0) 130 size =3D ((size / _thr_page_size) + 1) * 131 _thr_page_size; 132 return size; 133 } that uses the _aeabi_* routine(s) in standard armv7 builds. But that no longer causes the recursive locking deadlock problem. So, it looks like updating the kernel and world on ampere2 and enabling builds of main-armv7-default should no longer have main-armv7-default hang-up during graphviz installation (or analogous contexts). Hopefully, that means that main-armv7-default builds will then complete and be distributed. =3D=3D=3D Mark Millard marklmi at yahoo.com