Anton, On Fri, Oct 11, 2013 at 9:00 PM, Anton Gladky <gl...@debian.org> wrote: [...] >> /usr/bin/c++ -Dyade_EXPORTS -g -O2 -fstack-protector >> --param=ssp-buffer-size=4 -Wformat -Werror=format-security >> -D_FORTIFY_SOURCE=2 -DYADE_PTR_CAST=static_pointer_cast >> -DYADE_CAST=static_cast -fPIC -DYADE_VTK -DYADE_OPENMP -fopenmp -DYADE_GTS >> -DQGLVIEWER_FOUND -DYADE_OPENGL -frounding-math -DYADE_CGAL -DFLOW_ENGINE >> -frounding-math -DLINSOLV -DFLOW_ENGINE -DYADE_GL2PS -O3 -DNDEBUG -fPIC -
You are using cmake in Release mode, which is bad IMHO. So having -O2 and -O3 (in that order) compiles code in -O3, which is way too much AFAIK. Ref: http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html ... If you use multiple -O options, with or without level numbers, the last such option is the one that is effective. ... See also here why CMAKE_BUILD_TYPE should be required to be set to "" on debian: http://bugs.debian.org/701231#12 2cts -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+7wusy6fvgftrnz-o5s092ocodvddhmc-p5p51-_gtxng4...@mail.gmail.com