Wind River Support Network

HomeDefectsLIN8-5207
Fixed

LIN8-5207 : glib-2.0_2.44.1.bb, do_compile failed on a fedora24 host/container

Created: Dec 5, 2016    Updated: Dec 3, 2018
Resolved Date: Dec 5, 2016
Found In Version: 8.0.0.11
Fix Version: 8.0.0.12
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

glib-2.0-native building failure by gcc6, the main error log is:
bitbake_build/tmp/work/x86_64-linux/glib-2.0-native/1_2.44.1-r0/glib-2.44.1/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
       tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
       ^~~~~~

Steps to Reproduce

On a fedora24 host/container: 
(1) # configure --enable-board=qemux86-64 --enable-rootfs=glibc-std --enable-kernel=standard 
(2) # make glib-2.0-native.build

Other Downloads


Live chat
Online