clang build buggy code with certain CPUTYPE setting

Andriy Gapon avg at FreeBSD.org
Mon Sep 28 08:59:57 UTC 2020


On 26/09/2020 22:55, Marek Zarychta wrote:
> Thank you for the information and for the fix. Sadly I must admit it
> doesn't work for me. I have tried two builds with fresh sources today to
> be certain and it looks like the bug is still present on FreeBSD
> 13-CURRENT r366186. Either the upstream fixed it only partially or it is
> another bug. As a workaround, I will build worlds without
> CPUTYPE?=amdfam10 for a while. I hope the problem will be resolved
> before clang 11 is MFCed to 12-STABLE.

Can you disassemble the faulting instruction in the core dump?
Can you provide full CPU ID / features information from dmesg?

-- 
Andriy Gapon


More information about the freebsd-current mailing list