Bug#777864: gcc-4.4: ftbfs with GCC-5
Package: src:gcc-4.4
Version: 4.4.7-8
Severity: normal
Tags: sid stretch
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-5
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-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/gcc-4.4_4.4.7-8_unstable_gcc5.log
The last lines of the build log are at the end of this report.
To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t experimental install g++
Common build failures are C11 as the default C mode, 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-5/porting_to.html
[...]
from ../../src/gcc/tree-cfg.c:40:
../../src/gcc/tree-pass.h:102:5: note: enum constant defined here
GIMPLE_PASS,
^
../../src/gcc/tree-cfg.c: In function 'execute_warn_function_return':
../../src/gcc/tree-cfg.c:7069:19: warning: unknown conversion type character 'H' in format [-Wformat=]
warning (0, "%H%<noreturn%> function does return", &location);
^
../../src/gcc/tree-cfg.c:7069:19: warning: too many arguments for format [-Wformat-extra-args]
../../src/gcc/tree-cfg.c: At top level:
../../src/gcc/tree-cfg.c:7126:3: warning: enum constant defined in struct or union is not visible in C++ [-Wc++-compat]
GIMPLE_PASS,
^
In file included from ../../src/gcc/tree-dump.h:26:0,
from ../../src/gcc/tree-cfg.c:40:
../../src/gcc/tree-pass.h:102:5: note: enum constant defined here
GIMPLE_PASS,
^
../../src/gcc/tree-cfg.c: In function 'execute_warn_function_noreturn':
../../src/gcc/tree-cfg.c:7151:37: warning: unknown conversion type character 'J' in format [-Wformat=]
warning (OPT_Wmissing_noreturn, "%Jfunction might be possible candidate "
^
../../src/gcc/tree-cfg.c:7151:37: warning: too many arguments for format [-Wformat-extra-args]
../../src/gcc/tree-cfg.c: At top level:
../../src/gcc/tree-cfg.c:7160:3: warning: enum constant defined in struct or union is not visible in C++ [-Wc++-compat]
GIMPLE_PASS,
^
In file included from ../../src/gcc/tree-dump.h:26:0,
from ../../src/gcc/tree-cfg.c:40:
../../src/gcc/tree-pass.h:102:5: note: enum constant defined here
GIMPLE_PASS,
^
rm gcc.pod
make[5]: Leaving directory '/«PKGBUILDDIR»/build/gcc'
Makefile:5143: recipe for target 'all-stage1-gcc' failed
make[4]: *** [all-stage1-gcc] Error 2
make[4]: Leaving directory '/«PKGBUILDDIR»/build'
Makefile:17113: recipe for target 'stage1-bubble' failed
make[3]: *** [stage1-bubble] Error 2
make[3]: Leaving directory '/«PKGBUILDDIR»/build'
Makefile:17506: recipe for target 'bootstrap-lean' failed
make[2]: *** [bootstrap-lean] Error 2
make[2]: Leaving directory '/«PKGBUILDDIR»/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
debian/rules2:844: recipe for target 'stamps/05-build-stamp' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [stamps/05-build-stamp] Error 2
debian/rules:47: recipe for target 'stamps/05-build-stamp' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Reply to: