Opened 15 years ago
Closed 15 years ago
#2661 closed defect (worksforme)
GMP incorrectly detects CPU-VENDOR-OS triplet on some x86_64 architectures.
Reported by: | itakingiteasy | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.7 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | GMP |
Cc: |
Description
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.
Change History (6)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Coreutils 8.4
uname -a
Linux lfslivecd 2.6.22.5-64bit #1 SMP Thu Nov 29 07:28:23 GMT 2007 x86_64 x86_64 x86_64 GNU/Linux
comment:3 by , 15 years ago
What is the output of cat /proc/cpuinfo
?
Specifically, what is vendor_id, cpu family, and model
comment:4 by , 15 years ago
Severity: | blocker → normal |
---|
I'll take this ticket, but I need more info from the submitter. If we don't get the info requested in the last reply in the next few days, I'll close this as worksforme.
comment:5 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:6 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
No response in two weeks. Closing.
config.guess determines the first part of the triplet from
uname -m
(coreutils).What version of coreutils are you using? What is the output of
uname -a
?