From nobody Tue Oct 11 23:30:11 2022 X-Original-To: dev-commits-ports-main@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 4MnBpY6m4zz4dhZP; Tue, 11 Oct 2022 23:30:13 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4MnBpY6LdFz3fyS; Tue, 11 Oct 2022 23:30:13 +0000 (UTC) (envelope-from mandree@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665531013; 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: in-reply-to:in-reply-to:references:references; bh=1JOsbfEO9aBdbQ71dNIHWW+aWG6W4i6FOHf15HaCh6A=; b=hbafcVQj3o93zj7VKq+5Q48pNbO+erhHFU2ryiLlAvoBfd5ucvfeP/YxalOKSqlB3aWoJQ 4oD1F2dZsI3Lt2/sMHgiT6xLJ7dlNfcr497TJUM4/nSZ3lMOgFpiOM7F6dhRP71oO6vmHR HdWxmv99143YTypJEcyvRIzCbI2nhhSSyh3UipJwTlHinHzF6031IIXBMxTynxY7IlKa/i G7bbIPWgvsVEyMSJ7gh7bjwBBRNjMTx/qM1HcK508MPFRqf073yna9FYgZAiq2GrD6jZp+ SfL+nC0gQTsbTbROEGugcLFe5w2bw6aB8HPJMbLaJq+QyBqu762CS3KjIBjKWQ== Received: from mandree.no-ip.org (pd9e07222.dip0.t-ipconnect.de [217.224.114.34]) (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) (Authenticated sender: mandree/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4MnBpY4WBsz11ds; Tue, 11 Oct 2022 23:30:13 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from [127.0.0.1] (localhost [127.0.0.1]) by ryzen.an3e.de (Postfix) with ESMTP id 04880929DFC; Wed, 12 Oct 2022 01:30:11 +0200 (CEST) Message-ID: <54005c9e-9850-52ef-9ef2-97e0dccd4ca2@FreeBSD.org> Date: Wed, 12 Oct 2022 01:30:11 +0200 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: git: 8fc6b69f47e7 - main - security/putty: fix aarch64 build on clang 10. Content-Language: en-US, de-DE, en-GB, fr-FR, nl-NL From: Matthias Andree To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org References: <202210112217.29BMHKD5023982@gitrepo.freebsd.org> Organization: FreeBSD - The Power to Serve In-Reply-To: <202210112217.29BMHKD5023982@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665531013; 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: in-reply-to:in-reply-to:references:references; bh=1JOsbfEO9aBdbQ71dNIHWW+aWG6W4i6FOHf15HaCh6A=; b=fCF4N1zLuBiFAnkdyW/TVZFplYGSrq3uErqGqfrMnNeNjgF6FW01xv/chG5pSHxx6PqswM uxef6RTRadbg3wvlWCU4ae6yKpSfe239DpCfbjuaeTV85PSLHCc9DOOklTOv4sI4Ye5ouZ NWyAaEkduWGXOjeEEQfkgTCiY2Ca0EDGlwU9iPkzQBxi94dgjE2fPrsq8gTgeuFrmeUfRF yqofKo4zdN2nOpjEPU5jvGC5FO940AYiR9h9UOiC+GfqWYF/c85QGn+KR2npZajoO5yQxO xg+Q+DnvkNsaZnm5DkSLaiSDlLwkF2eNrHXPk+6kdGf5b0hNixt9lwFlz1Z71A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665531013; a=rsa-sha256; cv=none; b=vHU+e0ypKHPBmaGdK9AxOt+UxqBwaVlQ7UVVKZ8hpGlTLVQg10pDKXuyNM/zagh4FAhHPL pmxhU8ZbakmPZsYxkIw7/7KijYK0rRK4pixgFFY4U12vhZ0EGuAJNwXiYID59t4++LGGDx 8lwjIB/OFKP+CANlpglNewlm8WDBnRQ4/AoCmaGlQ9RC6M5sQPd4eCJaw445wr9bVhUxQ2 jo1huw2M7B4moPjIGB3/pe+dh/NGnNuWjur4bvu7UcnYcoXxvkvzfVJhmThoOhnnh6nzz7 NedQ+HrOPPdEktgbkudLeml8i/0EF0Df5+VUFPZBzu34fUNHSWHnL6ZBWHyXLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Am 12.10.22 um 00:17 schrieb Matthias Andree: > The branch main has been updated by mandree: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=8fc6b69f47e7ee7da005f8b59fc10522d287740b > > commit 8fc6b69f47e7ee7da005f8b59fc10522d287740b > Author: Matthias Andree > AuthorDate: 2022-10-11 22:12:57 +0000 > Commit: Matthias Andree > CommitDate: 2022-10-11 22:17:18 +0000 > > security/putty: fix aarch64 build on clang 10. > > ... > +--- crypto/CMakeLists.txt.orig 2022-09-21 23:42:30 UTC > ++++ crypto/CMakeLists.txt > +@@ -192,7 +192,7 @@ if(neon) > + volatile poly128_t r; > + volatile poly64_t a, b; > + volatile poly64x2_t u, v; > +- int main(void) { r = vmull_p64(a, b); r = vmull_high_p64(u, v); }" > ++ int main(void) { r = vmull_p64(a, b); r = vmull_high_p64(u, v); r = vaddq_p128(r, r); }" > + ADD_SOURCES_IF_SUCCESSFUL aesgcm-neon.c) > + > + # The 'sha3' architecture extension, despite the name, includes Apparently this also excludes NEON-accelerated aesgcm crypto on 13.1, which was not the intention of this patch, and may slow down crypto on capable ARM64 (aarch64) systems, but it should also get putty back onboard 12.3-based NEON-capable ARM systems. Am currently building QEMU-based stable/13 jail to debug in more detail.