Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2022 16:56:07 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-current@freebsd.org
Subject:   Re: observations on Ryzen 5xxx (Zen 3) processors
Message-ID:  <YdR8Jwq7AZrJ4jgz@ceres.zyxst.net>
In-Reply-To: <YdRUcz0kbVDtWXTv@ceres.zyxst.net>
References:  <cc1dd541-81fc-b56a-81ca-da76d20a095b@FreeBSD.org> <YdRUcz0kbVDtWXTv@ceres.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YdR8Jwq7AZrJ4jgz>