From nobody Mon Apr 18 21:10:08 2022 X-Original-To: toolchain@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 95FAC11D35CE for ; Mon, 18 Apr 2022 21:10:25 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-55.consmr.mail.gq1.yahoo.com (sonic307-55.consmr.mail.gq1.yahoo.com [98.137.64.31]) (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 4Kj02S3414z3GpQ for ; Mon, 18 Apr 2022 21:10:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650316216; bh=DyOIJh+H1seFbWV9CHKPvnE+ee/Z3h/Bjqh/Rq4NKDM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=bfXy7s5UtCDT6IKp5g7prNJHILqu5Zm6HB49OJ0o8h9N4FpkZH5Vrlw9grlFhjc4gZD3oijBhAnspyioML3oLc5vE0m1+4KbdzP7/rzi77E63EiHcrXUyqD//gaN0kWpGpNSh6T1s3IWXODfX/Ckmgu5FNCt9WLVfGY7+A2A+ukjmxuZ0YL50RguNc629HWKl2WMUsxE841HKPapolv79By+gxHpf3NUSRlignNxJ6dO8pmBXA3ptkgXrngrlp/XMu/mMChE2d7jtne2sQ291lAIV9mF0eOErWB1R5ZJDifX3EV01BsXiEnUsDFEONmVeeEsK3keANAPSwkLyyTPrQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650316216; bh=i7eaaPUAIDhhWOYep/BY9vBsfakKxbnUfdSV5v+Ll6g=; h=X-Sonic-MF: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gRSYdGi2c4pa4msG8CigmglCOGqvz xnju_.2qnlHf3dqdmm2.kTxJ5cUQgn1ZsW1DI59C.pNWYRs9FP3SPYXwJ3BxzfP4s5pQ2GgBGy8A KYSjmTIV_11dcYW_ta0iaTNbUgNKKBmejv0qiFtV64OB0e22EDrw.rxYZDyPIsXK7Ul_d16QYdWu PKqzPAdAfrGGEevviNsWWXmFLaIygwmCW.rZZHan3N6oTLslnyEllrt4DvZJY0nkf71Y3nnBBlU. vlHLNURjxj5AtxEz.V9EwGxosOiY5PaDFgl2Koy3ikUrsrR6LITnjsuEk_bSNsX8h0Zlkg2Rlfca P3N1aWPUgCmu2ry3H9hXfDvjxqXOz9KNR1BYoD_um2u8UMbboSdJ38Xkrp6LysPSQXvmflBe6Cx8 vFeiXaCPZdgTLajwEJIyM8pID5Ner9wpaA2uvPF0Pal2xFs2IO8ha9MrXYZDCN5hLoGaUoSYRWIA JfEpwt27WFyWNROA36zQZ2yIkJwJ3NZUzqjOyNaoD0Zqek__7JzJbcPiGLXL3ixtp.FhPIjaVWLr b6YEA.YwcFYmg1PY- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Mon, 18 Apr 2022 21:10:16 +0000 Received: by hermes--canary-production-bf1-5f49dbcd6-vddpd (VZM Hermes SMTP Server) with ESMTPA ID 5b0fcccf35a75020e8317c4ac8e5b275; Mon, 18 Apr 2022 21:10:11 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@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: Mon, 18 Apr 2022 14:10:08 -0700 Cc: Emmanuel Vadot , toolchain@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Free BSD , freebsd-ports@freebsd.org X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Kj02S3414z3GpQ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=bfXy7s5U; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 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]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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]; 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.31:from]; MLMMJ_DEST(0.00)[toolchain]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.31:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Apr-18, at 12:36, Mark Millard wrote: > 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 I looked around and found: = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3Dc1cdabe3aab817d95a8db0= 0a8b5e9f6bcdea936f 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 As well as the refs/heads/releases/gcc-* related commits . . . = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3Dc21ba5e57e49b870f16079= 44c0742e78feb7bc8d [Wed, 18 Aug 2021 15:22:38 +0000 (16:22 +0100)] via = https://gcc.gnu.org/git?p=3Dgcc.git;a=3Dshortlog;h=3Drefs/heads/releases/g= cc-11 = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3D02d5a1988247207da46f25= ce8b58515e25c1f250 [Mon, 23 Aug 2021 14:31:16 +0000 (15:31 +0100)] via = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dshortlog;h=3Drefs/heads/releases/= gcc-10 = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3D04c568961e793a1d7ad862= 48b4ca929fc84acf8d [Mon, 23 Aug 2021 14:39:20 +0000 (15:39 +0100)] via = https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dshortlog;h=3Drefs/heads/releases/= gcc-9 So possibly anything based on more recent snapshots than those refs/heads/releases/gcc-* related commits have the commit in place already. =3D=3D=3D Mark Millard marklmi at yahoo.com