From nobody Fri Apr 22 01:31:43 2022 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 9642E1A22670 for ; Fri, 22 Apr 2022 01:31:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kkxhr2j6lz3C6R for ; Fri, 22 Apr 2022 01:31:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650591109; bh=9l0BEwE7xv/d5IXDHtaOF9+M9OYiBBcQXdZByO/rDO4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=t/fzfI9opeG6WeQ3YVBd/3BiygAafPb4M/gKfzFcglO4YZknolIRPq5g4NtesTQymh1J6QNGZSbcUAzzjQd0FlLCPPp9OLbxZibROOuwYfS0DRvHaOOdSAgEY78Y3bV4LcedQdxHbfs18+3CAD8HQk7cfEbPmsnb5x8qV+MqRSOInrYJN0LWZHMXe9qJKhr+LTIBgddubOKzIO/1sHkQcH/vhSnqPiVwg/SS+WuSaCDqjMRc5uvnnMj0Plr7T8RnB/HLkm9jAwxns6ojWkmnS3mVNifG6N7Zd61wVvgKO9HIQNyQxJvwqAwhd+a4UiW8ZQjE+vqMi1hofMDBtDUQhg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650591109; bh=MVRw/DBaCXh1q0PWaNacy1sCKPfJ/qZZcAoMiYxg3hN=; h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GV99KqAjZu3gl79AHWN2Sc_A3AC7uJfRm0PgiGtVZ99jgvS56J5 NX5CrLnfDzfdAo7vuAGIcTBY7K.ZI0jVZs15YJEeWBFPax2oP3UvlTE16Ze490CvlFDt3BnLL1BQ IDqSBkBW2sFAG0psqmrGnk4eQ.NIvrndQ.qfHxk8LMIxOPqmxdCTdPGE6sW3jrRR2hIgD6wILFe8 ALW3ByqZZDCLPyx6Bx4ohJQc0lAh9I65xeL1_klNZGtWyTe52k47JoZATs6JKEgWaENz4KYpo3oD M4mj4YbGxSDE.lYi6uJAjbi0RgwKYiUhaRpzrwNxLE9v9quoCUIHgOGsm0ueBU0D3PmLkSZ.OEBP cPnS8dgp9F8HvRAFxqk6xxiJa50.BDIx6opZ9q4Sjyw.8ib3ofOucvYQkybNP7wZuNUBzK86bS1k 12ce2I4VmN72R8WcZjVp5svx.F8nhubYLbV5myet7pEQW80eSxqwfbrAjLoZuDL5LyYyel_nce.o pp7LHyHv6pfTXh1wVn8VJqH8LAGrGR91PQg7GRxIReix.ezD_Dhueyp3tZF6skglWrAPlPHf5K_G .7fgPVBXn.8uLlw-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Fri, 22 Apr 2022 01:31:49 +0000 Received: by hermes--canary-production-bf1-7cfdddd556-ggldj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ed026f833997d4fedfb7c2e36251e951; Fri, 22 Apr 2022 01:31:46 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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: It looks like devel/aarch64-none-elf-gcc and other aarch64 */gcc* 's suffer from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101723 From: Mark Millard In-Reply-To: Date: Thu, 21 Apr 2022 18:31:43 -0700 Cc: Emmanuel Vadot , toolchain@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <0F6C9A98-21DC-4AA4-9DDC-CAB0E0154E59@yahoo.com> References: To: Free BSD , freebsd-ports@freebsd.org X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Kkxhr2j6lz3C6R X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="t/fzfI9o"; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-2.36 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; NEURAL_SPAM_SHORT(0.14)[0.137]; RCPT_COUNT_THREE(0.00)[4]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.206:from]; MLMMJ_DEST(0.00)[freebsd-ports]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Apr-18, at 14:10, Mark Millard wrote: > On 2022-Apr-18, at 12:36, Mark Millard wrote: >=20 >> In doing some experiments, it looks like I've run into: >>=20 >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101723 >>=20 >> which had fixes applied to gcc9 , gcc10, and gcc11 in very >> late 2021-July into Aug (all after the most recent tagged >> release). gcc8 was already out of support or it would have >> had a commit too. ( aarch64-none-elf-gcc is currently at >> 8.4.0 .) >>=20 >> The specific issue is that for compiles with -march=3Darmv8-a+crc >> specified the result is as if the +crc had not been specified. >> In my context: >>=20 >> {standard input}: Assembler messages: >> {standard input}:37: Error: selected processor does not support = `crc32b w0,w0,w4' >>=20 >> The description of the fixes starts with: >>=20 >> QUOTE >> A change to the way gas interprets the .fpu directive in = binutils-2.34 >> means that issuing .fpu will clear any features set by = .arch_extension >> that apply to the floating point or simd units. This unfortunately >> causes problems for more recent versions of the architecture = because >> we currently emit .arch, .arch_extension and .fpu directives at >> different times and try to suppress redundant changes. >> . . . >> END QUOTE >>=20 >> So seeing the problem or not also depends on the vintage of gas >> in use, possibly explaining this not having been noticed before. >>=20 >> This was reported separately in: >>=20 >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104439 >>=20 >> for 11.2.0 and more and specifically for crc32b messages, but was >> classified as a duplicate of the earlier one listed above. >>=20 >> As far as I can tell no tagged gcc release has the fix yet: >>=20 >> releases/gcc-11.2.0 (2021-Jul-27, so close: 29th commit) >> releases/gcc-9.4.0 (2021-Jun-01) >> releases/gcc-10.3.0 (2021-Apr-08) >>=20 >> This interfere with experimenting with an updated U-Boot for >> aarch64. >>=20 >=20 > I looked around and found: >=20 > = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3Dc1cdabe3aab817d95a8db0= 0a8b5e9f6bcdea936f >=20 > arm: reorder assembler architecture directives [PR101723] > author Richard Earnshaw =09 > Thu, 29 Jul 2021 10:00:31 +0000 (11:00 +0100) > committer Richard Earnshaw =09 > Thu, 5 Aug 2021 11:51:14 +0000 (12:51 +0100) > commit c1cdabe3aab817d95a8db00a8b5e9f6bcdea936f > tree 2e3b5461af89619f316ecefa9d46564aa7514d33 tree > parent 6a37d0331c25f23628d4308e5a75624005c223b2 commit | = diff >=20 > As well as the refs/heads/releases/gcc-* related commits . . . >=20 >=20 > = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3Dc21ba5e57e49b870f16079= 44c0742e78feb7bc8d > [Wed, 18 Aug 2021 15:22:38 +0000 (16:22 +0100)] >=20 > via = https://gcc.gnu.org/git?p=3Dgcc.git;a=3Dshortlog;h=3Drefs/heads/releases/g= cc-11 >=20 >=20 > = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3D02d5a1988247207da46f25= ce8b58515e25c1f250 > [Mon, 23 Aug 2021 14:31:16 +0000 (15:31 +0100)] >=20 > via = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dshortlog;h=3Drefs/heads/releases/= gcc-10 >=20 >=20 > = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3D04c568961e793a1d7ad862= 48b4ca929fc84acf8d > [Mon, 23 Aug 2021 14:39:20 +0000 (15:39 +0100)] >=20 > via = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dshortlog;h=3Drefs/heads/releases/= gcc-9 >=20 >=20 > So possibly anything based on more recent snapshots than those > refs/heads/releases/gcc-* related commits have the commit in > place already. >=20 I looked and gcc 11.3.0 has source code from the fix. So, for lang/gcc* (non -devel), git: 06b81ba6804c - main - lang/gcc11: upgrade to 11.3.0 Piotr Kubaj looks to bee the first (and so-far only) lang/gcc* (non -devel) to contain the fix. The content of the other versions predate the fix (so far). A simple bugzilla search of what had been fixed in 11.3 did not list PR 101723 but looking at the likes of = https://github.com/gcc-mirror/gcc/blob/releases/gcc-11.3.0/gcc/config/arm/= arm.c showed a history entry for the fix and code from the fix. =3D=3D=3D Mark Millard marklmi at yahoo.com