[Development] Qt 5.6.0-rc build issues on CentOS 6.7 x86_64 with g++

Walter Stefan Stefan.Walter at lisec.com
Fri Mar 4 08:43:12 CET 2016


Dear Thiago,

It seems to me that 5.6.0 is far from ready to be released.

The workaround mentioned by you is not clear to me. It sounds like a lot of work and tweaking, or correct me if I am wrong.

As Qt 5.6.0 got announced as long time release, we really would like to bring all our systems to that version.

Regards,
Stefan
________________________________________
Von: Development <development-bounces+stefan.walter=lisec.com at qt-project.org> im Auftrag von Thiago Macieira <thiago.macieira at intel.com>
Gesendet: Freitag, 04. März 2016 11:27
An: development at qt-project.org
Betreff: Re: [Development] Qt 5.6.0-rc build issues on CentOS 6.7 x86_64        with g++

On sexta-feira, 4 de março de 2016 07:07:00 PST Walter Stefan wrote:
> I have done a clean build.
>
> Where can we address this issue?

I've managed to reproduce this issue now. It only happens with the old bfd
linker (ld.bfd). Gold appears unaffected.

Workaround: do not use the convenience qt-everywhere-* tarball. Build each
module independently.

Ossi: have there been changes to rpath or rpath-link handling recently? We
need to bring it back.

The command-line for linking the example was:

g++ -Wl,-O1 -fuse-ld=bfd -Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,\
$ORIGIN/../../../lib -o annotatedurl .obj/main.o .obj/mainwindow.o .obj/
annotatedurl.o .obj/moc_mainwindow.o .obj/moc_annotatedurl.o -L/tmp/qt-build/
qtbase/lib -lQt5Widgets.t -lQt5Gui.t -L/tmp/qt-build/qtconnectivity/lib -
lQt5Nfc.t -lQt5Core.t -lGL -lpthread

Every Qt module path in an -L option needs to be repeated with -Wl,-rpath-
link,

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development




More information about the Development mailing list