Bug#925766: linux: ftbfs with GCC-9

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#925766: linux: ftbfs with GCC-9

Matthias Klose
Package: src:linux
Version: 4.19.28-2
Severity: normal
Tags: sid bullseye
User: [hidden email]
Usertags: ftbfs-gcc-9

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/linux_4.19.28-2_unstable_gcc9.log
The last lines of the build log are at the end of this report.

To build with GCC 9, either set CC=gcc-9 CXX=g++-9 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-9/porting_to.html

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-sched.1+ perf-sched.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-sched.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-sched.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kvm.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kvm.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kvm.1+ perf-kvm.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kvm.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kvm.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-annotate.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-annotate.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-annotate.1+ perf-annotate.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-annotate.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-annotate.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-top.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-top.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-top.1+ perf-top.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-top.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-top.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-stat.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-stat.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-stat.1+ perf-stat.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-stat.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-stat.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-ftrace.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-ftrace.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-ftrace.1+ perf-ftrace.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-ftrace.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-ftrace.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-script-perl.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-script-perl.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-script-perl.1+ perf-script-perl.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-script-perl.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-script-perl.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-report.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-report.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-report.1+ perf-report.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-report.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-report.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-script-python.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-script-python.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-script-python.1+ perf-script-python.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-script-python.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-script-python.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-test.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-test.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-test.1+ perf-test.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-test.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-test.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-version.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-version.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-version.1+ perf-version.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-version.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-version.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kmem.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kmem.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kmem.1+ perf-kmem.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kmem.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kmem.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-inject.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-inject.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-inject.1+ perf-inject.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-inject.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-inject.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kallsyms.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kallsyms.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kallsyms.1+ perf-kallsyms.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kallsyms.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf-kallsyms.1
rm -f /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf.1 && \
asciidoctor -b manpage -d manpage \
        -a compat-mode -I. -rasciidoctor-extensions -a mansource="perf" -a manmanual="perf Manual" -a revdate=2019-03-15 -aperf_version= -o /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf.1+ perf.txt && \
mv /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf.1+ /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf.1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tools/perf/Documentation'
type ldd
ldd is /usr/bin/ldd
! ldd /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf | grep -E '\blib(bfd|crypto)'
grep cplus_demangle /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf
Binary file /<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf/perf matches
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/build-tools/tools/perf'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules.gen:449: build-arch_amd64_real] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:35: build-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2