From e8c9c16b19dad17314a27c041fb7aeebcdbbbd31 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 21 Sep 2021 08:17:11 -0700 Subject: newlib: Enable --disable-newlib-reent-check-verify In the newlib-3.3 release reent-check is enabled by default. The reent-check is needed to ensure memory is not NULL. See: https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=8b39f7406c7b819bc45a83e9c94531221a6b3b34 We need to disable this check on microblaze, as iostream library test cases fail with an assert error. Signed-off-by: Mark Hatle --- meta-microblaze/recipes-core/newlib/microblaze-newlib.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-microblaze/recipes-core/newlib/microblaze-newlib.inc b/meta-microblaze/recipes-core/newlib/microblaze-newlib.inc index c9589bfe..bc9b389c 100644 --- a/meta-microblaze/recipes-core/newlib/microblaze-newlib.inc +++ b/meta-microblaze/recipes-core/newlib/microblaze-newlib.inc @@ -14,3 +14,7 @@ SRC_URI:append:microblaze = " \ file://0011-Fixed-the-bug-in-crtinit.s-for-MB-64.patch \ file://0012-libc-machine-microblaze-strcmp.c-Fix-missing-end-of-.patch \ " + +EXTRA_OECONF_append_xilinx-standalone_microblaze = " \ + --disable-newlib-reent-check-verify \ +" -- cgit v1.2.3-54-g00ecf