tags 560104 patch
thanks
I don't know what the real problem is here (incorrect code? compiler
bug?), but it can be worked around by compiling with -O1 instead of
-O2. Maybe it is possible to find one specific optimization that leads
to failure and turn it off. Patch from Ubuntu attached.
Description: reduce optimization level to -O1 as a workaround for linking
failure
Author: Ilya Barygin <bary...@gmail.com>
Bug-Debian: http://bugs.debian.org/560104
--- a/sofa-default.cfg
+++ b/sofa-default.cfg
@@ -110,6 +110,7 @@
# Choose if you want to compile the debug or release version
#CONFIG = debug
CONFIG = release
+QMAKE_CXXFLAGS_RELEASE += -O1
QMAKE_CXXFLAGS += -W
QMAKE_CFLAGS += -W