id = 1939 title = "qemu master git can no longer be compiled under MacOs Sonoma 14.0" state = "closed" created_at = "2023-10-14T15:23:00.586Z" closed_at = "2023-11-28T13:01:24.984Z" labels = ["Build System", "workflow::Patch available"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1939" host-os = "MacOs" host-arch = "ARM" qemu-version = "- QEMU command line:" guest-os = "- OS/kernel version:" guest-arch = "## Description of problem" description = """""" reproduce = """Qemu master git fails to compile under MacOs M1/2, I already tested it with "git-bisect" "git bisect good" and "git bisect bad".All dependencies for qemu are fulfilled and were installed using Homebrew under MacOs.It fails with these commits: `>>>>> commit 7c3fb52bcdaef85b15a91b3ca4d1516f9d9b5402 >>>>> Author: Paolo Bonzini >>>>> Date: Tue Aug 8 20:28:25 2023 +0200 >>>>> >>>>> configure: never use PyPI for Meson >>>>> >>>>> Since there is a vendored copy, there is no point in choosing >> online >>>> >>>>> operation. >>>>> >>>>> Signed-off-by: Paolo Bonzini >> >>>>> >>>>> configure | 6 ------ >>>>> 1 file changed, 6 deletions(-) >>>>>`""" additional = """Older sources Qemu 8.1 can be compiled without problems. The only thing that has changed is that I did a major system update and Xcode was also updated. Since then compiling on qemu master version 8.1.50 breaks. ``` `On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean Mac-Studio qemu % ./configure --target-list=ppc-softmmu Using './build' as the directory for build output python determined to be '/Library/Frameworks/Python.framework/Versions/3.10/bin/python3' python version: Python 3.10.8 mkvenv: Creating non-isolated virtual environment at 'pyvenv' mkvenv: checking for tomli>=1.2.0 mkvenv: installing tomli>=1.2.0 mkvenv: checking for meson>=0.63.0 mkvenv: installing meson==0.63.3 mkvenv: checking for sphinx>=1.6 mkvenv: checking for sphinx_rtd_theme>=0.5 'sphinx==5.3.0' not found: • Python package 'sphinx' was not found nor installed. • mkvenv was configured to operate offline and did not check PyPI. Sphinx not found/usable, disabling docs. Disabling PIE due to missing toolchain support The Meson build system Version: 0.63.3 Source dir: /Users/qemu Build dir: /Users/qemu/build Build type: native build Project name: qemu Project version: 8.1.50 ../meson.build:1:0: ERROR: Unable to detect linker for compiler `cc -Wl,--version` stdout: stderr: ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation)` ```"""