[Buildroot] [PATCH] libtasn1: add upstream build fix patch

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Aug 9 21:06:42 UTC 2016


Hello,

On Tue,  9 Aug 2016 17:49:36 -0300, Gustavo Zacarias wrote:
> Under certain circumstances the build will fail because some warnings
> are treated as errors, such as:
> 
> ./parser_aux.h:97:1: error: inlining failed in call to '_asn1_set_down':
> call is unlikely and code size would grow [-Werror=inline]
> ASN1.y:437:59: error: called from here [-Werror=inline]
> cc1: all warnings being treated as errors
> 
> Add upstream patch to address this.
> 
> Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>

After discussing on IRC, this patch is not needed: the current version
of libtasn1, 4.8, has the gcc-warnings option disabled by default, so
it does not add -Werror.

Apparently, the problem starts with version 4.9, which Gustavo was
about to submit as a security fix. In this case --disable-gcc-warnings
should be used.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list