------- Comment #5 from fpbeekhof at gmail dot com  2009-04-04 17:45 -------
Created an attachment (id=17586)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17586&action=view)
preprocessed source; with a Makefile!

Everything fails perfectly:
$ make clean; make
rm -f *.o *~ shapes
gcc -pipe -I. -Wall -O3 -funroll-loops -fopenmp -march=native -ftree-vectorize 
 -c -o mainpp.o mainpp.cc
gcc -pipe -I. -Wall -O3 -funroll-loops -fopenmp -march=native -ftree-vectorize 
 -c -o tinystrpp.o tinystrpp.cc
gcc -pipe -I. -Wall -O3 -funroll-loops -fopenmp -march=native -ftree-vectorize 
 -c -o tinyxmlpp.o tinyxmlpp.cc
gcc -pipe -I. -Wall -O3 -funroll-loops -fopenmp -march=native -ftree-vectorize 
 -c -o tinyxmlerrorpp.o tinyxmlerrorpp.cc
gcc -pipe -I. -Wall -O3 -funroll-loops -fopenmp -march=native -ftree-vectorize 
 -c -o tinyxmlparserpp.o tinyxmlparserpp.cc
gcc -pipe -I. -Wall -O3 -funroll-loops -fopenmp -march=native -ftree-vectorize 
 -c -o SurfaceExtractorpp.o SurfaceExtractorpp.cc
gcc -o shapes -pipe -I. -Wall -O3 -funroll-loops -fopenmp -march=native
-ftree-vectorize -lz -lboost_iostreams -lgsl -lgslcblas mainpp.o tinystrpp.o
tinyxmlpp.o tinyxmlerrorpp.o tinyxmlparserpp.o SurfaceExtractorpp.o
mainpp.o: In function
`_ZN7cvmlcpp25extractSurfaceFromAdapterIN6shapes20ShapeSurfaceAdaptor_IdEEdEEvRKT_RNS_8GeometryIT0_EEd.omp_fn.8':
mainpp.cc:(.text+0x5641): undefined reference to `void
cvmlcpp::extractSurfaceFromAdapter<shapes::ShapeSurfaceAdaptor_<double>,
double>(shapes::ShapeSurfaceAdaptor_<double> const&,
cvmlcpp::Geometry<double>&, double)::C.907'
collect2: ld returned 1 exit status
make: *** [shapes] Error 1

Oh, and this is the CPU:
$ cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 47
model name      : AMD Athlon(tm) 64 Processor 3200+
stepping        : 0
cpu MHz         : 1000.000
cache size      : 512 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext
3dnow up rep_good nopl pni lahf_lm
bogomips        : 2002.51
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39573

Reply via email to