Package: src:syslinux
Version: 3:6.04~git20190206.bf6db5b4+dfsg1-2
Severity: normal
Tags: sid bullseye
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10
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-10/g++-10, but succeeds to build with gcc-9/g++-9. 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/gcc10-20200225/syslinux_6.04~git20190206.bf6db5b4+dfsg1-2_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html
[...]
225 | snprintf(connection, sizeof_connection, "%s%u", connection, code &
0x0F);
|
^~~~
/<>/com32/gpllib/dmi/dmi_memory.c:217:56: note: destination object
referenced by ‘restrict’-qualified argument 1 was declared here
217 | void dmi_memory_module_connections(uint8_t code, char *connection, int
sizeof_connection)
| ~~^~
/<>/com32/gpllib/dmi/dmi_memory.c: In function
‘dmi_memory_module_size’:
/<>/com32/gpllib/dmi/dmi_memory.c:257:2: warning: ‘snprintf’
argument 4 overlaps destination object ‘size’ [-Wrestrict]
257 | snprintf(size, sizeof_size, "%s %s", size, "(Single-bank Connection)");
| ^~
/<>/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object
referenced by ‘restrict’-qualified argument 1 was declared here
237 | void dmi_memory_module_size(uint8_t code, char *size, int sizeof_size)
| ~~^~~~
/<>/com32/gpllib/dmi/dmi_memory.c:255:2: warning: ‘snprintf’
argument 4 overlaps destination object ‘size’ [-Wrestrict]
255 | snprintf(size, sizeof_size, "%s %s", size, "(Double-bank Connection)");
| ^~
/<>/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object
referenced by ‘restrict’-qualified argument 1 was declared here
237 | void dmi_memory_module_size(uint8_t code, char *size, int sizeof_size)
| ~~^~~~
gcc -MT dmi/dmi_processor.o -MD -MF dmi/.dmi_processor.o.d -Os -march=i386
-falign-functions=0 -falign-jumps=0 -falign-labels=0 -ffast-math
-fomit-frame-pointer -std=gnu99 -m32 -mpreferred-stack-boundary=2
-fno-stack-protector -fwrapv -freg-struct-return -fPIC -fno-exceptions
-fno-asynchronous-unwind-tables -fno-strict-aliasing -falign-functions=0
-falign-jumps=0 -falign-labels=0 -falign-loops=0 -g -D__COM32__
-D__FIRMWARE_BIOS__ -nostdinc -iwithprefix include -I.
-I/<>/com32/gpllib/sys -I/<>/com32/gpllib/../include
-I/<>/com32/include/sys -I/<>/core/include
-I/<>/com32/lib/ -I/<>/com32/lib/sys/module
-I/<>/bios/com32/gpllib//../..
-I/<>/com32/gpllib/../gplinclude
-I/<>/com32/gpllib/../gplinclude/zzjson -W -Wall
-Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wstrict-prototypes
-Winline -DDYNAMIC_CRC_TABLE -mregparm=3 -DREGPARM=3 -c -o dmi/dmi_processor.o
/<>/com32/gpllib/dmi/dmi_processor.c
gcc -MT vpd/vpd.o -MD -MF vpd/.vpd.o.d -Os -march=i386 -falign-functions=0
-falign-jumps=0 -falign-labels=0 -ffast-math -fomit-frame-pointer -std=gnu99
-m32 -mpreferred-stack-boundary=2 -fno-stack-protector -fwrapv
-freg-struct-return -fPIC -fno-exceptions -fno-asynchronous-unwind-tables
-fno-strict-aliasing -falign-functions=0 -falign-jumps=0 -falign-labels=0
-falign-loops=0 -g -D__COM32__ -D__FIRMWARE_BIOS__ -nostdinc -iwithprefix
include -I. -I/<>/com32/gpllib/sys
-I/<>/com32/gpllib/../include -I/<>/com32/include/sys
-I/<>/core/include -I/<>/com32/lib/
-I/<>/com32/lib/sys/module
-I/<>/bios/com32/gpllib//../..
-I/<>/com32/gpllib/../gplinclude
-I/<>/com32/gpllib/../gplinclude/zzjson -W -Wall
-Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wstrict-prototypes
-Winline -DDYNAMIC_CRC_TABLE -mregparm=3 -DREGPARM=3 -c -o vpd/vpd.o
/<>/com32/gpllib/vpd/vpd
.c
gcc -MT acpi/acpi.o -MD -MF acpi/.acpi.o.d -Os -march=i386 -falign-functions=0
-falign-jumps=0 -falign-labels=0 -ffast-math -fomit-frame-pointer -std=gnu99
-m32 -mpreferred-stack-