Bug#1037648: faust: ftbfs with GCC-13
Package: src:faust
Version: 2.54.9+ds0-1
Severity: normal
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-13
[This bug is 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/faust_2.54.9+ds0-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html
[...]
3036 | int v1 = popInt();
| ^~
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh: In member function ‘void FBCInterpreter<REAL, TRACE>::ExecuteBlock(FBCBlockInstruction<REAL>*, bool) [with REAL = double; int TRACE = 4]’:
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh:3037:14: warning: array subscript ‘double[0]’ is partly outside array bounds of ‘int [1]’ [-Warray-bounds=]
3037 | REAL v2 = *reinterpret_cast<REAL*>(&v1);
| ^~
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh:3036:14: note: object ‘v1’ of size 4
3036 | int v1 = popInt();
| ^~
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh: In member function ‘void FBCInterpreter<REAL, TRACE>::ExecuteBlock(FBCBlockInstruction<REAL>*, bool) [with REAL = double; int TRACE = 5]’:
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh:3037:14: warning: array subscript ‘double[0]’ is partly outside array bounds of ‘int [1]’ [-Warray-bounds=]
3037 | REAL v2 = *reinterpret_cast<REAL*>(&v1);
| ^~
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh:3036:14: note: object ‘v1’ of size 4
3036 | int v1 = popInt();
| ^~
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh: In member function ‘void FBCInterpreter<REAL, TRACE>::ExecuteBlock(FBCBlockInstruction<REAL>*, bool) [with REAL = double; int TRACE = 6]’:
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh:3037:14: warning: array subscript ‘double[0]’ is partly outside array bounds of ‘int [1]’ [-Warray-bounds=]
3037 | REAL v2 = *reinterpret_cast<REAL*>(&v1);
| ^~
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh:3036:14: note: object ‘v1’ of size 4
3036 | int v1 = popInt();
| ^~
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh: In member function ‘void FBCInterpreter<REAL, TRACE>::ExecuteBlock(FBCBlockInstruction<REAL>*, bool) [with REAL = double; int TRACE = 7]’:
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh:3037:14: warning: array subscript ‘double[0]’ is partly outside array bounds of ‘int [1]’ [-Warray-bounds=]
3037 | REAL v2 = *reinterpret_cast<REAL*>(&v1);
| ^~
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh:3036:14: note: object ‘v1’ of size 4
3036 | int v1 = popInt();
| ^~
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh: In member function ‘void FBCInterpreter<REAL, TRACE>::ExecuteBlock(FBCBlockInstruction<REAL>*, bool) [with REAL = double; int TRACE = 0]’:
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh:3037:14: warning: array subscript ‘double[0]’ is partly outside array bounds of ‘int [1]’ [-Warray-bounds=]
3037 | REAL v2 = *reinterpret_cast<REAL*>(&v1);
| ^~
/<<PKGBUILDDIR>>/compiler/generator/interpreter/fbc_interpreter.hh:3036:14: note: object ‘v1’ of size 4
3036 | int v1 = popInt();
| ^~
[ 13%] Building CXX object CMakeFiles/faust.dir/<<PKGBUILDDIR>>/compiler/lock_api.cpp.o
/usr/bin/g++ -DCMAJOR_BUILD -DCPP_BUILD -DCSHARP_BUILD -DC_BUILD -DDLANG_BUILD -DFIR_BUILD -DINTERP_BUILD -DJAVA_BUILD -DJAX_BUILD -DJULIA_BUILD -DLIBDIR=\"lib\" -DLLVM_140 -DLLVM_BUILD -DLLVM_VERSION=\"14.0.6\" -DOCPP_BUILD -DRUST_BUILD -DWASM_BUILD -I/<<PKGBUILDDIR>>/compiler -I/<<PKGBUILDDIR>>/compiler/boxes -I/<<PKGBUILDDIR>>/compiler/documentator -I/<<PKGBUILDDIR>>/compiler/draw -I/<<PKGBUILDDIR>>/compiler/errors -I/<<PKGBUILDDIR>>/compiler/evaluate -I/<<PKGBUILDDIR>>/compiler/extended -I/<<PKGBUILDDIR>>/compiler/generator -I/<<PKGBUILDDIR>>/compiler/generator/dlang -I/<<PKGBUILDDIR>>/compiler/generator/csharp -I/<<PKGBUILDDIR>>/compiler/generator/fir -I/<<PKGBUILDDIR>>/compiler/generator/julia -I/<<PKGBUILDDIR>>/compiler/generator/interpreter -I/<<PKGBUILDDIR>>/compiler/generator/rust -I/<<PKGBUILDDIR>>/compiler/generator/cmajor -I/<<PKGBUILDDIR>>/compiler/normalize -I/<<PKGBUILDDIR>>/compiler/parallelize -I/<<PKGBUILDDIR>>/compiler/parser -I/<<PKGBUILDDIR>>/compiler/patternmat
cher -I/<<PKGBUILDDIR>>/compiler/propagate -I/<<PKGBUILDDIR>>/compiler/signals -I/<<PKGBUILDDIR>>/compiler/tlib -I/<<PKGBUILDDIR>>/compiler/transform -I/<<PKGBUILDDIR>>/compiler/utils -I/<<PKGBUILDDIR>>/compiler/draw/device -I/<<PKGBUILDDIR>>/compiler/draw/schema -I/<<PKGBUILDDIR>>/compiler/../architecture -I/<<PKGBUILDDIR>>/compiler/generator/c -I/<<PKGBUILDDIR>>/compiler/generator/cpp -I/<<PKGBUILDDIR>>/compiler/generator/java -I/<<PKGBUILDDIR>>/compiler/generator/jax -I/<<PKGBUILDDIR>>/compiler/generator/wasm -I/<<PKGBUILDDIR>>/compiler/generator/llvm -I/usr/lib/llvm-14/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-overloaded-virtual -DFAUST_EXE -std=gnu++14 -MD -MT CMakeFiles/faust.dir/<<PKGBUILDDIR>>/compiler/lock_api.cpp.o -MF CMakeFiles/faust.dir/<<PKGBUILDDIR>>/compiler/lock_api.cpp.o.d -o CMakeF
iles/faust.dir/<<PKGBUILDDIR>>/compiler/lock_api.cpp.o -c /<<PKGBUILDDIR>>/compiler/lock_api.cpp
[ 13%] Building CXX object CMakeFiles/faust.dir/<<PKGBUILDDIR>>/compiler/main.cpp.o
/usr/bin/g++ -DCMAJOR_BUILD -DCPP_BUILD -DCSHARP_BUILD -DC_BUILD -DDLANG_BUILD -DFIR_BUILD -DINTERP_BUILD -DJAVA_BUILD -DJAX_BUILD -DJULIA_BUILD -DLIBDIR=\"lib\" -DLLVM_140 -DLLVM_BUILD -DLLVM_VERSION=\"14.0.6\" -DOCPP_BUILD -DRUST_BUILD -DWASM_BUILD -I/<<PKGBUILDDIR>>/compiler -I/<<PKGBUILDDIR>>/compiler/boxes -I/<<PKGBUILDDIR>>/compiler/documentator -I/<<PKGBUILDDIR>>/compiler/draw -I/<<PKGBUILDDIR>>/compiler/errors -I/<<PKGBUILDDIR>>/compiler/evaluate -I/<<PKGBUILDDIR>>/compiler/extended -I/<<PKGBUILDDIR>>/compiler/generator -I/<<PKGBUILDDIR>>/compiler/generator/dlang -I/<<PKGBUILDDIR>>/compiler/generator/csharp -I/<<PKGBUILDDIR>>/compiler/generator/fir -I/<<PKGBUILDDIR>>/compiler/generator/julia -I/<<PKGBUILDDIR>>/compiler/generator/interpreter -I/<<PKGBUILDDIR>>/compiler/generator/rust -I/<<PKGBUILDDIR>>/compiler/generator/cmajor -I/<<PKGBUILDDIR>>/compiler/normalize -I/<<PKGBUILDDIR>>/compiler/parallelize -I/<<PKGBUILDDIR>>/compiler/parser -I/<<PKGBUILDDIR>>/compiler/patternmat
cher -I/<<PKGBUILDDIR>>/compiler/propagate -I/<<PKGBUILDDIR>>/compiler/signals -I/<<PKGBUILDDIR>>/compiler/tlib -I/<<PKGBUILDDIR>>/compiler/transform -I/<<PKGBUILDDIR>>/compiler/utils -I/<<PKGBUILDDIR>>/compiler/draw/device -I/<<PKGBUILDDIR>>/compiler/draw/schema -I/<<PKGBUILDDIR>>/compiler/../architecture -I/<<PKGBUILDDIR>>/compiler/generator/c -I/<<PKGBUILDDIR>>/compiler/generator/cpp -I/<<PKGBUILDDIR>>/compiler/generator/java -I/<<PKGBUILDDIR>>/compiler/generator/jax -I/<<PKGBUILDDIR>>/compiler/generator/wasm -I/<<PKGBUILDDIR>>/compiler/generator/llvm -I/usr/lib/llvm-14/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-overloaded-virtual -DFAUST_EXE -std=gnu++14 -MD -MT CMakeFiles/faust.dir/<<PKGBUILDDIR>>/compiler/main.cpp.o -MF CMakeFiles/faust.dir/<<PKGBUILDDIR>>/compiler/main.cpp.o.d -o CMakeFiles/fau
st.dir/<<PKGBUILDDIR>>/compiler/main.cpp.o -c /<<PKGBUILDDIR>>/compiler/main.cpp
In file included from /<<PKGBUILDDIR>>/compiler/dsp_factory.hh:33,
from /<<PKGBUILDDIR>>/compiler/main.cpp:32:
/<<PKGBUILDDIR>>/compiler/../architecture/faust/dsp/dsp.h: In member function ‘void ScopedNoDenormals::setFpStatusRegister(intptr_t)’:
/<<PKGBUILDDIR>>/compiler/../architecture/faust/dsp/dsp.h:256:22: error: ‘uint32_t’ does not name a type
256 | volatile uint32_t fpsr_w = static_cast<uint32_t>(fpsr_aux);
| ^~~~~~~~
/<<PKGBUILDDIR>>/compiler/../architecture/faust/dsp/dsp.h:241:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
240 | #include <xmmintrin.h>
+++ |+#include <cstdint>
241 | #endif
/<<PKGBUILDDIR>>/compiler/../architecture/faust/dsp/dsp.h:257:24: error: ‘fpsr_w’ was not declared in this scope; did you mean ‘fpsr’?
257 | _mm_setcsr(fpsr_w);
| ^~~~~~
| fpsr
gmake[6]: *** [CMakeFiles/faust.dir/build.make:1028: CMakeFiles/faust.dir/<<PKGBUILDDIR>>/compiler/main.cpp.o] Error 1
gmake[6]: Leaving directory '/<<PKGBUILDDIR>>/build/faustdir'
gmake[5]: *** [CMakeFiles/Makefile2:182: CMakeFiles/faust.dir/all] Error 2
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/build/faustdir'
gmake[4]: *** [Makefile:156: all] Error 2
gmake[4]: Leaving directory '/<<PKGBUILDDIR>>/build/faustdir'
make[3]: *** [Makefile:79: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:41: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" world PREFIX=/usr returned exit code 2
make[1]: *** [debian/rules:40: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:37: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: