------- Comment #11 from fpbeekhof at gmail dot com 2009-04-04 19:50 ------- No problem. I did a few more tests...
In short, it's the combination of -fopenmp and -march=native that makes fail on AMD64. Note: To test without openMP you can't use the preprocessed source. # openmp and march=native --> FAIL $ make clean; make CNF=gcc BACKEND=gsl .... g++ -o tinystr.o -c -pipe -I. -Wall -fopenmp -march=native -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinystr.cpp g++ -o main.o -c -pipe -I. -Wall -fopenmp -march=native -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ main.cpp g++ -o tinyxml.o -c -pipe -I. -Wall -fopenmp -march=native -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinyxml.cpp g++ -o tinyxmlerror.o -c -pipe -I. -Wall -fopenmp -march=native -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinyxmlerror.cpp g++ -o tinyxmlparser.o -c -pipe -I. -Wall -fopenmp -march=native -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinyxmlparser.cpp g++ -o shapes -fopenmp -DUSE_GSL -L/user/l1/beekhof//lib/ tinystr.o tinyxml.o tinyxmlerror.o tinyxmlparser.o main.o -lcvmlcpp -lz -lboost_iostreams -lgsl -lgslcblas main.o: In function `_ZN7cvmlcpp25extractSurfaceFromAdapterIN6shapes20ShapeSurfaceAdaptor_IdEEdEEvRKT_RNS_8GeometryIT0_EEd.omp_fn.9': main.cpp:(.text+0x11cc): undefined reference to `_ZN7cvmlcpp25extractSurfaceFromAdapterIN6shapes20ShapeSurfaceAdaptor_IdEEdEEvRKT_RNS_8GeometryIT0_EEd.omp_fn.9::C.467' collect2: ld returned 1 exit status scons: *** [shapes] Error 1 scons: building terminated because of errors. make: *** [compile] Error 2 # No march=native --> FINE $ make clean; make CNF=gcc BACKEND=gsl .... g++ -o tinystr.o -c -pipe -I. -Wall -fopenmp -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinystr.cpp g++ -o main.o -c -pipe -I. -Wall -fopenmp -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ main.cpp g++ -o tinyxml.o -c -pipe -I. -Wall -fopenmp -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinyxml.cpp g++ -o tinyxmlerror.o -c -pipe -I. -Wall -fopenmp -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinyxmlerror.cpp g++ -o tinyxmlparser.o -c -pipe -I. -Wall -fopenmp -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinyxmlparser.cpp g++ -o shapes -fopenmp -DUSE_GSL -L/user/l1/beekhof//lib/ tinystr.o tinyxml.o tinyxmlerror.o tinyxmlparser.o main.o -lcvmlcpp -lz -lboost_iostreams -lgsl -lgslcblas scons: done building targets. # No openmp --> FINE $ make clean; make CNF=gcc BACKEND=gsl .... g++ -o main.o -c -pipe -I. -Wall -march=native -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ main.cpp g++ -o tinystr.o -c -pipe -I. -Wall -march=native -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinystr.cpp g++ -o tinyxml.o -c -pipe -I. -Wall -march=native -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinyxml.cpp g++ -o tinyxmlerror.o -c -pipe -I. -Wall -march=native -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinyxmlerror.cpp g++ -o tinyxmlparser.o -c -pipe -I. -Wall -march=native -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinyxmlparser.cpp g++ -o shapes -DUSE_GSL -L/user/l1/beekhof//lib/ tinystr.o tinyxml.o tinyxmlerror.o tinyxmlparser.o main.o -lcvmlcpp -lz -lboost_iostreams -lgsl -lgslcblas scons: done building targets. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39573