From nobody Tue Jan 4 16:56:07 2022 X-Original-To: freebsd-current@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 5751E192F02F for ; Tue, 4 Jan 2022 16:56:18 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4JSzKF2CDJz4bhx for ; Tue, 4 Jan 2022 16:56:17 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 215013200C17 for ; Tue, 4 Jan 2022 11:56:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 04 Jan 2022 11:56:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=Wg5qfTw7IJmh2aVjXI/ykPh1OJD qC/OeHLyc5cYaM9k=; b=Q5Wm8VvN/C8mXNUrpflePhcewS0raabuCrbv0bpCwVA 9WEupmb5xlaTIkx5ahonBLW9v5NSPJKiF/Jb10+XBXOrl9eSbWCHu0MLcAcich+x xFfXHJjmDTwjRTkkiqzj/2AXvHKJgNVv5wUt6Lrtn47CvQgmSVNdzwi1ubLC9t+K YGikCZ2f0JeSEuG15i6NZdwo2AFedMTdcpOn3Wzs021PoHgmJY2V68jNj1j+OceB RCBbr9PGFGWxYqn7YsB9QdFfxYDH2sqJhQlmEWf7JhpUBE8WfGucrn7pSpbJs3Ft p5s5D/kEezmsjfaRXKqKqn5bqrZEutYIEm/mFjW7mUg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Wg5qfT w7IJmh2aVjXI/ykPh1OJDqC/OeHLyc5cYaM9k=; b=NI+tnDtzd34zrSkyzHq7bm 3f9fkZw4axOzmQ/0oOOSRKxSwScErrhW0LdS559NX32JFHParN3Jt6L2LfTZzfiv 6KvwhIOPveCDAay9Q/MOQAFnXwvGL1L9NcfBW14rUnwe5W3DlBwEjfAfR+Tjzrns jkCcdP6DyEFMC3mouzwmkLpR7nkMR97IqFx1W0nw/eVld9LHUulYKWFrWjRC+M0d HTHO0/DL/X1kdZGKlk9WbXdaY9HgqB/Viu64VhKSx2iJLuutIWmDYSNlU+79CUe9 OCuXZSBUOaadJHy96lSBsiw8+1ZoBPEiCW0y05SMQf/kzaYrveNED/OSxxN+cljQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudeffedgleegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeellefhvdejleeivddvkeffkeekve fhfeefueelvddttdevudevgefgkeefudefheenucffohhmrghinhepsghsugdqhhgrrhgu figrrhgvrdhinhhfohenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehtvggthhdqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 4 Jan 2022 11:56:08 -0500 (EST) Date: Tue, 4 Jan 2022 16:56:07 +0000 From: tech-lists To: freebsd-current@freebsd.org Subject: Re: observations on Ryzen 5xxx (Zen 3) processors Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VzBtrYXJoTcAuCMi" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4JSzKF2CDJz4bhx X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm1 header.b=Q5Wm8VvN; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=NI+tnDtz; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.25 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-6.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm1,messagingengine.com:s=fm1]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[64.147.123.25:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[zyxst.net]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.25:from] X-ThisMailContainsUnwantedMimeParts: N --VzBtrYXJoTcAuCMi Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 04, 2022 at 02:06:43PM +0000, tech-lists wrote: >Hello, > >On Wed, Dec 22, 2021 at 02:42:48PM +0200, Andriy Gapon wrote: >> >>There have been some reports on strange / unexpected things with Ryzen 5x= xx >>processors. I think I have seen 5950X, 5900X and 5800X mentioned, not su= re >>about others. > >Thanks for this. I'm evaluating a ryzen 5600G. Here's hwinfo: > >https://bsd-hardware.info/?probe=3De67007df20 > >I've noticed a couple of oddities: > >1. some ports won't build, but world builds and installs just fine (curren= t/14) Can't build lang/perl5.32. I have many vms running perl5.32 and they're not= seeing any issues. There's nothing in bugs suggesting there's an issue with this port right no= w. The context is 14.0-CURRENT #0 main-n252119-dfa5a74357f amd64 1400046 14000= 46 with a nodebug kernel. The sources were built with these (/etc/src.conf): KERNCONF=3DRYZEN5 WITH_CCACHE_BUILD=3D"TRUE" CCACHE_PREFIX=3D/usr/local/bin CPUTYPE?=3Dznver3=20 TARGET_CPU_ARCH=3Dznver3 WITH_MALLOC_PRODUCTION=3D=20 WITH_LLVM_TARGET_ALL=3D WITH_LLVM_BINUTILS=3D WITH_KERNEL_RETPOLINE=3D # WITH_PIE=3Dyes WITH_BIND_NOW=3Dyes WITH_RETPOLINE=3Dyes WITH_SSP=3Dyes # WITH_OPENSSL_KTLS=3D I'm going to try building a new world next, this time with no /etc/src.conf= , or a minimal one. But for now, I'm seeing unexpected failures with ports that compile fine on= other systems: 1. portstree last updated: Tue Jan 4 17:03:38 2022 +0100 version: 570114 2. no /etc/make.conf 3. in /usr/ports/lang/perl5.32: [i] make clean && make distclean && make rmconfig && make rmconfig-recu= rsive [ii] make MAKE_JOBS_UNSAFE=3Dyes -j1 fails here: =20 98 warnings generated. cc -pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib -o m= iniperl opmini.o perlmini.o gv.o toke.o perly.o pad.o regcomp.o d ump.o util.o mg.o reentr.o mro_core.o keywords.o hv.o av.o run.o p= p_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o num= eric.o mathoms.o locale.o pp_pack.o pp_sort.o caretx.o dquote.o tim e64.o miniperlmain.o -lpthread -lm -lcrypt -lutil ld: error: undefined symbol: __dtraceenabled_perl___op__entry >>> referenced by perlmini.c >>> perlmini.o:(perl_destruct) >>> referenced by perlmini.c >>> perlmini.o:(perl_destruct) >>> referenced by perlmini.c >>> perlmini.o:(perl_parse) >>> referenced 8 more times ld: error: undefined symbol: __dtrace_perl___sub__entry >>> referenced by util.c >>> util.o:(Perl_dtrace_probe_call) ld: error: undefined symbol: __dtrace_perl___sub__return >>> referenced by util.c >>> util.o:(Perl_dtrace_probe_call) ld: error: undefined symbol: __dtrace_perl___loading__file >>> referenced by util.c >>> util.o:(Perl_dtrace_probe_load) ld: error: undefined symbol: __dtrace_perl___loaded__file >>> referenced by util.c >>> util.o:(Perl_dtrace_probe_load) ld: error: undefined symbol: __dtrace_perl___op__entry >>> referenced by util.c >>> util.o:(Perl_dtrace_probe_op) >>> referenced by util.c >>> util.o:(Perl_dtrace_probe_op) ld: error: undefined symbol: __dtrace_perl___phase__change >>> referenced by util.c >>> util.o:(Perl_dtrace_probe_phase) ld: error: undefined symbol: __dtraceenabled_perl___sub__entry >>> referenced by pp_hot.c >>> pp_hot.o:(Perl_pp_leavesub) >>> referenced by pp_hot.c >>> pp_hot.o:(Perl_pp_entersub) >>> referenced by pp_ctl.c >>> pp_ctl.o:(Perl_cx_popsub) >>> referenced 6 more times cc: error: linker command failed with exit code 1 (use -v to see = invocation) *** [lib/buildcustomize.pl] Error code 1 make[2]: stopped in /usr/ports/lang/perl5.32/work/perl-5.32.1 1 error make[2]: stopped in /usr/ports/lang/perl5.32/work/perl-5.32.1 *** [do-build] Error code 1 make[1]: stopped in /usr/ports/lang/perl5.32 1 error make[1]: stopped in /usr/ports/lang/perl5.32 *** [stage] Error code 2 make: stopped in /usr/ports/lang/perl5.32 1 error make: stopped in /usr/ports/lang/perl5.32 --=20 J. --VzBtrYXJoTcAuCMi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmHUfB8ACgkQs8o7QhFz NAVPww/8DsD6pHlpiE1FkkDhVd5UqhrvuuypVXNQju0tMFAryCjDuLcx9xGEh0fR ImwbectiCULR1PZDDGPnosGAdMXA4J9DgnMS7JLc2tC3U6UCviAvUG+diy+XLiLE 43K/LBYZAA0obnZnAuKyAUupNRPIDRXGeqYYiKH5hufK0LgW/toyIYKq2kdA1Fmi zdG78Zv9nIw5oyj+0mPk52Ut5yO/uFV2gMlMpnqyu8xvg0/1x7ZGDjd5G8HZ73Rh jxuSAN0cfW3mYWsMQ4ZPzVMI+RVGxib8hBBmrXmcc3vDm15hgK1p1S/c+SaPQMYL 6LlyTEN+aHn4NHwoJxHYgv4EHFa4oKENAAij8TSkTnLIhVbB8p/xT9Y8nQnlhNty S++reOXW1vOQaLADaOFgxxPfjEg8gTrAiToMVKDb8reRv/C9/JlpOVNzHMk/ps0i eH8SJOkQa8Ud09YPgi3a/iKE+zmBkCtkhU4rkKbvc7pi5MrCU1vXr1T6uvD9H4nQ cCllb8qgHprlXrWJbujaE2exHwUiYjuv/S9+bzmMiw1unUAy5gu/NBSdTkWY9kDS i943bZ5wgFVo7t82V4/JFpAo0SJXzOuHkB3ZfbR2yLmWyS9JQQSZg7SFBrUvmF4I 14auqMyQsFdKrE40UKRToGqg+39JvlR7A2wyVVtSQMy6r8Elt3g= =xYgJ -----END PGP SIGNATURE----- --VzBtrYXJoTcAuCMi--