From nobody Tue May 16 18:36:39 2023 X-Original-To: ports-bugs@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 4QLQ1g1qn5z4BKqN for ; Tue, 16 May 2023 18:36:39 +0000 (UTC) (envelope-from bugzilla-noreply@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 4QLQ1g0nv8z46Th for ; Tue, 16 May 2023 18:36:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684262199; 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=gTsKG2AEIUzy5P8p2gaBLVoePtPEcY/B+EX1aDCAupQ=; b=SEnzI7k62nNQazsgYeSGHp7V+o2dMNsCTnm/IMSdcrhtXEgD2743yZrHK3zk7UtwvVIvQr dSCzygEsgP1yi562Ea5KUKo4HbzveAAhdadKopZjIA1VAN9Y0DUrORR10+WaciZrxnGWfd FGspKILQNqXVybOwW7aUq/XO6slSNbia7g1s8JB/SBVJsrSmDjXcf7djSR7zzQSP6S8mRJ hSM57/OLkgCYcTZN8c6Zi2bBUgPK6wD3KBxAf7EcqjxEnqxEdIOaCcnFsr/0zIG81gDG0n e2RFDPhmxWUdCA8xEb4FA5J0j0chRCncXBRhJCC4FuFR1DjIuUojmmSVHdKkLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684262199; a=rsa-sha256; cv=none; b=Xmu0lJ0n1jB1m6LuZmS/eE5TI/MVmNiuFFbAfYyCMJ8ro7H32rWtu0lw9Be8hK2vqGy8cx z18Qi8M3G6OFbJI0Lbe/tMecUkkYAwg1IPFBKGFXETWU1Wha3hobiGGafK+VUx9kRO/JLw 3XB4XIzVZ9xWr+K7RWpD79eCTifJL3r1SK8Z+wl/PUpGftJFvhFuGvA1UkKQxggNSttSXa J6o945PGHypLFL5oWF08NqNohIlcxQhaAM0OcDU3U2m+LWZswF5W3HXDPlWwJwGONr4nd3 2dm7Y/I7qho00UZ9GPcCdLX71HE8/k6d3cvXPgHFExjwQTcLWefYtEQEi0T53A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4QLQ1f70dhzYK0 for ; Tue, 16 May 2023 18:36:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34GIacva058784 for ; Tue, 16 May 2023 18:36:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34GIacIX058783 for ports-bugs@FreeBSD.org; Tue, 16 May 2023 18:36:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271415] net/norm: fix build with clang 16 Date: Tue, 16 May 2023 18:36:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271415 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D0fb51ef88cf03579745135004621570= a58998dfe commit 0fb51ef88cf03579745135004621570a58998dfe Author: Dimitry Andric AuthorDate: 2023-05-14 15:06:42 +0000 Commit: Dimitry Andric CommitDate: 2023-05-16 18:22:56 +0000 net/norm: fix build with clang 16 Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because net/norm's build system does not explicitly set the C++ standard, this leads to several errors: ../src/common/normEncoderRS8.cpp:264:5: error: ISO C++17 does not all= ow 'register' storage class specifier [-Wregister] USE_GF_MULC ; ^ ../src/common/normEncoderRS8.cpp:136:21: note: expanded from macro 'USE_GF_MULC' #define USE_GF_MULC register gf * __gf_mulc_ ^ ../src/common/normEncoderRS8.cpp:265:5: error: ISO C++17 does not all= ow 'register' storage class specifier [-Wregister] register gf* dst =3D dst1; ^~~~~~~~~ ../src/common/normEncoderRS8.cpp:266:5: error: ISO C++17 does not all= ow 'register' storage class specifier [-Wregister] register gf* src =3D src1 ; ^~~~~~~~~ Add USE_CXXSTD=3Dgnu++98 to compile for C++98 with GNU extensions inste= ad, as net/norm does not seem to use any C++11 or later constructs. PR: 271415 Approved by: portmgr (build fix blanket) MFH: 2023Q2 net/norm/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=