ucl: Use -std=iso9899:1990 instead of -std=c90
PATCH 1/1 ucl: Use -std=iso9899:1990 instead of -std=c90
The shorter alias, -std=c90, is not known by older versions of GCC. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20631.
--- package/ucl/ucl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/ucl/ucl.mk +1 -1
@@ -10,6 +10,6 @@ UCL_LICENSE = GPLv2+ UCL_LICENSE_FILES = COPYING # Fix ACC conformance test failure for host gcc 6.x -HOST_UCL_CONF_ENV += CPPFLAGS="$(HOST_CPPFLAGS) -std=c90" +HOST_UCL_CONF_ENV += CPPFLAGS="$(HOST_CPPFLAGS) -std=iso9899:1990" $(eval $(host-autotools-package))
Signature · 1 line
2.9.3
PATCH 1/1 ucl: Use -std=iso9899:1990 instead of -std=c90
Hello,
Quoted 4 lines · Alexey Neyman
The shorter alias, -std=c90, is not known by older versions of GCC. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20631.
Signed-off-by Alexey Neyman <[email protected]>
Thanks for the patch. Is this fixing a specific autobuilder issue? In which situation have you seen the failure?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/1 ucl: Use -std=iso9899:1990 instead of -std=c90
Quoted 9 lines · Thomas Petazzoni
Hello,
Quoted 4 lines · Alexey Neyman
The shorter alias, -std=c90, is not known by older versions of GCC. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20631.
Signed-off-by Alexey Neyman <[email protected]>Thanks for the patch. Is this fixing a specific autobuilder issue? In which situation have you seen the failure?
Issue observed on a CentOS6.x build machine, which has GCC 4.4. The --std=c90 appeared in 4.5.
Regards,
Alexey.
PATCH 1/1 ucl: Use -std=iso9899:1990 instead of -std=c90
Hello,
Quoted 2 lines · Alexey Neyman
Issue observed on a CentOS6.x build machine, which has GCC 4.4. The --std=c90 appeared in 4.5.
OK. I was surprised because my autobuilder instance also uses GCC 4.4 as the host compiler, and the build failure was never detected.
But host-ucl is only used as a dependency of host-upx, which itself is also only used as a dependency of syslinux. Since syslinux is a bootloader, it does not get build tested by the autobuilders.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Thomas Petazzoni
AppliedPATCH 1/1 ucl: Use -std=iso9899:1990 instead of -std=c90
In reply to Alexey NeymanHello,
Quoted 7 lines · Alexey Neyman
The shorter alias, -std=c90, is not known by older versions of GCC. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20631.
Signed-off-by Alexey Neyman <[email protected]>--- package/ucl/ucl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com