Not sure what we can do about this. Configfsf.guess is run first and it gives:
x86_64-unknown-linux-gnu This is passed to config.guess which tries to sharpen up the detection: 1) It runs a 64 bit x86_64 cpuid coded in assembly to get vendor string, family and model. 2) The machine returns AuthenticAMD, family 6, model 2 3) Config.guess correctly identifies it as some kind of Athlon The only way to get a 64 bit binary on this machine is to build with -host=x86_64-unknown-linux-gnu Bill. 2009/2/5 Willem Jan Palenstijn <w...@usecode.org>: > > Hi, > > When building the mpir shipped with sage 3.3.alpha5 (r1555) on a > kvm/qemu amd64 virtual machine I get a 32-bit libgmp.so. > > The two config*.guess scripts report: > [r...@localhost src]# bash config.guess > athlon-unknown-linux-gnu > [r...@localhost src]# bash configfsf.guess > x86_64-unknown-linux-gnu > > cpuinfo: > processor : 0 > vendor_id : AuthenticAMD > cpu family : 6 > model : 2 > model name : QEMU Virtual CPU version 0.9.1 > stepping : 3 > cpu MHz : 2411.119 > cache size : 512 KB > fpu : yes > fpu_exception : yes > cpuid level : 2 > wp : yes > flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm up pni > bogomips : 4828.63 > TLB size : 1024 4K pages > clflush size : 64 > cache_alignment : 64 > address sizes : 40 bits physical, 48 bits virtual > power management: > > See below for the start of config.log. The full config.log is available at > http://www.math.leidenuniv.nl/~wpalenst/sage/kvm_amd64_config.log . > > If you need any other information, please let me know. > > Kind regards, > Willem Jan > > > ----------------- > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It was created by MPIR configure 0.9, which was > generated by GNU Autoconf 2.61. Invocation command line was > > $ ./configure --prefix=/data/sage-3.3.alpha5/local --enable-cxx=yes > --enable-shared --disable-static > > ## --------- ## > ## Platform. ## > ## --------- ## > > hostname = localhost > uname -m = x86_64 > uname -r = 2.6.23.1-42.fc8 > uname -s = Linux > uname -v = #1 SMP Tue Oct 30 13:18:33 EDT 2007 > > /usr/bin/uname -p = unknown > /bin/uname -X = unknown > > /bin/arch = x86_64 > /usr/bin/arch -k = unknown > /usr/convex/getsysinfo = unknown > /usr/bin/hostinfo = unknown > /bin/machine = unknown > /usr/bin/oslevel = unknown > /bin/universe = unknown > > PATH: /data/sage-3.3.alpha5 > PATH: /data/sage-3.3.alpha5/local/bin > PATH: /data/sage-3.3.alpha5 > PATH: /data/sage-3.3.alpha5/local/bin > PATH: /usr/kerberos/sbin > PATH: /usr/kerberos/bin > PATH: /usr/lib64/ccache > PATH: /usr/local/sbin > PATH: /usr/local/bin > PATH: /sbin > PATH: /bin > PATH: /usr/sbin > PATH: /usr/bin > PATH: /root/bin > > > ## ----------- ## > ## Core tests. ## > ## ----------- ## > > configure:2136: checking build system type > configure:2154: result: athlon-unknown-linux-gnu > configure:2176: checking host system type > configure:2191: result: athlon-unknown-linux-gnu > configure:2228: checking for a BSD-compatible install > configure:2284: result: /usr/bin/install -c > configure:2295: checking whether build environment is sane > configure:2338: result: yes > configure:2403: checking for gawk > configure:2419: found /bin/gawk > configure:2430: result: gawk > configure:2441: checking whether make sets $(MAKE) > configure:2462: result: yes > configure:2648: checking whether to enable maintainer-specific portions > of Makefiles > configure:2657: result: no > User: > ABI= > CC=gcc > CFLAGS=(unset) > CPPFLAGS=(unset) > MPN_PATH= > GMP: > abilist=32 > cclist=gcc icc cc > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-devel@googlegroups.com To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en -~----------~----~----~----~------~----~------~--~---