-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression: No build machine compiler for xx with meson 0.64.1 on osx #11143
Comments
Your C compiler for build machine failed sanity checks:
The build machine compiler is optional by default when cross compiling, if you want to make it required, I think you need |
Yeah because it is ignoring the required Also this is not a cross build but native build with compiler settings extracted from a cmake and fed into meson. So where is the code for the sanity check so that I can feed it |
Can you try setting |
doesn't make a difference. |
-isysroot, -m32/-m64 and similar options that affect the multilib search path must be specified directly in the I agree that this should be documented better. |
Why? Checking just the compiler is invalid. The check must always contain the required |
@bonzini Really? See e.g. https://github.com/mesonbuild/meson/blob/master/cross/iphone.txt. |
Cool you found a bug. |
picolibc/picolibc#263 shows why using c_args for -sysroot is a bad idea independent of the problem you are reporting (which may still be worth fixing, mind—but you have a problem anyway in your native file):
|
Describe the bug
Error:
../src/v1.0.12-5d4a52388f.clean/gen.tab/meson.build:37:0: ERROR: No build machine compiler for 'gen.tab/gen-unicode-version.c'
Native File:
meson-x64-osx-dbg.log
Config File:
config-x64-osx-dbg-out.log
config-x64-osx-dbg-meson-log.txt.log
Expected behavior
Meson finds the specified compiler as the build system compiler
system parameters
VCPKG CI; All worked fine with meson 063.0; Other platforms than OSX also works fine.
The text was updated successfully, but these errors were encountered: