-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: ‘%s’ directive argument is null [-Werror=format-overflow=] #631
Comments
Joys, gcc-9 and above are being fussier about printf("%s", NULL), or by the looks of it any potential route for the parameter being NULL. I don't believe vcfilesys.c is ever used by the system? |
Yes this is broken with gcc10, and is manually patched in the yocto bsp layer http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch |
This patch is taken from meta-raspberrypi, with a known upstream issue raspberrypi/userland#631
Describe the bug
Compilation fails on RPi4 running Fedora 32 aarch64 with the error shown below.
To reproduce
sudo arm-image-installer --target=rpi4 --image=/home/error/Downloads/Fedora-Minimal-32-1.6.aarch64.raw.xz --media=/dev/sdb
sudo dnf -y install @development-tools gcc-c++ cmake
./buildme --aarch64
Expected behaviour
Compilation should succeed.
Actual behaviour
System
Copyright (c) 2012 Broadcom
version 8e16a2ff5d1cda6c1c6cc0ac04a4db7b4d77e3b6 (clean) (release) (start_x)
The text was updated successfully, but these errors were encountered: