Re: strange compiling problems on AMD Ryzen 5 5600G with freebsd-current

From: Peter Jeremy <peterj_at_freebsd.org>
Date: Wed, 05 Jan 2022 07:55:38 UTC
On 2022-Jan-05 00:09:14 +0000, tech-lists <tech-lists@zyxst.net> wrote:
>Are there known issues with Ryzen 5600G and freebsd-current?

This might be better off on freebsd-current, rather than hackers.

>In particular with building *some* ports. perl5.32 and llvm13
>fail to build,

I can't answer your question but I have a number of questions for you:
0) What is the exact version of -current that you're running?
1) Can you share more details on "fails to build".  Are you in a position
   to share a build log.
2) Are you using ECC RAM?  Have you run memtest86 or similar?
3) Have you tried (eg) FreeBSD-13 instead of -current?

>little else. It built and installed world without error.

I presume that means a previous kernel/world could build/install world.
4) Have you tried a buildworld with your problematic install?

>I'm wondering if there's something like a sysctl I need to 
>tweak for this cpu.

Any CPU-specific tweaks would be in the kernel.

(FTR, I have an AMD 5600X that's happily/stably running 13-stable).

-- 
Peter Jeremy