Package: src:pcc
Version: 1.2.0~DEVEL+20220331-1
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15
[This bug is NOT targeted to the upcoming trixie release]
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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/pcc_1.2.0~DEVEL+20220331-1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html
[...]
1633 | printf("tymatch(%p): ", p);
| ~^ ~
| | |
| void * P1ND * {aka struct p1node *}
./trees.c: In function ‘eprint’:
./trees.c:1994:18: warning: format ‘%p’ expects argument of type ‘void *’, but argument 2 has type ‘P1ND *’ {aka ‘struct p1node *’} [-Wformat=]
1994 | printf("%p) %s, ", p, copst(p->n_op));
| ~^ ~
| | |
| void * P1ND * {aka struct p1node *}
./trees.c:2000:36: warning: format ‘%p’ expects argument of type ‘void *’, but argument 2 has type ‘struct symtab *’ [-Wformat=]
2000 | printf(", %p, ", p->n_sp);
| ~^
| |
| void *
./trees.c:2009:21: warning: format ‘%p’ expects argument of type ‘void *’, but argument 2 has type ‘union dimfun *’ [-Wformat=]
2009 | printf( ", %p, ", p->n_df);
| ~^
| |
| void *
./trees.c: At top level:
./trees.c:2118:22: error: expected ‘;’, ‘,’ or ‘)’ before ‘true’
2118 | andorbr(P1ND *p, int true, int false)
| ^~~~
./trees.c: In function ‘rmcops’:
./trees.c:2303:17: error: implicit declaration of function ‘andorbr’ [-Wimplicit-function-declaration]
2303 | andorbr(p->n_left, -1, lbl = getlab());
| ^~~~~~~
./trees.c: In function ‘p1nfree’:
./trees.c:3440:41: warning: format ‘%p’ expects argument of type ‘void *’, but argument 2 has type ‘P1ND *’ {aka ‘struct p1node *’} [-Wformat=]
3440 | printf("freeing p1node %p\n", p);
| ~^ ~
| | |
| | P1ND * {aka struct p1node *}
| void *
./trees.c: In function ‘p1alloc’:
./trees.c:3461:47: warning: format ‘%p’ expects argument of type ‘void *’, but argument 2 has type ‘P1ND *’ {aka ‘struct p1node *’} [-Wformat=]
3461 | printf("alloc p1node %p from freelist\n", p);
| ~^ ~
| | |
| void * P1ND * {aka struct p1node *}
./trees.c:3468:39: warning: format ‘%p’ expects argument of type ‘void *’, but argument 2 has type ‘P1ND *’ {aka ‘struct p1node *’} [-Wformat=]
3468 | printf("alloc p1node %p from memory\n", p);
| ~^ ~
| | |
| void * P1ND * {aka struct p1node *}
./trees.c: At top level:
./trees.c:2098:1: warning: ‘fixbranch’ defined but not used [-Wunused-function]
2098 | fixbranch(P1ND *p, int label)
| ^~~~~~~~~
make[3]: *** [Makefile:195: trees.o] Error 1
make[3]: *** Waiting for unfinished jobs....
../../common/softfloat.c: In function ‘strtosf’:
../../common/softfloat.c:76:17: warning: ‘e’ may be used uninitialized [-Wmaybe-uninitialized]
76 | #define LDBLPTR fpis[SF_LDOUBLE]
| ^
../../common/softfloat.c:1477:9: note: in expansion of macro ‘LDBLPTR’
1477 | LDBLPTR->make(sfp, rv, 0, e, &m);
| ^~~~~~~
../../common/softfloat.c:1467:13: note: ‘e’ was declared here
1467 | int e;
| ^
make[3]: Leaving directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc/ccom'
make[2]: *** [Makefile:12: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331/cc'
make[1]: *** [Makefile:12: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/pcc-1.2.0~DEVEL+20220331'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.