From nobody Fri Sep 3 10:45:47 2021 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 222C017B19B5 for ; Fri, 3 Sep 2021 10:45:54 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H1Dwf04CXz3Nm7; Fri, 3 Sep 2021 10:45:54 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id B0DB3E45B; Fri, 3 Sep 2021 10:45:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (unknown [IPv6:2001:470:7a58:0:844a:8dea:913f:4cf7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4F03E402AB; Fri, 3 Sep 2021 12:45:52 +0200 (CEST) From: Dimitry Andric Message-Id: <7359868D-C028-4C8A-9ED6-D2DE8CDF8727@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_36344DA0-302B-4DA1-A3FB-94D7445AC565"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: (solved) Re: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44) Date: Fri, 3 Sep 2021 12:45:47 +0200 In-Reply-To: Cc: Ronald Klop , FreeBSD Ports , Ed Maste To: mmel@freebsd.org References: <2089802880.12287.1627193420123@localhost> <671841132.16.1630657914506@mailrelay> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_36344DA0-302B-4DA1-A3FB-94D7445AC565 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 3 Sep 2021, at 12:02, Michal Meloun wrote: >=20 > On 03.09.2021 11:08, Dimitry Andric wrote: ... >> but in FreeBSD we don't have getauxval(), and I'm unsure if AT_HWCAP >> works on aarch64. >> As this is all outside my domain of knowledge I'd appreciate if = somebody >> knows how to retrieve this information on our AArch64 implementation. = :) >> -Dimitry >=20 > We already have elf_aux_info(3) as counterpart to getauxval() and = AT_HWCAP and AT_HWCAP2 are supported on arm64 as well, so the fix is = trivial. > I'll try do it over the weekend, but I'm having some weird HW issues = on my build box so, I'm not sure if it will be possible... Aha, thanks! I've now looked at our sys/auxv.h which has this = functionality. I think I'll work on a patch that can be submitted = upstream. -Dimitry --Apple-Mail=_36344DA0-302B-4DA1-A3FB-94D7445AC565 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYTH82wAKCRCwXqMKLiCW o+mHAKC1aiRQLFQtL+D6p08Af+KyzVXfTgCdEt62cCk2T7OOmDNqmOjp/sdC5jc= =Qnia -----END PGP SIGNATURE----- --Apple-Mail=_36344DA0-302B-4DA1-A3FB-94D7445AC565--