On 05/23/10 11:05 PM, leif wrote:

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

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

Certainly.

-Leif


Perhaps more useful would be the output of gcc when the -m64 option is added, which is what is being used to build on OpenSolaris. In this case, the 64-bit library search paths are shown.

drkir...@hawk:~$ gcc -v -Q -march=native -m64 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'  '-m64'
/usr/local/gcc-4.4.4/libexec/gcc/i386-pc-solaris2.11/4.4.4/cc1 -v -imultilib amd64 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 -m64 -auxbase test -version -o /var/tmp//ccIday7A.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 -imultilib amd64 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 -m64
options enabled:  -falign-loops -fargument-alias
 -fasynchronous-unwind-tables -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 -fpeephole
 -freg-struct-return -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 -funwind-tables -fvar-tracking -fvect-cost-model
 -fzero-initialized-in-bss -m128bit-long-double -m64 -m80387
 -maccumulate-outgoing-args -malign-stringops -mcx16 -mfancy-math-387
 -mfp-ret-in-387 -mfused-madd -mieee-fp -mmmx -mpopcnt -mpush-args
 -mred-zone -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)
symout : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 (50%) wall 16 kB ( 2%) ggc TOTAL : 0.00 0.00 0.02 843 kB
COLLECT_GCC_OPTIONS='-v' '-Q'  '-m64'
/usr/local/binutils-2.20/bin/as -v --traditional-format -V -Qy --64 -s -o /var/tmp//ccJday7A.o /var/tmp//ccIday7A.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/amd64/:/usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/../../../amd64/:/lib/amd64/:/usr/lib/amd64/:/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'  '-m64'
/usr/local/gcc-4.4.4/libexec/gcc/i386-pc-solaris2.11/4.4.4/collect2 -V -Y P,/lib/64:/usr/lib/64 -Qy /usr/lib/amd64/crt1.o /usr/lib/amd64/crti.o /usr/lib/amd64/values-Xa.o /usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/amd64/crtbegin.o -L/usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/amd64 -L/usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/../../../amd64 -L/lib/amd64 -L/usr/lib/amd64 -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//ccJday7A.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /usr/local/gcc-4.4.4/lib/gcc/i386-pc-solaris2.11/4.4.4/amd64/crtend.o /usr/lib/amd64/crtn.o
ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1689

--
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