﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2661	GMP incorrectly detects CPU-VENDOR-OS triplet on some x86_64 architectures.	itakingiteasy	bdubbs@…	"On my x86_64 machine ./config.guess script of GMP 5.01 (and 5.00 as well) returns 'athlon-unknown-linux-gnu' which is incorrectly considered by ./configure script as 32-bit platform, so it expects sizeof(long) to be 4, when it is actually 8:
 
{{{
checking compiler cc -O2 -pedantic -fomit-frame-pointer has sizeof (long)==4... no
}}}

which results in a compiler error:
 
{{{
configure: error: could not find a working compiler, see config.log for details
}}}
 
This bug can be avoided by specifying --build=x86_64-unknown-linux-gnu option to ./configure script, but without knowing that your whole LFS assembly stops.


I am aware of the ticket http://wiki.linuxfromscratch.org/lfs/ticket/2648 , but i decided to make a separate one because it has nothing to do with CFLAGS or ABI environment variables."	defect	closed	normal	6.7	Book	SVN	normal	worksforme	GMP	
