Good day!
I have a far placed (in a village), old PC based on a Pentium-III. And I want to generate a simple FreeBSD based system on it.
How I do that:
1. On my home PC (Ryzen based), I'm start Virtualbox instance with FreeBSD 12-RELEASE i386.
2. I add CPUTYPE?=pentium3 on /etc/make.conf
3. I rebuild system from sources (with that CPUTYPE), also install all needed software from ports.
4. Do a dump of generated system and restore on a real P3 based PC.
5. System works, but some software not starts on P3 with error "illegal instruction". On a virtualbox instance that software works.
So I don't understand why, only one mention that clang may check current CPU capabilities and generate code with, for example SSE2, SSE3 etc. instructions which exists on a Ryzen CPU.
How can I solve that?
I have a far placed (in a village), old PC based on a Pentium-III. And I want to generate a simple FreeBSD based system on it.
How I do that:
1. On my home PC (Ryzen based), I'm start Virtualbox instance with FreeBSD 12-RELEASE i386.
2. I add CPUTYPE?=pentium3 on /etc/make.conf
3. I rebuild system from sources (with that CPUTYPE), also install all needed software from ports.
4. Do a dump of generated system and restore on a real P3 based PC.
5. System works, but some software not starts on P3 with error "illegal instruction". On a virtualbox instance that software works.
So I don't understand why, only one mention that clang may check current CPU capabilities and generate code with, for example SSE2, SSE3 etc. instructions which exists on a Ryzen CPU.
How can I solve that?