[Interest] Qt 4.8.6 static UB failing due to "global weak symbol vtable"

Bob Hood bhood2 at comcast.net
Wed Jun 11 23:59:16 CEST 2014


On 6/11/2014 7:39 AM, Thiago Macieira wrote:
> Em ter 10 jun 2014, às 17:48:58, Bob Hood escreveu:
>> Google isn't turning up much that is helpful.  I've tried various
>> combinations of the "visibility" flags, as that's about all that's turning
>> up, and it isn't helping.
>>
>> Any suggestions, insights, or perhaps is there a configure flag to disable
>> building Assistant (and any other part of the system that will give me this
>> problem)?
> Try using Clang. Your problem looks like a compiler bug.


Unfortunately, that produced a similar error:

...
ld: warning: directory not found for option
'-L/usr/local/qt/4.8.6/macx_static/plugins/sqldrivers'
ld: warning: directory not found for option
'-L/usr/local/qt/4.8.6/macx_static/plugins/sqldrivers'
ld: bad codegen, pointer diff in __GLOBAL__I_a to global weak symbol
__ZN7QStringD1Ev for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
...

I'll just go with '-nomake tools' I guess.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140611/b2a4f479/attachment.html>


More information about the Interest mailing list