Your message dated Thu, 03 Jan 2019 15:34:47 +0000
with message-id <[email protected]>
and subject line Bug#918060: fixed in iwyu 7.0-3
has caused the Debian Bug report #918060,
regarding iwyu FTBFS on armel: undefined reference to symbol 
'__atomic_load_4@@LIBATOMIC_1.0'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
918060: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918060
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: iwyu
Version: 7.0-1
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/fetch.php?pkg=iwyu&arch=armel&ver=7.0-2&stamp=1545913678&raw=0

...
/usr/bin/c++   -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 
-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-7/lib" 
-lpthread /usr/lib/llvm-7/lib/libclangBasic.a /usr/lib/llvm-7/lib/libclangLex.a 
/usr/lib/llvm-7/lib/libclangAST.a /usr/lib/llvm-7/lib/libclangSema.a 
/usr/lib/llvm-7/lib/libclangFrontend.a /usr/lib/llvm-7/lib/libclangDriver.a 
/usr/lib/llvm-7/lib/libclangParse.a /usr/lib/llvm-7/lib/libclangSerialization.a 
/usr/lib/llvm-7/lib/libclangSema.a /usr/lib/llvm-7/lib/libclangAnalysis.a 
/usr/lib/llvm-7/lib/libclangEdit.a /usr/lib/llvm-7/lib/libclangAST.a 
/usr/lib/llvm-7/lib/libclangLex.a /usr/lib/llvm-7/lib/libclangBasic.a 
/usr/lib/llvm-7/lib/libLLVM-7.so.1 
/usr/bin/ld: 
/usr/lib/llvm-7/lib/libclangFrontend.a(SerializedDiagnosticReader.cpp.o): 
undefined reference to symbol '__atomic_load_4@@LIBATOMIC_1.0'
/usr/bin/ld: //usr/lib/arm-linux-gnueabi/libatomic.so.1: error adding symbols: 
DSO missing from command line
collect2: error: ld returned 1 exit status
make[4]: *** [CMakeFiles/include-what-you-use.dir/build.make:282: 
bin/include-what-you-use] Error 1


Fix:

--- debian/rules.old    2019-01-02 21:28:52.105189952 +0000
+++ debian/rules        2019-01-02 21:29:17.129189713 +0000
@@ -13,6 +13,10 @@
        ADDITIONAL_CXX_FLAGS += -mxgot
 endif
 
+ifneq (,$(filter $(DEB_HOST_ARCH), armel))
+       export DEB_LDFLAGS_MAINT_APPEND = -latomic
+endif
+
 %:
        dh $@ --buildsystem=cmake --builddirectory=$(TARGET_BUILD)
 

--- End Message ---
--- Begin Message ---
Source: iwyu
Source-Version: 7.0-3

We believe that the bug you reported is fixed in the latest version of
iwyu, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <[email protected]> (supplier of updated iwyu package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 03 Jan 2019 16:01:39 +0100
Source: iwyu
Binary: iwyu
Architecture: source
Version: 7.0-3
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <[email protected]>
Changed-By: Sylvestre Ledru <[email protected]>
Description:
 iwyu       - Analyze #includes in C and C++ source files
Closes: 918060
Changes:
 iwyu (7.0-3) unstable; urgency=medium
 .
   * Link against latomic on armhf to workaround a FTBFS
     Thanks to Adrian Bunk (Closes: #918060)
Checksums-Sha1:
 9db0d481a86b9af05a56c272208fb4cb5ed0bc75 1986 iwyu_7.0-3.dsc
 93181077cabcfa726981d4c367a7b99f5b844e84 5496 iwyu_7.0-3.debian.tar.xz
 54bcb1641b6bd59e9a37017316a969e7269bf5f7 7014 iwyu_7.0-3_amd64.buildinfo
Checksums-Sha256:
 a7bb0e5340dacd928523cb35a9e0e9726f86e654c62c130820f65ad8bee9b114 1986 
iwyu_7.0-3.dsc
 da0b0088f7fe74853a2d38c54cbf14eed44d68cd29e766f72f18177a45ca1c5a 5496 
iwyu_7.0-3.debian.tar.xz
 2db9a18969a1b1da5798861bd7ad0d92dd38a18c434ca682cec0a92bc3cf4c62 7014 
iwyu_7.0-3_amd64.buildinfo
Files:
 93f284e557210232031228429103c1b6 1986 devel optional iwyu_7.0-3.dsc
 707ee45182ed379e660e8836cc3f0be6 5496 devel optional iwyu_7.0-3.debian.tar.xz
 3494fe08929143048ae93e025e7c9e14 7014 devel optional iwyu_7.0-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAlwuJqcACgkQfmUo2nUv
G+EamQ/+IFF8U+xJr/XTbWr+OYmcMxVLeFyQlePwR94q2mxuY6XolSGwl74mXm30
DCZUgJElx45OVQ7ZX5MUas0irBsQtipRu5uYQ3XNH4lLgEfVFupKlOByVLOFYF4+
6tBPI2UBm8Ps/Q2qeZzpEhH8pf2s6A6l85wwTc42GOL4x1rGxUMuLAd4uKZBFbIS
ifc2sjj96S5uVukI3R6KYD+QBv9I23SmxfVMSKS3CLubwrt4mgGWQCGKmoaIwLRx
vUElD05n+JaUPbhzNzwvBpcVast89WNSXRFjiFN9CGPTt0n3oWhMqsNluZCuNmUM
/vQ/phFPNGW9QiA6Xi7OQMIh/Oc0YobQLGywHkLJyt2jkTKvcvZnoHdRPu15NKm3
QRd8WLOstePxIDDITnIABipXtv3ts4UTpVvak8kiOq5v45LlPJiOh3KlHUnrsOFX
bhmwZevVnwZMzRGb6kEVsWYtc54SIJnrq0jv/4VAQWWeUe2z/jpzsGqButSHK3k2
A7OCGicElgYfH102Lugf8xbhMnbaQ1eTzVOz3pNOmvKO5UwsVpwht3mzT7ajQVAE
7FYhqQ9bQjkVOmZTxYtryQc9bq5ewOID7WKODy35OuxtjKRcTy5lgxRtC5Rm7QBu
n4dlh8ENgTyOxbV+VwxC2+Hn+t2vI0zr4IggQ62OgOFOvBasMr0=
=vkSl
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to