[Mesa-users] Mesa compile problem: macosx-version-min is not compatible

Tinggui Wang twang at ustc.edu.cn
Wed Oct 26 05:39:34 UTC 2022


Dear Mesa-users,


I am trying to install latest release mesa-r22.05.1 on my Macbook with M1-chip, and encounter incompatible macosx-version-min problem. I got an error message "<built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'".




MESA Version r22.05.1

Darwin Kernel Version 22.1.0

MESASDK aarch64-macos-22.8.1 gcc version 12.1.0




The install.log file is attached. Can someone give me some suggetions on how to fix the problem. 




many thanks.
Tinggui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20221026/384c9cf3/attachment.htm>
-------------- next part --------------

*** Copy and paste the following information into your email to mesa-users ***

MESA Version
r22.05.1

uname -a
Darwin MacBook-Pro.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64

gfortran -v
Using built-in specs.
COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/Applications/mesasdk/bin/../libexec/gcc/aarch64-apple-darwin20/12.1.0/lto-wrapper
Target: aarch64-apple-darwin20
Configured with: /Users/townsend/devel/sdk2-tmp/build/gcc/configure CC=clang CXX=clang++ --build=aarch64-apple-darwin20 --host=aarch64-apple-darwin20 --target=aarch64-apple-darwin20 --prefix=/Users/townsend/devel/sdk2-tmp/mesasdk --with-gmp=/Users/townsend/devel/sdk2-tmp/mesasdk --with-mpfr=/Users/townsend/devel/sdk2-tmp/mesasdk --with-mpc=/Users/townsend/devel/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --with-sysroot=/Users/townsend/devel/sdk2-tmp/mesasdk/sysroot --without-build-config
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.1.0 (GCC) 

$MESASDK_ROOT
/Applications/mesasdk

MESASDK version
aarch64-macos-22.8.1

$PATH
/Applications/mesasdk/bin:/Applications/mesasdk/bin:/Applications/mesasdk/bin:/Applications/mesasdk/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/twang/anaconda2/bin:/usr/local/opt/openssl/bin:/Users/twang/anaconda3/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin

$MESA_DIR
/Users/twang/software/mesa-r22.05.1


/Users/twang/software/mesa/const
building const package.

make: `../tester' is up to date.
export
done

mesa/const has been built, tested, and exported.

************************************************

/Users/twang/software/mesa/utils
building utils package.

CC ../private/utils_c_system.c
<built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'
make: *** [utils_c_system.o] Error 1

/Users/twang/software/mesa/utils/make
FAILED


/Users/twang/software/mesa/utils
./build_and_test FAILED



More information about the Mesa-users mailing list