Buildroot roseapplepi_defconfig no longer builds
Hello Peter,
The roseapplepi_defconfig no longer builds:
https://gitlab.com/buildroot.org/buildroot/-/jobs/269139283
The build issue occurs when building the wonderful out of tree display driver:
drivers/gpu/pvr/eurasia_km_linux/services4/srvkm/env/linux/osfunc.c: In function 'OSEventObjectCreateKM':drivers/gpu/pvr/eurasia_km_linux/services4/srvkm/env/linux/osfunc.c:3051:13: error: 'strncpy' specified bound 50 equals destination size [-Werror=stringop-truncation]
strncpy(psEventObject->szName, pszName, EVENTOBJNAME_MAXLENGTH);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~I guess this is caused by our update to gcc 8.x as the default compiler.
Could you have a look ?
Thanks!
Thomas Petazzoni
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hello Peter,
Theroseapplepi_defconfigno longer builds:https://gitlab.com/buildroot.org/buildroot/-/jobs/269139283
The build issue occurs when building the wonderful out of tree display driver:
Quoted 6 lines
drivers/gpu/pvr/eurasia_km_linux/services4/srvkm/env/linux/osfunc.c: In function 'OSEventObjectCreateKM':drivers/gpu/pvr/eurasia_km_linux/services4/srvkm/env/linux/osfunc.c:3051:13: error: 'strncpy' specified bound 50 equals destination size [-Werror=stringop-truncation]strncpy(psEventObject->szName, pszName, EVENTOBJNAME_MAXLENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~I guess this is caused by our update to gcc 8.x as the default compiler.
Probably.
Quoted 1 line
Could you have a look ?
I will take a look next week, thanks for the heads up.
Signature · 1 line
Bye, Peter Korsgaard