From owner-freebsd-current@freebsd.org Sat Sep 26 11:40:57 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 683193FBC2E for ; Sat, 26 Sep 2020 11:40:57 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plan-b.pwste.edu.pl", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bz6L02MFFz4VDK for ; Sat, 26 Sep 2020 11:40:55 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (zarychtam@localhost [127.0.0.1]) by plan-b.pwste.edu.pl (8.16.1/8.16.1) with ESMTPS id 08QBejuo033342 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 26 Sep 2020 13:40:45 +0200 (CEST) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: (from zarychtam@localhost) by plan-b.pwste.edu.pl (8.16.1/8.16.1/Submit) id 08QBejDO033341 for freebsd-current@freebsd.org; Sat, 26 Sep 2020 13:40:45 +0200 (CEST) (envelope-from zarychtam) Date: Sat, 26 Sep 2020 13:40:45 +0200 From: Marek Zarychta To: freebsd-current@freebsd.org Subject: clang build buggy code with certain CPUTYPE setting Message-ID: <20200926114045.GA31128@plan-b.pwste.edu.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline X-Rspamd-Queue-Id: 4Bz6L02MFFz4VDK X-Spamd-Bar: ------- X-Spamd-Result: default: False [-7.19 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; NEURAL_HAM_MEDIUM(-0.96)[-0.957]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[pwste.edu.pl:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.03)[-1.031]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,none]; NEURAL_HAM_SHORT(-0.30)[-0.301]; SIGNED_PGP(-2.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2020 11:40:57 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear list, I have done a few builds of CURRENT in a row one or two weeks apart. The builds with CPUTYPE?=3Damdfam10 set produce buggy code, for example while running mergemaster I get this error: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: cc --version=20 #0 0x00000000040ede6e (/usr/bin/cc+0x40ede6e) #1 0x00000000040ec0e5 (/usr/bin/cc+0x40ec0e5) #2 0x00000000040ee550 (/usr/bin/cc+0x40ee550) #3 0x000000080553babe (/lib/libthr.so.3+0x19abe) Illegal instruction make: "/usr/src/share/mk/bsd.compiler.mk" line 181: Unable to determine compiler type for CC=3Dcc. Consider setting COMPILER_TYPE. The 13-CURRENT world built without CPUTYPE runs fine, the same for recent 12.2-STABLE world build with CPUTYPE?=3Damdfam10 on the same machine. Any tips would be appreciated, -- =20 Marek Zarychta --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEMOqvKm6wKvS1/ZeCdZ/s//1SjSwFAl9vKLoACgkQdZ/s//1S jSz57gf7BHw3v6gQjmE2yGq+OZ+3iEGFq3ks3sInRLZXT2uWJ1xMpS/xNjiMErJq wjvc9auH29kkNVtII6Gr2QTZ0Tha8M1ooOUzGv++kIgrzda0tqkikmwa97KU6f+B WMkaojxVItlIqoYOffM7JX2W95cYDImf9UHKEDTFCmUoOOcorgDntZyNAsU5LCIl STX7r5KgdCj5mP+z32dFHOi2BlgfHtec2eyJw1iY7L1sc6dx706bZgOCOdiafkMk VNYw68fyHQBoBNokqaj8GqpNUgtJMVNDXtNHL3tmbmA7+hDqd/MLj9HSSt4doooI JIwuDYBA4bRxGe4y8USZrneZgK+rWg== =sBwH -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--