On 05/23/10 11:05 PM, leif wrote:
On 23 Mai, 22:47, "Dr. David Kirkby"<david.kir...@onetel.net>  wrote:
Host system
uname -a:
SunOS hawk 5.11 snv_134 i86pc i386 i86pc

uname -m == i386 is bad for a 64-bit machine...

uname -m does not give i386.

drkir...@hawk:~/sage-4.4.2$ uname -m
i86pc
drkir...@hawk:~/sage-4.4.2$ uname -p
i386

Ok, but a (system on a) Xeon should give x86_64 (or at least i686),
not i386.

Says who? Certainly there is nothing in the POSIX specification for uname

http://www.opengroup.org/onlinepubs/9699919799/utilities/uname.html

that says anything about it printing i386, i686 or anything remotely similar.


I wonder if gcc detected the real cpu type, since it reports "Target:
i386-pc-solaris2.11".

http://gcc.gnu.org/install/specific.html#ix86-x-solaris210

says "Unlike `sparcv9-sun-solaris2*', there is no corresponding 64-bit configuration like `amd64-*-solaris2*' or `x86_64-*-solaris2*'. "


Strange anyway, what does "gcc -v -Q -march=native foo.c" report?

It appears to think the processor is a "core2", which is at least a 64-bit processor. There does not seem to be anything more appropriate for the Xeon.

drkir...@hawk:~$ gcc -v -Q -march=native test.c
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.4.4/configure --prefix=/usr/local/gcc-4.4.4 --with-as=/usr/local/binutils-2.20/bin/as --with-ld=/usr/ccs/bin/ld --with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: posix
gcc version 4.4.4 (GCC)
COLLECT_GCC_OPTIONS='-v' '-Q'
/usr/local/gcc-4.4.4/libexec/gcc/i386-pc-solaris2.11/4.4.4/cc1 -v test.c -march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -dumpbase test.c -auxbase test -version -o /var/tmp//ccWhaiLB.s ignoring nonexistent directory "/usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/../../../../i386-pc-solaris2.11/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/local/gcc-4.4.4/include
 /usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/include
 /usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/include-fixed
 /usr/include
End of search list.
GNU C (GCC) version 4.4.4 (i386-pc-solaris2.11)
        compiled by GNU C version 4.4.4, GMP version 4.3.1, MPFR version 2.4.1.
warning: MPFR header version 2.4.1 differs from library version 2.4.1-p5.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
options passed:  -v test.c -march=core2 -mcx16 -msahf -mpopcnt -msse4.2
 --param l1-cache-size=32 --param l1-cache-line-size=64 --param
 l2-cache-size=256 -mtune=core2
options enabled:  -falign-loops -fargument-alias -fauto-inc-dec
 -fbranch-count-reg -fcommon -fearly-inlining
 -feliminate-unused-debug-types -ffunction-cse -fgcse-lm -fident
 -finline-functions-called-once -fira-share-save-slots
 -fira-share-spill-slots -fivopts -fkeep-static-consts -fleading-underscore
 -fmath-errno -fmerge-debug-strings -fmove-loop-invariants
 -fpcc-struct-return -fpeephole -fsched-interblock -fsched-spec
 -fsched-stalled-insns-dep -fsigned-zeros -fsplit-ivs-in-unroller
 -ftrapping-math -ftree-cselim -ftree-loop-im -ftree-loop-ivcanon
 -ftree-loop-optimize -ftree-parallelize-loops= -ftree-reassoc
 -ftree-scev-cprop -ftree-switch-conversion -ftree-vect-loop-version
 -funit-at-a-time -fvar-tracking -fvect-cost-model
 -fzero-initialized-in-bss -m32 -m80387 -m96bit-long-double
 -maccumulate-outgoing-args -malign-stringops -mcx16 -mfancy-math-387
 -mfp-ret-in-387 -mfused-madd -mieee-fp -mmmx -mno-red-zone -mpopcnt
 -mpush-args -msahf -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3
Compiler executable checksum: 0944f893535a7849fcbeea2be9214f29
 main
Analyzing compilation unit
Performing interprocedural optimizations
<visibility> <early_local_cleanups> <summary generate> <inline>Assembling functions:
 main
Execution times (seconds)
TOTAL : 0.00 0.00 0.01 837 kB
COLLECT_GCC_OPTIONS='-v' '-Q'
/usr/local/binutils-2.20/bin/as -v --traditional-format -V -Qy -s -o /var/tmp//ccXhaiLB.o /var/tmp//ccWhaiLB.s GNU assembler version 2.20 (i386-pc-solaris2.11) using BFD version (GNU Binutils) 2.20
COMPILER_PATH=/usr/local/gcc-4.4.4/libexec/gcc/i386-pc-solaris2.11/4.4.4/:/usr/local/gcc-4.4.4/libexec/gcc/i386-pc-solaris2.11/4.4.4/:/usr/local/gcc-4.4.4/libexec/gcc/i386-pc-solaris2.11/:/usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/:/usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/:/usr/ccs/bin/
LIBRARY_PATH=/usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/:/usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-Q'
/usr/local/gcc-4.4.4/libexec/gcc/i386-pc-solaris2.11/4.4.4/collect2 -V -Y P,/usr/ccs/lib:/usr/lib -Qy /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/values-Xa.o /usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/crtbegin.o -L/usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4 -L/usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/../../.. /var/tmp//ccXhaiLB.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/crtend.o /usr/lib/crtn.o
ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1689


If you do have some ideas, perhaps you can post them on the trac ticket.

Certainly.

-Leif


--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to