Package: src:opal
Version: 3.10.10~dfsg-2.2
Severity: important
OPAL is currently compiled without any optimization due to a combination
of 2 bugs:
1. configure.ac overwrites the default CFLAGS/CXXFLAGS that are set
to "-g -O2" by autoconf when these variables aren't set in the
environment and
2. the Debian build does not seem to pass CFLAGS/CXXFLAGS to configure
The result is that OPAL is:
- bigger than it should be,
- the code is much slower than it should be and
- the debug information in libopal-dbg is incomplete (no -g in the build)
Attached patch fixes 1., I haven't looked into how 2. could/should be fixed.
--- opal-3.10.10~dfsg.orig/configure.ac
+++ opal-3.10.10~dfsg/configure.ac
@@ -13,13 +13,6 @@ fi
m4_include(opal.m4)
-dnl Prevent CFLAGS and CXXFLAGS from being overwritten if undefined
-if test "x${CXXFLAGS}" = "x" ; then
- CXXFLAGS=
-fi
-if test "x${CFLAGS}" = "x" ; then
- CFLAGS=
-fi
AC_PROG_CXX
AC_PROG_CC
AC_PROG_INSTALL