Incorrect output of config.guess

Bruce Dubbs bruce.dubbs at gmail.com
Wed Dec 23 22:49:26 PST 2009


Patrick OConnell wrote:
> On Thu, Dec 24, 2009 at 1:17 AM, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:
>> Patrick OConnell wrote:

>> The results of config.guess are used to find the system specific
>> libraries and programs used by gcc:

>> gcc -dumpmachine should be x86_64-unknown-linux-gnu too.

> $ ls /usr/lib/gcc
> x86_64-pc-linux-gnu
> $ gcc -dumpmachine
> x86_64-pc-linux-gnu
> $ ./config.guess
> x86_64-unknown-linux-gnu

> gcc pass 2 had failed using regular LFS, I had just tried CLFS to see
> if it fixed the problem, and the very first binutils build failed. But
> like I said I'm not asking about these specific failures, I'm just
> wondering if the vendor mismatch could be a problem.

Yes, the mismatch causes a problem because configure will use 
congig.guess and that needs to match what gcc thinks.

The LFS releases are tested via an automated extraction of the 
instructions from the book.  You have deviated somewhere and that has 
caused your build failures.

   -- Bruce





More information about the lfs-support mailing list