From f03f8c15472f88e6b66cdedda67edf15cb56f221 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 4 Jan 2019 13:38:27 +0100 Subject: [PATCH] sample instructions for using the gold linker added --- qskconfig.pri | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qskconfig.pri b/qskconfig.pri index f78c0c49..a3b4a595 100644 --- a/qskconfig.pri +++ b/qskconfig.pri @@ -92,6 +92,13 @@ linux-g++ | linux-g++-64 { # QMAKE_CXXFLAGS_RELEASE *= -Ofast # QMAKE_CXXFLAGS_RELEASE *= -Os + + # Some versions ( here 2.31.1 ) of the BFD linker may generate shared + # libraries with corrupt symbol version info which leads to + # "invalid version 21" errors when the corrupt shared library is used. + # One possible workaround is to use the gold linker instead. + + # QMAKE_LFLAGS *= -Wl,-fuse-ld=gold } pedantic {