]> code.ossystems Code Review - openembedded-core.git/commit
gcc-5: Fix hang with mmusl option on cmdline
authorKhem Raj <raj.khem@gmail.com>
Thu, 30 Jun 2016 21:09:27 +0000 (14:09 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Jul 2016 16:24:59 +0000 (17:24 +0100)
commitb6f1b26db8a1da2aae9557eeb8aae5beb7af1a06
treef5d2ac6703ee1accfbf71d7f64ab118c7760331d
parent90a12e07ee22df900fa740c6c2f1efe41e93b9f4
gcc-5: Fix hang with mmusl option on cmdline

When using -m32 -mmusl options in this order, gcc hangs
in parsing the options decode_cmdline_options_to_array()
the reason is that we have broken the link when adding
mmusl options, the order of specifying libc was not kept
in order as a result it was unable to contruct the array
correctly and ended in parse hang.

We fix the options to specify the order properly.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-5.3/0044-Adding-mmusl-as-a-musl-libc-specifier-and-the-necess.patch