Re: [OE-core] [PATCH] gcc-runtime: Fix build when using gold

2022-07-15 Thread Khem Raj
On 7/14/22 5:15 AM, Richard Purdie wrote: If gold is enabled as the default linker, it errors trying to link to our dummy library empty file and this turns off things which should be present in libstdc++. For example, _GLIBCXX_HAVE_S_ISREG isn't defined and HAVE_S_ISREG in libstdc++-v3/config.

[OE-core] [PATCH] gcc-runtime: Fix build when using gold

2022-07-14 Thread Richard Purdie
If gold is enabled as the default linker, it errors trying to link to our dummy library empty file and this turns off things which should be present in libstdc++. For example, _GLIBCXX_HAVE_S_ISREG isn't defined and HAVE_S_ISREG in libstdc++-v3/config.h isn't set properly. Instead of just creatin