[OE-core] [RFC PATCH 5/5] mesa: Enforce TOOLCHAIN="gcc"
Böszörményi Zoltán
zboszor at pr.hu
Wed Feb 26 15:14:21 UTC 2020
2020. 02. 26. 16:00 keltezéssel, Khem Raj írta:
> On Wed, Feb 26, 2020 at 6:08 AM Böszörményi Zoltán via
> Openembedded-core <openembedded-core at lists.openembedded.org> wrote:
>>
>> When meta-clang is used, for example to build chromium-x11 from
>> meta-browser, a linker error occurs in Zeus.
>>
>> See: https://gitlab.freedesktop.org/mesa/mesa/issues/2533
>>
>> Signed-off-by: Böszörményi Zoltán <zboszor at pr.hu>
>> ---
>> meta/recipes-graphics/mesa/mesa.inc | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
>> index 800e8813c7..b8f09a2ed3 100644
>> --- a/meta/recipes-graphics/mesa/mesa.inc
>> +++ b/meta/recipes-graphics/mesa/mesa.inc
>> @@ -24,6 +24,8 @@ PROVIDES = " \
>> virtual/mesa \
>> "
>>
>> +TOOLCHAIN = "gcc"
>
> lets fix the linker error instead.
The linker errors were similar to reports I found on some forums
from a couple of years ago and they all pointed to RTTI needed
to be enabled in LLVM/CLANG. But it didn't help.
This is a good workaround until meta-clang is fixed to build Mesa.
>
>> +
>> inherit meson pkgconfig python3native gettext features_check
>>
>> # Unset these to stop python trying to report the target Python setup
>> --
>> 2.24.1
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list