]> code.ossystems Code Review - openembedded-core.git/commit
gcc: Drop stdlib++ option patch
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 Dec 2021 23:34:57 +0000 (23:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Feb 2022 09:05:17 +0000 (09:05 +0000)
commit34b0edb0d3120c32063ff7e3dd52be20d60401d5
tree9e0f8171c2c1807b60eb95234d6e382b382d586a
parent47a2efa96d8ac29024dbc6a577457c5b53111949
gcc: Drop stdlib++ option patch

The patch to gcc to disable use of libstdc++ when configuring the library
during gcc-runtime is old and there are perhaps better ways to do this now.

If removed, most builds still "work" but incorrect values for things like
atomic ops are found during configure. mips64 and ppc fail with on target
simple tests of g++ in testimage.

Instead we can create a dummy libstdc++ which allows the correct configure
test results to be obtained.

Discussed with upstream about the patch are ongoing, if accepted, we can
switch back to the commandline option if it is added in future.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-11.2.inc
meta/recipes-devtools/gcc/gcc-runtime.inc
meta/recipes-devtools/gcc/gcc/0005-optional-libstdc.patch [deleted file]