Attempting to build on Debian testing which has just been updated, I get
the build failure as below. This Ubuntu bug seems to be relevant suggesting the gold linker is a problem, can this be disabled somehow? https://www.mail-archive.com/ubuntu-sdk-bugs@.../msg07489.html Andrew [ 2%] Linking CXX executable kxmlkipicmd /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start' /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `_edata' /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `_end' /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start' /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start' /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_edata' /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_edata' /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_end' /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_end' //usr/lib/x86_64-linux-gnu/libQt5Network.so.5:(*IND*+0x0): multiple definition of `_edata' //usr/lib/x86_64-linux-gnu/libQt5Network.so.5:(*IND*+0x0): multiple definition of `__bss_start' //usr/lib/x86_64-linux-gnu/libQt5Network.so.5:(*IND*+0x0): multiple definition of `_end' collect2: error: ld returned 1 exit status extra/libkipi/tests/CMakeFiles/kxmlkipicmd.dir/build.make:384: recipe for target 'extra/libkipi/tests/kxmlkipicmd' failed make[2]: *** [extra/libkipi/tests/kxmlkipicmd] Error 1 CMakeFiles/Makefile2:1180: recipe for target 'extra/libkipi/tests/CMakeFiles/kxmlkipicmd.dir/all' failed make[1]: *** [extra/libkipi/tests/CMakeFiles/kxmlkipicmd.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 |
This is not a compilation issue, it's a linking problem. Perhaps you need to clean up your cmake cache and reconfigure. Note : Using -DBUILD_TESTING=OFF will disable kxmlkipicmd compilation. It's a test tool. Gilles Caulier 2017-01-22 14:35 GMT+01:00 Andrew Goodbody <[hidden email]>: Attempting to build on Debian testing which has just been updated, I get the build failure as below. This Ubuntu bug seems to be relevant suggesting the gold linker is a problem, can this be disabled somehow? |
In reply to this post by Andrew Goodbody
Sorry, no gold is not the problem, I don't have gold installed.
Any ideas on what the cause could actually be? Andrew On 22/01/17 13:35, Andrew Goodbody wrote: > Attempting to build on Debian testing which has just been updated, I get > the build failure as below. This Ubuntu bug seems to be relevant > suggesting the gold linker is a problem, can this be disabled somehow? > > https://www.mail-archive.com/ubuntu-sdk-bugs@.../msg07489.html > > > Andrew > > [ 2%] Linking CXX executable kxmlkipicmd > /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple > definition of `__bss_start' > /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple > definition of `_edata' > /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple > definition of `_end' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `__bss_start' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `__bss_start' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `_edata' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `_edata' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `_end' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `_end' > //usr/lib/x86_64-linux-gnu/libQt5Network.so.5:(*IND*+0x0): multiple > definition of `_edata' > //usr/lib/x86_64-linux-gnu/libQt5Network.so.5:(*IND*+0x0): multiple > definition of `__bss_start' > //usr/lib/x86_64-linux-gnu/libQt5Network.so.5:(*IND*+0x0): multiple > definition of `_end' > collect2: error: ld returned 1 exit status > extra/libkipi/tests/CMakeFiles/kxmlkipicmd.dir/build.make:384: recipe > for target 'extra/libkipi/tests/kxmlkipicmd' failed > make[2]: *** [extra/libkipi/tests/kxmlkipicmd] Error 1 > CMakeFiles/Makefile2:1180: recipe for target > 'extra/libkipi/tests/CMakeFiles/kxmlkipicmd.dir/all' failed > make[1]: *** [extra/libkipi/tests/CMakeFiles/kxmlkipicmd.dir/all] Error 2 > Makefile:138: recipe for target 'all' failed > make: *** [all] Error 2 > |
Multiple Qt5 version installed in parallel ? Gilles Caulier 2017-01-22 14:44 GMT+01:00 Andrew Goodbody <[hidden email]>: Sorry, no gold is not the problem, I don't have gold installed. |
No, it's all 5.7.1 and I tried deleting the build directory first.
Disabling the tests seems to be a workaround for me. Thanks, Andrew On 22/01/17 13:51, Gilles Caulier wrote: > Multiple Qt5 version installed in parallel ? > > Gilles Caulier > > 2017-01-22 14:44 GMT+01:00 Andrew Goodbody <[hidden email] > <mailto:[hidden email]>>: > > Sorry, no gold is not the problem, I don't have gold installed. > > Any ideas on what the cause could actually be? > > Andrew > > > On 22/01/17 13:35, Andrew Goodbody wrote: > > Attempting to build on Debian testing which has just been > updated, I get > the build failure as below. This Ubuntu bug seems to be relevant > suggesting the gold linker is a problem, can this be disabled > somehow? > > https://www.mail-archive.com/ubuntu-sdk-bugs@.../msg07489.html > <https://www.mail-archive.com/ubuntu-sdk-bugs@.../msg07489.html> > > > Andrew > > [ 2%] Linking CXX executable kxmlkipicmd > /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple > definition of `__bss_start' > /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple > definition of `_edata' > /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple > definition of `_end' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `__bss_start' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `__bss_start' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `_edata' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `_edata' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `_end' > /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1:(*IND*+0x0): multiple > definition of `_end' > //usr/lib/x86_64-linux-gnu/libQt5Network.so.5:(*IND*+0x0): multiple > definition of `_edata' > //usr/lib/x86_64-linux-gnu/libQt5Network.so.5:(*IND*+0x0): multiple > definition of `__bss_start' > //usr/lib/x86_64-linux-gnu/libQt5Network.so.5:(*IND*+0x0): multiple > definition of `_end' > collect2: error: ld returned 1 exit status > extra/libkipi/tests/CMakeFiles/kxmlkipicmd.dir/build.make:384: > recipe > for target 'extra/libkipi/tests/kxmlkipicmd' failed > make[2]: *** [extra/libkipi/tests/kxmlkipicmd] Error 1 > CMakeFiles/Makefile2:1180: recipe for target > 'extra/libkipi/tests/CMakeFiles/kxmlkipicmd.dir/all' failed > make[1]: *** > [extra/libkipi/tests/CMakeFiles/kxmlkipicmd.dir/all] Error 2 > Makefile:138: recipe for target 'all' failed > make: *** [all] Error 2 > > |
Free forum by Nabble | Edit this page |