On 20.08.2017 23:37, Dmitry Shachnev wrote: > Hi, > > On Fri, Aug 18, 2017 at 10:07:03AM -0300, Lisandro Damián Nicanor Pérez Meyer > wrote: >> FWIW: we are currently waiting for a reply on >> >> <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852035#37> >> >> Ideally the binutils bug should be fixed because it hits other stuff too, >> but >> we have an untested workaround: switching Qt back to bfd. > > First, a small note on the bug Lisandro linked above. It happens when one or > more Qt libraries are built with gold (usually from qtbase, but sometimes > also from other modules) and an applicaton is using bfd. Then the application > will fail to build. Applications using qmake use the same linker as qtbase, > so it happens for applications using other build systems such as cmake. > Examples of such applications are kphotoalbum and italc. > > With blessing from Lisandro and from the binutils maintainer, I made a qtbase > upload today that switches build of all Qt modules from gold to bfd. > > And now I want to ask for some buildd related stuff to finalize this change: > > 1) Please binNMU qtx11extras-opensource-src and qtsvg-opensource-src on all > release architectures except i386 and s390x, with extra build-dep on > qtbase5-dev >= 5.9.1+dfsg-9. (On i386 and s390x gold was not used.) > > This is specifically to fix kphotoalbum. Other Qt modules may be or not > be affected by this bug. If we discover that some are, we will have to ask > for binNMUs for them too. > > 2) Please give back qtwebengine-opensource-src on arm64 (again with extra > build-dep on qtbase5-dev >= 5.9.1+dfsg-9 to be safe). The failure was > caused by gold bug #869768, it won’t use gold when built with new qtbase. > > After that is done and things settle, we will be ready for starting the > binNMUs for the actual transition.
thanks for doing that. I realize that there are compatibility issues between the BFD and the gold linker, so I recommend to build with the BFD linker by default. On theother hand I'd like to see a reduced test case which shows how to build things using a mixed BFD/gold linker. Thanks, Matthias

