On Thu, Apr 04, 2013 at 03:07:53PM +0200, Roland Kaufmann wrote: > On 2013-04-04 10:22, Roland Kaufmann wrote: > >> Debug builds are the default when building from source. > > On 2013-04-04 14:37, Markus Blatt wrote: > >Digging through configure I found the --disable-debug flag that > >results in CXXFLAGS="-O3 -DNDEBUG". > > >I have no idea what is wrong here. Suspects are these options: -mtune > >and -flto . > > I don't think it is -mtune because that only selects the host > architecture as the one o optimize for. I rather suspect that it is > -flto. If you have a version of GCC < 4.7 it may be too eager to > discard segments. >
No I use the one that comes with Debian wheezy > > Try comment out line 23 in cmake/Modules/UseOptimization.cmake and > report whether that works. Indeed, this fixed the linking problem. Markus -- Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany, USt-Id: DE279960836 Tel.: +49 (0) 160 97590858 Fax: +49 (0)322 1108991658 Please notice the new address! _______________________________________________ Opm mailing list [email protected] http://www.opm-project.org/mailman/listinfo/opm
