#2661: GMP incorrectly detects CPU-VENDOR-OS triplet on some x86_64
architectures.
---------------------------+------------------------------------------------
Reporter: itakingiteasy | Owner: lfs-b...@…
Type: defect | Status: new
Priority: normal | Milestone: 6.7
Component: Book | Version: SVN
Severity: blocker | Keywords: GMP
---------------------------+------------------------------------------------
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.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2661>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page