Processors
Intel® Processors, Tools, and Utilities
14615 Discussions

My Skylake G4500 cpu cannot successfully compile a Linux From Scratch OS.

LWycl
Beginner
2,134 Views

I have tried to compile a CLFS or LFS system 13 times using many different linux distros as a host system. In the end all systems produced were unusable, with kernel messages popping up regularly everywhere that they should not and the ethernet interface not discovered by dbus.

In the past on two older systems (P3 and Pentium D) this task was always successful, unless I plainly botched the job.

Today, I have found that the first package to fail tests is GMP which is an arbitrary precision arithmetic library. This failure could be a manifestation of the prime number hardware bug. The test failure states that in a script named "test-driver" line 107 calls an "illegal instruction". I do not know if this is a compiler incompatibility (too new for old syntax) or it points to an internal CPU instruction that balks.

I am not a hardware or software engineer, but this project works for all that "follow the book" correctly. The LFS project is used by so few that I believe that I might be the first to attempt it on a Skylake platform.

If Intel engineers are greatly vexed to find a solution to a problem which rarely occurs in Microsoft OS, perhaps they should look at LFS. I have been at this for three months and the problem occurs 100% of the time.

0 Kudos
2 Replies
LWycl
Beginner
896 Views

The problem is that my Pentium G4500 does not support AVX instruction set extensions.

The GMP mathematical package is a requirement for compiling the GCC compiler. GMP configure reads the bios and upon finding a skylake family CPU assumes that it supports AVX. The system happily completes make and make install, but the binaries produced fail testing for "illegal instruction" (the missing AVX instructions).

The GCC compiler produced using these defective GMP libraries is subtly crippled. It happily compiles a defective operating system.

Could this problem be prevented by bios correctly informing the system of what instruction sets are supported?

ASRock B150M-ITX motherboard.

Thanks, Leon

0 Kudos
Allan_J_Intel1
Employee
896 Views

You can get processor specifications here: http://ark.intel.com/products/90730/Intel-Pentium-Processor-G4500-3M-Cache-3_50-GHz Intel® Pentium® Processor G4500 (3M Cache, 3.50 GHz) Specifications

Additional information with the product datasheet.

http://www.intel.com/content/www/us/en/processors/core/desktop-6th-gen-core-family-datasheet-vol-1.html 6th Generation Intel® Core™ Processor Family Datasheet, Vol. 1

http://www.intel.com/content/www/us/en/processors/core/desktop-6th-gen-core-family-datasheet-vol-2.html 6th Generation Intel® Core™ Processor Family Datasheet, Vol. 2

Allan.

0 Kudos
Reply