Bug#624349: libmpich2-dev: Activates debugging compiler option -g
Ansgar Burchardt
ansgar at debian.org
Tue Jul 7 09:11:18 UTC 2015
Control: reopen -1
Control: found -1 3.1-5+b2
Control: fixed -1 1.4~rc2-2
It looks like there was a regression and mpich started to pass compiler
options via mpicxx.mpich again:
$ mpicxx.mpich -show
g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -I/usr/include/mpich -L/usr/lib/x86_64-linux-gnu -lmpichcxx -lmpich -lopa -lmpl -lrt -lcr -lpthread
Flags like -g, -O2, -fstack-protector-strong, -Wformat,
-Werror=format-security and -Wl,-z,relro should not be passed to
programs compiled with mpi*.mpich; doing so might break building with
different compilers that do not understand the same set of flags as used
to build the Debian package. See also [1].
Ansgar
[1] <http://lists.dune-project.org/pipermail/dune-devel/2015-July/001459.html>
More information about the debian-science-maintainers
mailing list