Re: cpuid.h not found
On Tue, May 11, 2010 at 3:24 PM, Yan Mo wrote: Hi, I'm new to this. Got upto the Glibc configure part of 5.7.1 in LFS-BOOK-6.6 and its stopping after these messages: checking cpuid.h usability... no checking cpuid.h presence... no checking for cpuid.h... no configure: error: gcc must provide the cpuid.h header The file cpuid.h is provided by gcc. Since you do not have the file, it is possible that the gcc build in section 5.5.1 failed. You could try repeating that section and carefully checking the output. On my machine the cpuid.h file appears in $LFS/tools/lib/gcc/i686-lfs-linux-gnu/4.4.3/include. -- Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!, /l...@omcgtjuba.phi/') -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: cpuid.h not found
On Tue, 11 May 2010 08:01:26 -0600 Yan Mo yinor...@gmail.com wrote: [snip] checking cpuid.h usability... no checking cpuid.h presence... no checking for cpuid.h... no configure: error: gcc must provide the cpuid.h header The file cpuid.h is provided by gcc. Since you do not have the file, it is possible that the gcc build in section 5.5.1 failed. You could try repeating that section and carefully checking the output. [snip] My machine also has cpuid.h in $LFS/tools/lib/gcc/i686-lfs-linux-gnu/4.4.3/include so it makes me wonder if something is not reverse-compatible with my 800MHz AMD Duron. I choose my oldest machine to build this in order for my new system to be compatible with as many machines as possible. Could it be those that benefit by selling newer hardware are discouraging reverse-compatibility??? Hmm... So, you have cpuid.h where it is supposed to be, but the working GCC does not use it? I think you should gut config.log of the failing glibc build and find the compiler output for the failing test. It will likely be somewhere in the middle of the file, and should contain the necessary information to diagnose the problem. Post it. I would also want to think of your CPU. Are you _sure_ it is i686? Ran config.guess or 'uname -m'? AFAIK, distros do not build i686 binaries, they build i486 or i586 binaries. So that can be a good place for all sorts of interesting things to happen. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
cpuid.h not found
Hi, I'm new to this. Got upto the Glibc configure part of 5.7.1 in LFS-BOOK-6.6 and its stopping after these messages: checking cpuid.h usability... no checking cpuid.h presence... no checking for cpuid.h... no configure: error: gcc must provide the cpuid.h header What can I do? My host system is Mandriva 2008.0 kernel 2.6.22.9 on an i686 AMD Duron. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page