Hello,

For days I've been trying to compile qemu master git 8.1.50 from the current qemu sources under MacOs Sonoma, which fails. Older sources can be compiled without any problems, there seems to be a problem with Meson in the last source, version 0.63.3 is always tried to be used. Meson 1.2.3 is installed on my system via Homebrew.

I have already described the problem here:

https://gitlab.com/qemu-project/qemu/-/issues/1939

But unfortunately there has been no solution to the problem so far and so I ask for further help with the problem. Meson log:

Build started at 2023-10-31T09:29:38.493540
Main binary: /Users/reneengel/qemu/build/pyvenv/bin/python3
Build Options: -Db_pie=false -Ddocs=disabled -Dplugins=true '--native-file config-meson.cross'
Python system: Darwin
The Meson build system
Version: 0.63.3
Source dir: /Users/reneengel/qemu
Build dir: /Users/reneengel/qemu/build
Build type: native build
Project name: qemu
Project version: 8.1.50
-----
Detecting compiler via: cc --version
compiler returned <Popen: returncode: 0 args: ['cc', '--version']>
compiler stdout:
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

compiler stderr:

Running command: cc -E -dM -
-----
Detecting linker via: cc -Wl,--version
linker returned <Popen: returncode: 1 args: ['cc', '-Wl,--version']>
linker stdout:

linker stderr:
ld: unknown options: --version 
clang: error: linker command failed with exit code 1 (use -v to see invocation)

-----
Detecting Apple linker via: cc -Wl,-v
linker stdout:

linker stderr:
@(#)PROGRAM:ld  PROJECT:dyld-1015.7
BUILD 18:48:48 Aug 22 2023
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
will use ld-classic for: armv6 armv7 armv7s arm64_32 i386 armv6m armv7k armv7m armv7em
LTO support using: LLVM version 15.0.0 (static support for 29, runtime is 29)
TAPI support using: Apple TAPI version 15.0.0 (tapi-1500.0.12.3)
Library search paths:
/usr/local/lib
Framework search paths:
ld: Undefined symbols:
  _main, referenced from:
      <initial-undefines>
clang: error: linker command failed with exit code 1 (use -v to see invocation)


../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)


lg Rene 




Versendet mit Emailn.de - Freemail

* Unbegrenzt Speicherplatz
* Eigenes Online-Büro
* 24h besten Mailempfang
* Spamschutz, Adressbuch

Reply via email to