Debian Bug report logs - #981888
iwyu FTBFS on mipsel: Linking CXX executable bin/include-what-you-use fails

version graph

Package: src:iwyu; Maintainer for src:iwyu is LLVM Packaging Team <[email protected]>;

Reported by: Paul Gevers <[email protected]>

Date: Thu, 4 Feb 2021 20:06:01 UTC

Severity: important

Tags: ftbfs

Found in version iwyu/8.15-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], LLVM Packaging Team <[email protected]>:
Bug#981888; Package src:iwyu. (Thu, 04 Feb 2021 20:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Paul Gevers <[email protected]>:
New Bug report received and forwarded. Copy sent to LLVM Packaging Team <[email protected]>. (Thu, 04 Feb 2021 20:06:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Paul Gevers <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: iwyu FTBFS on mipsel: Linking CXX executable bin/include-what-you-use fails
Date: Thu, 4 Feb 2021 21:03:51 +0100
[Message part 1 (text/plain, inline)]
Source: iwyu
Version: 8.15-2
Severity: serious
Tags: ftbfs

Hi,

iwyu FTBFS on mispel.

https://buildd.debian.org/status/fetch.php?pkg=iwyu&arch=mipsel&ver=8.15-2&stamp=1612343226&raw=0

Maybe the relevant part is this:

[100%] Linking CXX executable bin/include-what-you-use
/usr/bin/cmake -E cmake_link_script
CMakeFiles/include-what-you-use.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC -fno-shrink-wrap -fvisibility-inlines-hidden
-Werror=date-time -w -ffunction-sections -fdata-sections -Wl,-z,relro
-Wl,-rpath-link,  -Wl,-O3 -Wl,--gc-sections
CMakeFiles/include-what-you-use.dir/iwyu.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o
CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o -o
bin/include-what-you-use
-Wl,-rpath,"\$ORIGIN/../lib:/usr/lib/llvm-11/lib" -lpthread
/usr/lib/llvm-11/lib/libclang-cpp.so.11
/usr/lib/llvm-11/lib/libLLVM-11.so.1
CMakeFiles/include-what-you-use.dir/iwyu.cc.o: in function
`std::char_traits<char>::compare(char const*, char const*, unsigned int)':
iwyu.cc:(.text._ZNSt11char_traitsIcE7compareEPKcS2_j[_ZNSt11char_traitsIcE7compareEPKcS2_j]+0x50):
relocation truncated to fit: R_MIPS_CALL16 against `memcmp@@GLIBC_2.0'
CMakeFiles/include-what-you-use.dir/iwyu.cc.o: in function
`std::__cxx11::to_string(int)':
iwyu.cc:(.text._ZNSt7__cxx119to_stringEi[_ZNSt7__cxx119to_stringEi]+0x90):
relocation truncated to fit: R_MIPS_CALL16 against
`std::allocator<char>::allocator()@@GLIBCXX_3.4'
iwyu.cc:(.text._ZNSt7__cxx119to_stringEi[_ZNSt7__cxx119to_stringEi]+0xb8):
relocation truncated to fit: R_MIPS_CALL16 against
`std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(unsigned int, char,
std::allocator<char> const&)@@GLIBCXX_3.4.21'
iwyu.cc:(.text._ZNSt7__cxx119to_stringEi[_ZNSt7__cxx119to_stringEi]+0xd4):
relocation truncated to fit: R_MIPS_CALL16 against
`std::allocator<char>::~allocator()@@GLIBCXX_3.4'
iwyu.cc:(.text._ZNSt7__cxx119to_stringEi[_ZNSt7__cxx119to_stringEi]+0xf4):
relocation truncated to fit: R_MIPS_CALL16 against
`std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >::operator[](unsigned int)@@GLIBCXX_3.4.21'
CMakeFiles/include-what-you-use.dir/iwyu.cc.o: in function
`llvm::alignTo(unsigned long long, unsigned long long, unsigned long long)':
iwyu.cc:(.text._ZN4llvm7alignToEyyy[_ZN4llvm7alignToEyyy]+0x60):
relocation truncated to fit: R_MIPS_CALL16 against
`__assert_fail@@GLIBC_2.0'
iwyu.cc:(.text._ZN4llvm7alignToEyyy[_ZN4llvm7alignToEyyy]+0x78):
relocation truncated to fit: R_MIPS_CALL16 against `__umoddi3@@GLIBC_2.0'
iwyu.cc:(.text._ZN4llvm7alignToEyyy[_ZN4llvm7alignToEyyy]+0x118):
relocation truncated to fit: R_MIPS_CALL16 against `__udivdi3@@GLIBC_2.0'
CMakeFiles/include-what-you-use.dir/iwyu.cc.o: in function
`llvm::StringRef::strLen(char const*)':
iwyu.cc:(.text._ZN4llvm9StringRef6strLenEPKc[_ZN4llvm9StringRef6strLenEPKc]+0x28):
relocation truncated to fit: R_MIPS_CALL16 against `strlen@@GLIBC_2.0'
CMakeFiles/include-what-you-use.dir/iwyu.cc.o: in function
`llvm::StringRef::str[abi:cxx11]() const':
iwyu.cc:(.text._ZNK4llvm9StringRef3strB5cxx11Ev[_ZNK4llvm9StringRef3strB5cxx11Ev]+0x44):
relocation truncated to fit: R_MIPS_CALL16 against
`std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string()@@GLIBCXX_3.4.21'
iwyu.cc:(.text._ZNK4llvm9StringRef3strB5cxx11Ev[_ZNK4llvm9StringRef3strB5cxx11Ev]+0x78):
additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
make[4]: *** [CMakeFiles/include-what-you-use.dir/build.make:288:
bin/include-what-you-use] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/iwyu-build'
make[3]: *** [CMakeFiles/Makefile2:131:
CMakeFiles/include-what-you-use.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/iwyu-build'
make[2]: *** [Makefile:163: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/iwyu-build'
dh_auto_build: error: cd iwyu-build && make -j4 "INSTALL=install
--strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:21: build-arch] Error 2

Paul

[OpenPGP_signature (application/pgp-signature, attachment)]

Severity set to 'important' from 'serious' Request was from Adrian Bunk <[email protected]> to [email protected]. (Wed, 17 Feb 2021 00:30:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 09:37:11 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.