[Buildroot] [PATCH v3 1/1] package/gcc: pass -Wno-error to debug builds

Peter Korsgaard peter at korsgaard.com
Wed Apr 8 14:34:27 UTC 2020


>>>>> "James" == James Hilliard <james.hilliard1 at gmail.com> writes:

 > Fixes:
 > ../../../../libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: ‘st.st_mode’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 >    return S_ISLNK (st.st_mode);
 >                      ^
 > Upstream has been unable to reproduce/fix properly, details:
 > https://gcc.gnu.org/legacy-ml/gcc-patches/2019-03/threads.html#00827

 > Upstream recommends passing -Wno-error as a workaround, see:
 > https://gcc.gnu.org/pipermail/gcc-patches/2019-April/519867.html

 > Reviewed-by: Romain Naour <romain.naour at gmail.com>
 > Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
 > ---
 > Changes v2 -> v3:
 >   - add more details to message
 > Changes v1 -> v2:
 >   - add comment from Yocto recipes

Committed to 2019.02.x, 2019.11.x and 2020.02.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list