Package: linux-tools
Version: 4.0.2-1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-5
This package fails to build with GCC 5:
> sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c4n1.hlinux.usa.hp.com
...
> gcc -o /«PKGBUILDDIR»/debian/build/tools/perf/out/builtin-report.o -c
> -Wno-error -DHAVE_PERF_REGS_SUPPORT -Werror -O6 -fno-omit-frame-pointer
> -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all
> -D_FORTIFY_SOURCE=2 -I/«PKGBUILDDIR»/tools/perf/util/include
> -I/«PKGBUILDDIR»/tools/perf/arch/arm64/include
> -I/«PKGBUILDDIR»/tools/include/ -I/«PKGBUILDDIR»/arch/arm64/include/uapi
> -I/«PKGBUILDDIR»/arch/arm64/include -I/«PKGBUILDDIR»/include/uapi
> -I/«PKGBUILDDIR»/include -I/«PKGBUILDDIR»/debian/build/tools/perf/out//util
> -I/«PKGBUILDDIR»/debian/build/tools/perf/out/
> -I/«PKGBUILDDIR»/tools/perf/util -I/«PKGBUILDDIR»/tools/perf
> -I/«PKGBUILDDIR»/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT
> -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT
> -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT
> -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME -DHAVE
> _LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang
> -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_CPLUS_DEMANGLE_SUPPORT
> -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT
> -I/«PKGBUILDDIR»/debian/build/tools/perf/out/ builtin-report.c
> builtin-report.c: In function 'cmd_report':
> builtin-report.c:769:23: error: comparison of constant '-1' with boolean
> expression is always false [-Werror=bool-compare]
> branch_call_mode == -1) {
> ^
> cc1: all warnings being treated as errors
> Makefile.perf:693: recipe for target
> '/«PKGBUILDDIR»/debian/build/tools/perf/out/builtin-report.o' failed
--
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]