summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-03-17 14:06:43 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-25 00:00:23 +0100
commit225a5b4787b3a04fd32958dba3e479761efc0623 (patch)
treea707c77b25c76724fd40aa5d2bb4c7577003ba86
parentcd8e11ed416035763dc25a25a71291d10976943a (diff)
Do not use -Bsymbolic* on anything but x86 and x86-64
We're getting problems with PMF comparisons failing on ARM and PPC, which in turn break the new PMF-based connect syntax. Dropping -Bsymbolic* seems to work around the issue (which has been reported upstream, and it's likely to be a linker issue, see the discussion in the bug report). Task-number: QTBUG-36129 Change-Id: I8675a57acf26fdb9fbbc4d03896d5f6a9a96d506 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rwxr-xr-xconfig.tests/unix/bsymbolic_functions.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.tests/unix/bsymbolic_functions.test b/config.tests/unix/bsymbolic_functions.test
index d495e56bef..4d66ee6de0 100755
--- a/config.tests/unix/bsymbolic_functions.test
+++ b/config.tests/unix/bsymbolic_functions.test
@@ -6,6 +6,10 @@ VERBOSE=$2
cat >>bsymbolic_functions.c << EOF
+#if !(defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) || defined(__amd64))
+#error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
+#endif
+
int main() { return 0; }
EOF