[OE-core] [PATCH 2/4] libtasn1: Upgrade 4.9 -> 4.10

Burton, Ross ross.burton at intel.com
Thu Jan 26 10:20:16 UTC 2017


On 23 January 2017 at 09:58, Maxin B. John <maxin.john at intel.com> wrote:

> Removed the following Backported patches:
>  1. 0001-configure-don-t-add-Werror-to-build-flags.patch
>  2. 0002-ASN.y-corrected-compiler-warning.patch
>  3. 0003-parser_aux-corrected-potential-null-pointer-derefere.patch
>  4. 0004-tools-eliminated-compiler-warnings.patch
>
> Signed-off-by: Maxin B. John <maxin.john at intel.com>
>

This breaks on musl in the most amusing way:

|                  from ../../libtasn1-4.10/gl/getopt.c:28:
| ./stdint.h:89:5: error: #if with no expression
|  #if
|      ^

When it says stdint.h it doesn't mean the system stdint.h because that
would be too sensible.  libtasn1 uses gnulib which writes its own system
headers, so this is in fact build/gl/stdint.h which does indeed just do
'#if '.  The source for this file is gl/stdint.in.h in this block:

/* Override WINT_MIN and WINT_MAX if gnulib's <wchar.h> or <wctype.h>
overrides
   wint_t.  */
#if @GNULIB_OVERRIDES_WINT_T@
# undef WINT_MIN
# undef WINT_MAX
# define WINT_MIN 0x0U
# define WINT_MAX 0xffffffffU
#endif

For some reason when this executes @GNULIB_OVERRIDES_WINT_T@ isn't defined.

Cheers,
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170126/8a043c9f/attachment-0002.html>


More information about the Openembedded-core mailing list