I'm on clang 7.0.1-rc2 and a freshly-cloned qt 5.12.0 ; it does the same on
centos 7 and archlinux.


Best


On Thu, Nov 29, 2018 at 3:28 PM Jean-Michaël Celerier <
[email protected]> wrote:

> Here's my stacktrace (finally had some time to do a rebuild)
>
> #0  QString::QString (this=0x23dda0, other=...) at
> ../../../include/QtCore/../../../../qt5/qtbase/src/corelib/tools/qstring.h:958
> #1  QLinkedListNode<QString>::QLinkedListNode (this=0x23dd90, arg=...) at
> ../../../include/QtCore/../../../../qt5/qtbase/src/corelib/tools/qlinkedlist.h:71
> #2  QLinkedList<QString>::detach_helper2 (this=0x7fffffffdad8, orgite=...)
> at
> ../../../include/QtCore/../../../../qt5/qtbase/src/corelib/tools/qlinkedlist.h:303
> #3  0x00000000002153ad in QLinkedList<QString>::detach (this=0x23dd90) at
> ../../../include/QtCore/../../../../qt5/qtbase/src/corelib/tools/qlinkedlist.h:106
> #4  QLinkedList<QString>::end (this=0x23dd90) at
> ../../../include/QtCore/../../../../qt5/qtbase/src/corelib/tools/qlinkedlist.h:209
> #5  Grammar::Grammar (this=<optimized out>) at
> /opt/build-sdk/qt5/qtbase/src/tools/qlalr/lalr.cpp:188
> #6  main (argc=4, argv=<optimized out>) at
> /opt/build-sdk/qt5/qtbase/src/tools/qlalr/main.cpp:103
>
> I've only glanced quickly (read, less than 15 seconds) at the code but I
> don't understand how it can work in any reasonable fashion: it seems that
> it tries to construct a string (`QString Grammar::start` ) with the `end()`
> of a container in lalr.cpp:188. But since it works in so many other
> configurations I must be missing something somewhere.
>
> Best,
>
> -------
> Jean-Michaël Celerier
> http://www.jcelerier.name
>
>
> On Fri, Nov 9, 2018 at 10:01 AM René J. V. Bertin <[email protected]>
> wrote:
>
>> Sérgio Martins wrote:
>>
>> > FWIW, I just tried -flto with clang-7.0 and gold-1.16 and can't
>> > reproduce QTBUG-43556 anymore.
>>
>> Good to know, I use the "regular" ld v2.3.0 (~gold for other reasons I
>> cannot
>> really remember).
>>
>> In the FWIW register: does clang 7 continue the trend of being noticeably
>> slower
>> that its predecessor (about 15% for clang 6)?
>>
>> R.
>>
>> _______________________________________________
>> Interest mailing list
>> [email protected]
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to