I tried the same exercise on a related Xeon cluster -- with the same failure on mpn/.libs/add_n.o. I will be on #sage-devel (IRC) off and on if anyone wants to work on this real-time.
The (new) config.log is at <http://hintonclan.org/iobass/mpir- config.log>. The behavior in both cases appears to be identical. Here is the result of the "hello world" test. $ gcc -m64 -c hello.c -o hello.o $ file hello.o hello.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped I noticed in the compile script that gcc doesn't actually create add_n.o. The relevant lines are ../strip_fPIC.sh ../yasm/yasm -I .. -f elf64 add_n.as -fPIC -DPIC - o .libs/add_n.o ../yasm/yasm -I .. -f elf64 add_n.as -D PIC -o .libs/add_n.o ../strip_fPIC.sh ../yasm/yasm -I .. -f elf64 add_n.as -o add_n.o >/ dev/null 2>&1 Also, an earlier call to "ar" in the "mpn" directory seems to work just fine. But the later call to gcc fails. Here is the file type for add_n.o. Apparently the 'file' utility has no idea what this file is. $ file mpn/.libs/add_n.o mpn/.libs/add_n.o: data The old /proc/cpuinfo is in my original post. Here is the information for the new compile. $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.00GHz stepping : 3 cpu MHz : 2992.387 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl cid cx16 xtpr bogomips : 5984.77 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: <snip, three more like this> Thanks for your help! - Ryan On Feb 27, 7:53 pm, François Bissey <[email protected]> wrote: > > I downloadedmpir-1.3.1 outside of sage and started the compile. Yasm > > seems to have built just fine. But it failed in a different place. > > When creating libmpir.so, GCC returns the error, > > > mpn/.libs/add_n.o: file not recognized: File format not recognized > > > The more-or-less full log is at <http://www.hintonclan.org/iobass/mpir- > > script.txt>. > > Just as a matter of curiosity in case that help what does: > file mpn/.libs/add_n.o > report? > > Francois -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
