2023. 02. 24. 11:05 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org
írta:
2023. 02. 24. 10:45 keltezéssel, Ross Burton írta:
On 24 Feb 2023, at 09:38, Zoltan Boszormenyi via lists.openembedded.org
<zboszor=gmail....@lists.openembedded.org> wrote:
-inherit meson pkgconfig python3native gettext features_check
+inherit meson pkgconfig python3native gettext features_check rust
This forces a dependency on rust-native, even if rusticl is disabled.
Is it actually needed? If so, make the inherit conditional.
I will do that, thanks.
Problem is, now the configure stage fails with:
| ../mesa-23.0.0/meson.build:964: WARNING: add_languages is missing native:, assuming
languages are wanted for both host and build.
| Compiler for language rust for the build machine not found.
|
| ../mesa-23.0.0/meson.build:964:2: ERROR: Rust compiler rustc -C
linker=x86_64-oe-linux-gcc -C link-arg=-m64 -C link-arg=-march=nehalem -C
link-arg=-mtune=generic -C link-arg=-mfpmath=sse -C link-arg=-msse4.2 -C
link-arg=-fstack-protector-strong -C link-arg=-O2 -C link-arg=-D_FORTIFY_SOURCE=2 -C
link-arg=-Wformat -C link-arg=-Wformat-security -C link-arg=-Werror=format-security -C
link-arg=--sysroot=/data2/dtd-yocto-4.0/tmp-sicom-glibc/work/corei7-64-oe-linux/mesa/2_23.0.0-r0/recipe-sysroot
can not compile programs.
|
| error: Error loading target specification: Could not find specification for target
"x86_64-linux". Run `rustc --print target-list` for a list of built-in targets
I also tried it with moving the conditionally set rust
between or before the already inherited classes.
It succeeds when inherit rust is not conditional.
Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#177675):
https://lists.openembedded.org/g/openembedded-core/message/177675
Mute This Topic: https://lists.openembedded.org/mt/97202946/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-