[Interest] building Qt 5.9 on Linux - clang or GCC?

tomek osmial.tomek at gmail.com
Wed Dec 20 22:53:53 CET 2017


Since you have started such a discussion I want to ask you if you have
tried to compile latest Qt releases with clang on linux?
I'm having some problems with I've described in more details on qt's forum:

https://forum.qt.io/topic/86052/qt-5-10-0-compile-with-clang-on-ubuntu-17-10

Hope you are tolerating links to qt's forum here.
To make long story short it looks like there might be some errors in build
scripts, but it's also possible I've done something wrong.
So if anybody has compiled latest release with clang please take a look
into this thread.

BR/
Tomek

2017-12-20 18:32 GMT+01:00 Konstantin Tokarev <annulen at yandex.ru>:

>
>
> 20.12.2017, 20:17, "René J. V. Bertin" <rjvbertin at gmail.com>:
> > Thiago Macieira wrote:
> >
> >>  A Qt release build builds with -g1 instead of -g, which should be
> sufficient
> >>  for backtraces but not for debugging.
> >
> > That's interesting, the option doesn't show up in g++ --verbose --help
> so I
> > wasn't aware it existed.
>
> With GCC, you should better read man.
> With Clang you should better read --help :)
>
> >There's also -gz I see now, which could be useful for those components for
> which I do want more complete debug info.
>
> It will increase compilation time and may cause compatiility problems
>
> > I don't know if dwz converts to that format
>
> No it doesn't
>
> > but it certainly seems effective (so thanks for the
> > tip, Konstantin!).
> >
> >>  You need a specialised stripper tool. I remember some colleagues had
> proposed
> >>  to do that for Clear Linux, but I don't know if they actually
> accomplished it.
> >>  I can ask in the new year, if you remind me.
> >
> > Great, I'll try to remember!
>
> FWIW, normal strip utility can remove data per-symbol
>
> >
> > _______________________________________________
> > Interest mailing list
> > Interest at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
>
> --
> Regards,
> Konstantin
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171220/97e44348/attachment.html>


More information about the Interest mailing list