Your message dated Thu, 13 Dec 2018 14:44:38 +0000
with message-id <e1gxsea-000dmk...@fasolo.debian.org>
and subject line Bug#914838: fixed in llvm-toolchain-7 1:7.0.1~+rc3-2
has caused the Debian Bug report #914838,
regarding llvm-7: llvm-config-7 emits unsupported compiler option
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 ow...@bugs.debian.org
immediately.)
--
914838: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914838
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: llvm-7
Version: 1:7.0.1~+rc2-7
Severity: serious
Justification: FTBFS
Affects: rustc
Hello,
Building rustc in a freshly-built sid chroot yields to:
error: failed to run custom build command for `rustc_llvm v0.0.0
(/build/rustc-1.30.0+dfsg1/src/librustc_llvm)`
process didn't exit successfully:
`/build/rustc-1.30.0+dfsg1/build/x86_64-unknown-linux-gnu/stage0-codegen/release/build/rustc_llvm-e98300cde06157a6/build-script-build`
(exit code: 101)
--- stdout
cargo:rerun-if-changed=/usr/lib/llvm-7/bin/llvm-config
cargo:rerun-if-env-changed=LLVM_CONFIG
cargo:rustc-cfg=llvm_component="aarch64"
cargo:rustc-cfg=llvm_component="amdgpu"
cargo:rustc-cfg=llvm_component="arm"
cargo:rustc-cfg=llvm_component="asmparser"
cargo:rustc-cfg=llvm_component="bitreader"
cargo:rustc-cfg=llvm_component="bitwriter"
cargo:rustc-cfg=llvm_component="hexagon"
cargo:rustc-cfg=llvm_component="instrumentation"
cargo:rustc-cfg=llvm_component="interpreter"
cargo:rustc-cfg=llvm_component="ipo"
cargo:rustc-cfg=llvm_component="linker"
cargo:rustc-cfg=llvm_component="lto"
cargo:rustc-cfg=llvm_component="mcjit"
cargo:rustc-cfg=llvm_component="mips"
cargo:rustc-cfg=llvm_component="msp430"
cargo:rustc-cfg=llvm_component="nvptx"
cargo:rustc-cfg=llvm_component="powerpc"
cargo:rustc-cfg=llvm_component="sparc"
cargo:rustc-cfg=llvm_component="systemz"
cargo:rustc-cfg=llvm_component="webassembly"
cargo:rustc-cfg=llvm_component="x86"
cargo:rerun-if-changed-env=LLVM_RUSTLLVM
cargo:rerun-if-changed=../rustllvm/RustWrapper.cpp
cargo:rerun-if-changed=../rustllvm/llvm-rebuild-trigger
cargo:rerun-if-changed=../rustllvm/README
cargo:rerun-if-changed=../rustllvm/Linker.cpp
cargo:rerun-if-changed=../rustllvm/rustllvm.h
cargo:rerun-if-changed=../rustllvm/.editorconfig
cargo:rerun-if-changed=../rustllvm/ArchiveWrapper.cpp
cargo:rerun-if-changed=../rustllvm/PassWrapper.cpp
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("2")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = Some("c++")
CXXFLAGS_x86_64-unknown-linux-gnu = Some("-ffunction-sections -fdata-sections
-fPIC -g -fdebug-prefix-map=/build/rustc-1.30.0+dfsg1=.
-fstack-protector-strong -Wformat -Werror=format-security -m64")
DEBUG = Some("false")
running: "c++" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC"
"-ffunction-sections" "-fdata-sections" "-fPIC" "-g"
"-fdebug-prefix-map=/build/rustc-1.30.0+dfsg1=." "-fstack-protector-strong"
"-Wformat" "-Werror=format-security" "-m64" "-m64" "-I/usr/lib/llvm-7/include"
"-fuse-ld=gold" "-fPIC" "-Wno-unused-command-line-argument"
"-Wno-unknown-warning-option" "-fPIC" "-fvisibility-inlines-hidden"
"-Werror=date-time" "-std=c++11" "-Wall" "-Wextra" "-Wno-unused-parameter"
"-Wwrite-strings" "-Wcast-qual" "-Wno-missing-field-initializers" "-pedantic"
"-Wno-long-long" "-Wno-maybe-uninitialized" "-Wno-class-memaccess"
"-Wdelete-non-virtual-dtor" "-Wno-comment" "-ffunction-sections"
"-fdata-sections" "-fno-common" "-Woverloaded-virtual" "-fno-strict-aliasing"
"-fPIC" "-fvisibility-inlines-hidden" "-Werror=date-time"
"-Werror=unguarded-availability-new" "-std=c++11" "-Wall" "-Wextra"
"-Wno-unused-parameter" "-Wwrite-strings" "-Wcast-qual"
"-Wmissing-field-initializers" "-pedantic" "-Wno-long-long"
"-Wcovered-switch-default" "-Wno-class-memaccess" "-Wnon-virtual-dtor"
"-Wdelete-non-virtual-dtor" "-Wstring-conversion" "-ffunction-sections"
"-fdata-sections" "-O2" "-DNDEBUG" "-fno-exceptions" "-D_GNU_SOURCE"
"-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D__STDC_LIMIT_MACROS"
"-DLLVM_COMPONENT_AARCH64" "-DLLVM_COMPONENT_AMDGPU" "-DLLVM_COMPONENT_ARM"
"-DLLVM_COMPONENT_ASMPARSER" "-DLLVM_COMPONENT_BITREADER"
"-DLLVM_COMPONENT_BITWRITER" "-DLLVM_COMPONENT_HEXAGON"
"-DLLVM_COMPONENT_INSTRUMENTATION" "-DLLVM_COMPONENT_INTERPRETER"
"-DLLVM_COMPONENT_IPO" "-DLLVM_COMPONENT_LINKER" "-DLLVM_COMPONENT_LTO"
"-DLLVM_COMPONENT_MCJIT" "-DLLVM_COMPONENT_MIPS" "-DLLVM_COMPONENT_MSP430"
"-DLLVM_COMPONENT_NVPTX" "-DLLVM_COMPONENT_POWERPC" "-DLLVM_COMPONENT_SPARC"
"-DLLVM_COMPONENT_SYSTEMZ" "-DLLVM_COMPONENT_WEBASSEMBLY"
"-DLLVM_COMPONENT_X86" "-o"
"/build/rustc-1.30.0+dfsg1/build/x86_64-unknown-linux-gnu/stage0-codegen/x86_64-unknown-linux-gnu/release/build/rustc_llvm-1d83c744fe0bbb01/out/../rustllvm/PassWrapper.o"
"-c" "../rustllvm/PassWrapper.cpp"
cargo:warning=c++: error: unrecognized command line option
'-Wcovered-switch-default'; did you mean '-Wno-switch-default'?
cargo:warning=c++: error: unrecognized command line option
'-Wstring-conversion'; did you mean '-Wint-conversion'?
These option seem to be coming from llvm-config-7 --cxxflags:
-I/usr/lib/llvm-7/include -fuse-ld=gold -fPIC
-Wno-unused-command-line-argument -Wno-unknown-warning-option -fPIC
-fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-uninitialized -Wno-class-memaccess -Wdelete-non-virtual-dtor
-Wno-comment -ffunction-sections -fdata-sections -fno-common
-Woverloaded-virtual -fno-strict-aliasing -fPIC -fvisibility-inlines-hidden
-Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-pedantic -Wno-long-long -Wcovered-switch-default -Wno-class-memaccess
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion
-ffunction-sections -fdata-sections -O2 -DNDEBUG -fno-exceptions -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
AIUI these shouldn't have been put there if the c++ compiler doesn't
support them?
(Replacing them with spaces by hand in the llvm-config-7 binary seems to
be avoiding the issue)
Samuel
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500,
'proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500,
'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'),
(1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages llvm-7 depends on:
ii libc6 2.27-8
ii libgcc1 1:8.2.0-9
ii libllvm7 1:7-6
ii libstdc++6 8.2.0-9
ii libtinfo6 6.1+20181013-1
ii llvm-7-runtime 1:7-6
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages llvm-7 recommends:
ii llvm-7-dev 1:7-6
Versions of packages llvm-7 suggests:
pn llvm-7-doc <none>
-- no debconf information
--
Samuel
c> [ ] morning [ ] afternoon [ ] evening [ ] night , everyone (choose as
applicable)
--- End Message ---
--- Begin Message ---
Source: llvm-toolchain-7
Source-Version: 1:7.0.1~+rc3-2
We believe that the bug you reported is fixed in the latest version of
llvm-toolchain-7, 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 914...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sylvestre Ledru <sylves...@debian.org> (supplier of updated llvm-toolchain-7
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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 10 Dec 2018 03:49:59 -0500
Source: llvm-toolchain-7
Binary: clang-7 clang-tools-7 clang-format-7 clang-tidy-7 clang-7-doc
libclang1-7 libclang-7-dev libclang-common-7-dev libfuzzer-7-dev python-clang-7
clang-7-examples libllvm7 llvm-7 llvm-7-runtime llvm-7-dev llvm-7-tools
libllvm-7-ocaml-dev llvm-7-doc llvm-7-examples lld-7 liblld-7 liblld-7-dev
lldb-7 liblldb-7 python-lldb-7 liblldb-7-dev libomp-7-dev libomp5-7
libomp-7-doc libc++1-7 libc++-7-dev libc++abi1-7 libc++abi-7-dev
Architecture: source
Version: 1:7.0.1~+rc3-2
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <pkg-llvm-t...@lists.alioth.debian.org>
Changed-By: Sylvestre Ledru <sylves...@debian.org>
Description:
clang-7 - C, C++ and Objective-C compiler
clang-7-doc - C, C++ and Objective-C compiler - Documentation
clang-7-examples - Clang examples
clang-format-7 - Tool to format C/C++/Obj-C code
clang-tidy-7 - clang-based C++ linter tool
clang-tools-7 - clang-based tools for C/C++ developments
libc++-7-dev - LLVM C++ Standard library (development files)
libc++1-7 - LLVM C++ Standard library
libc++abi-7-dev - LLVM low level support for a standard C++ library
(development fi
libc++abi1-7 - LLVM low level support for a standard C++ library
libclang-7-dev - clang library - Development package
libclang-common-7-dev - clang library - Common development package
libclang1-7 - C interface to the clang library
libfuzzer-7-dev - Library for coverage-guided fuzz testing
liblld-7 - LLVM-based linker, library
liblld-7-dev - LLVM-based linker, header files
liblldb-7 - Next generation, high-performance debugger, library
liblldb-7-dev - Next generation, high-performance debugger, header files
libllvm-7-ocaml-dev - Modular compiler and toolchain technologies, OCaml
bindings
libllvm7 - Modular compiler and toolchain technologies, runtime library
libomp-7-dev - LLVM OpenMP runtime - dev package
libomp-7-doc - LLVM OpenMP runtime - Documentation
libomp5-7 - LLVM OpenMP runtime
lld-7 - LLVM-based linker
lldb-7 - Next generation, high-performance debugger
llvm-7 - Modular compiler and toolchain technologies
llvm-7-dev - Modular compiler and toolchain technologies, libraries and header
llvm-7-doc - Modular compiler and toolchain technologies, documentation
llvm-7-examples - Modular compiler and toolchain technologies, examples
llvm-7-runtime - Modular compiler and toolchain technologies, IR interpreter
llvm-7-tools - Modular compiler and toolchain technologies, tools
python-clang-7 - Clang Python Bindings
python-lldb-7 - Next generation, high-performance debugger, python lib
Closes: 697755 913946 914838
Changes:
llvm-toolchain-7 (1:7.0.1~+rc3-2) unstable; urgency=medium
.
* Fix llvm-config by stripping unnecessary flags
See also https://bugs.llvm.org/show_bug.cgi?id=8220
(Closes: #697755, #914838)
* Try to workaround the debug issues by adding -fno-addrsig to the *FLAGS
One more time, thanks to Rebecca Palmer (Closes: #913946)
The goal is to provide correct debug packages.
Workaround https://sourceware.org/bugzilla/show_bug.cgi?id=23788
* Force the chmod +x on llvm-X/bin/* because it was sometimes removed
by the strip process
* Force the link to atomic also for i386 as it fails on Debian jessie too
* Improved the debian/patches/series presentation by creating categories
* Improve the separation between *FLAGS for gcc and clang.
This is done for -fno-addrsig as it doesn't exit for gcc
This can be done with the BOOTSTRAP_CMAKE_CXX_FLAGS option
Checksums-Sha1:
01e15702e195030358d0385a2244807b66d34941 8413 llvm-toolchain-7_7.0.1~+rc3-2.dsc
94f4d0264d8fe37cbb50f9412724ecfe97163c47 104160
llvm-toolchain-7_7.0.1~+rc3-2.debian.tar.xz
378a91130e0a10bdb216ecdda74c57c9ff6c98f0 19352
llvm-toolchain-7_7.0.1~+rc3-2_amd64.buildinfo
Checksums-Sha256:
ef367d0633398ed086c6e4d6e79598ba8aba075ff042204d19587d2b6620aa0a 8413
llvm-toolchain-7_7.0.1~+rc3-2.dsc
24dc8228a5186e57b4c35d315f28d3d33d6b16fe734cf0cc160170067b4b54c9 104160
llvm-toolchain-7_7.0.1~+rc3-2.debian.tar.xz
bdd07c5da92f2fa1f48d654ad8977d42f70a37cb4f0a9c2227c30116f36670e3 19352
llvm-toolchain-7_7.0.1~+rc3-2_amd64.buildinfo
Files:
ba0a22bc65104c6380694e8c68d5eb3a 8413 devel optional
llvm-toolchain-7_7.0.1~+rc3-2.dsc
009f14cc303e816d26ef56a1c3eb678f 104160 devel optional
llvm-toolchain-7_7.0.1~+rc3-2.debian.tar.xz
2a20d7627c8e3228300916ef72f504f9 19352 devel optional
llvm-toolchain-7_7.0.1~+rc3-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAlwSZFgACgkQfmUo2nUv
G+F8ag//WwEa31itUehB2TYe9eUO1hfTEiHNwEQNIby1L/gTJTWCiZer1i5h3bNV
Xo9wdaGp3YZaInCACc65VZkWXMZBH/yxp5HXOaA4HpIM0vs4yV/Ce++/aEBznkCI
Qc0Hz7wGiqRklEjJByv4Fp4RY2KFAIJc87IgnMY/EuOR22L7gscMl6eEuYG+TV7y
MRDXEn6eiSQu5WtetCdrLI1zXFhVBa4Xl/KMS2VP8CSaCaxrgzsDocUzvnvSVSLx
4ih675is33xiyZHH7JGC/53haxt86Gl/Kn7JhZsmDe9iLp00idSAwisa6Vh55Ewh
m571q4ELfYIeL7ktSTUUKfZnPLgM6PpcQ0SR1vqpH91TPcS1ee3KMgHfDJl5L+Rt
/AI2Bj914HM2JOf5DaYvgBKDPYCYNQ7Q6tsTxsqKawlQPuB7WSfY7Alfzbt1cogG
j+CyHXPz2Mz0r9RJPrm2+/zAdWK3GAHBdZ31HnuF/j4OLGAwaj8P3V/gYewqydw6
HNFkvOfJGvHtBMCfZ+Fc/CeHCiYNurRSyV801syVKvL+bGhUBxADGWXz9BMsWcQj
5FVLxVvY+59CFcYpaNoxbtyO1cVcTLDu5T9c01iL/oI3HgoWHw133bXPuJyGiNeK
lOv/yusdlOuy1Jg8bND3dnkt3ivMaIxC5FX+YBvP09zApIFl61U=
=5LvV
-----END PGP SIGNATURE-----
--- End Message ---