This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/39573] linking fails when optimizations are enabled



------- Comment #2 from fpbeekhof at gmail dot com  2009-04-04 16:57 -------
The problem is the "-march=native" option. If I remove that, all is fine even
on AMD machines.

$ make CNF=gcc BACKEND=gsl
scons -j 2 CNF=gcc MODE= BACKEND=gsl CVMLCPP_PREFIX=/user/l1/beekhof/
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o main.o -c -pipe -I. -Wall -O3 -funroll-loops -fopenmp -ftree-vectorize
-DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ main.cpp
g++ -o tinystr.o -c -pipe -I. -Wall -O3 -funroll-loops -fopenmp
-ftree-vectorize -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinystr.cpp
g++ -o tinyxml.o -c -pipe -I. -Wall -O3 -funroll-loops -fopenmp
-ftree-vectorize -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/ tinyxml.cpp
g++ -o tinyxmlerror.o -c -pipe -I. -Wall -O3 -funroll-loops -fopenmp
-ftree-vectorize -DNDEBUG -DUSE_GSL -I/user/l1/beekhof//include/
tinyxmlerror.cpp
g++ -o tinyxmlparser.o -c -pipe -I. -Wall -O3 -funroll-loops -fopenmp
-ftree-vectorize -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.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]