summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/2831.toml
blob: 4886db83569d09db6151f6c611f7c9f7f48ef3fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
id = 2831
title = "unable to build on Sequoia 15.3"
state = "opened"
created_at = "2025-02-22T12:40:26.024Z"
closed_at = "n/a"
labels = ["Build System", "hostos: macOS"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/2831"
host-os = "MacOS Sequoia"
host-arch = "ARM M1"
qemu-version = "latest github source b69801d"
guest-os = "n/a"
guest-arch = "n/a"
description = """"""
reproduce = """1. git clone https://gitlab.com/qemu-project/qemu.git
2. ../configure --target-list=riscv32-softmmu --enable-debug
3. make

Error:
ld: multiple errors: archive member '/' not a mach-o file in '../qemu/build/subprojects/dtc/libfdt/libfdt.a'; archive member '/' not a mach-o file in '../qemu/build/libqemuutil.a'"""
additional = """I tried the more detailed "build for macos" instructions 
./configure --cc=clang-7 --cxx=clang++-7 --host-cc=clang-7 \\
--extra-cflags=-mavx2 \\
--extra-cxxflags="-I/usr/local/opt/llvm/include" \\
--extra-ldflags="-L/usr/local/opt/llvm/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib" \\
--target-list="<list of machines here>"

but this didn't work for any version of clang I tried, giving me the error in all cases:
ERROR: C compiler "clang-xxx" either does not exist or does not work."""