https://issues.dlang.org/show_bug.cgi?id=24254

--- Comment #5 from kinke <ki...@gmx.net> ---
(In reply to Jure Pečar from comment #4)
> Sorry this is my first time meeting D ecosystem, I'm having trouble
> following your feedback.

No worries.

> So by "host compiler" you mean the previous version of LDC that was used to
> build current version of LDC?

Yes.

> If that's the case, can you tell me which version of LDC started recognizing
> and working with zen4c cpus?

I don't know if it is working in current druntime. You could e.g. launch some
Ubuntu/Debian container (min Ubuntu 20.04 for glibc) and try to run the
official v1.35 in there. If there's no startup error, druntime v2.105 probably
works.

FWIW, the problematic module is
https://github.com/dlang/dmd/blob/master/druntime/src/core/cpuid.d. As the name
suggests, it uses/depends on the CPUID instruction. I can only tell you that
everything works on my workstation, a Threadripper 3960X.

--

Reply via email to