[Qt-creator] Build Error: unrecognized relocation (0x2a) in section `.text._ZN5clang7tooling19CompilationDatabaseD2Ev'

Armstrong, Levi H. levi.armstrong at swri.org
Fri Oct 20 22:32:15 CEST 2017


Hello,

I am trying to build Qt Creator 4.4.1 on trusty using g++-4.9 and I am receiving the compiler error below for amd64 and i386 but builds fine on arm64 and armhf. I tried several things (Changing compiler and other option provide in a google search) and I have been unsuccessful at resolving this issue. The issue only occurs if I include the build of the clang code model (LLVM_INSTALL_DIR=/usr/lib/llvm-3.9).

Regards,

Levi

Build Log:
https://launchpadlibrarian.net/341828881/buildlog_ubuntu-trusty-amd64.qt59creator_4.4.1-1trusty48_BUILDING.txt.gz

Error:
/usr/bin/ld: /usr/lib/llvm-3.9/lib/libclangTooling.a(CompilationDatabase.cpp.o): unrecognized relocation (0x2a) in section `.text._ZN5clang7tooling19CompilationDatabaseD2Ev'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status


[cid:image002.png at 01D349B7.E6029C90]<http://www.swri.org/>

[cid:image004.jpg at 01D349B7.E6029C90]<https://www.linkedin.com/company/southwest-research-institute> [cid:image006.jpg at 01D349B7.E6029C90] <https://www.facebook.com/southwestresearch>
[cid:image008.jpg at 01D349B7.E6029C90]<https://www.youtube.com/user/SwRItv> [cid:image010.jpg at 01D349B7.E6029C90] <https://twitter.com/swri>

Levi H. Armstrong
Senior Research Engineer, Robotics and Automation Engineering
Southwest Research Institute
6220 Culebra Road
San Antonio, Texas 78238-5166
O: (210) 522-3801
M: (281) 299-8428
Levi.Armstrong at swri.org<mailto:Levi.Armstrong at swri.org>
robotics.swri.org
swri.org<http://www.swri.org/>

Advanced science. Applied technology.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20171020/9fe04ee0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 16036 bytes
Desc: image002.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20171020/9fe04ee0/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 854 bytes
Desc: image004.jpg
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20171020/9fe04ee0/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 770 bytes
Desc: image006.jpg
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20171020/9fe04ee0/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 825 bytes
Desc: image008.jpg
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20171020/9fe04ee0/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.jpg
Type: image/jpeg
Size: 807 bytes
Desc: image010.jpg
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20171020/9fe04ee0/attachment-0003.jpg>


More information about the Qt-creator mailing list