From: Howard Spoelstra <hsp.cat7@gmail.com>
To: qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: Error detecting linker while compiling qemu-system-ppc on macOS
Date: Mon, 6 Nov 2023 07:45:25 +0100 [thread overview]
Message-ID: <CABLmASHL3etTk7b1Tbg6rcZD+qGZXcPBkAR0+tcJP+EJdXF63Q@mail.gmail.com> (raw)
In-Reply-To: <CABLmASGc6fybw7mL5JHUCukwoB6KjGaaWHct5mi20A2vXZhtaA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2221 bytes --]
Hi all,
I'm getting a error while compiling on macOS (Intel). It seems linker
detection is passed an unknown argument "--version", whereas "-v" works OK?
See log below.
Thanks for looking into this,
Howard
Build started at 2023-11-06T07:29:19.181487
Main binary: /Users/hsp/src/qemu-ppc/build/pyvenv/bin/python3.11
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/hsp/src/qemu-ppc
Build dir: /Users/hsp/src/qemu-ppc/build
Build type: native build
Project name: qemu
Project version: 8.1.50
-----
Detecting compiler via: cc -m64 -mcx16 --version
compiler returned <Popen: returncode: 0 args: ['cc', '-m64', '-mcx16',
'--version']>
compiler stdout:
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: x86_64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
compiler stderr:
Running command: cc -m64 -mcx16 -E -dM -
-----
Detecting linker via: cc -m64 -mcx16 -Wl,--version
linker returned <Popen: returncode: 1 args: ['cc', '-m64', '-mcx16',
'-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 -m64 -mcx16 -Wl,-v
linker stdout:
linker stderr:
@(#)PROGRAM:ld PROJECT:dyld-1015.7
BUILD 18:48:43 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 -m64
-mcx16 -Wl,--version`
stdout:
stderr: ld: unknown options: --version
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
[-- Attachment #2: Type: text/html, Size: 2654 bytes --]
next prev parent reply other threads:[~2023-11-06 6:46 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-04 21:59 [PATCH v7 0/7] Misc ppc/mac machines clean up BALATON Zoltan
2023-01-04 21:59 ` [PATCH v7 1/7] input/adb: Only include header where needed BALATON Zoltan
2023-01-05 13:45 ` Philippe Mathieu-Daudé
2023-01-10 22:12 ` Mark Cave-Ayland
2023-01-04 21:59 ` [PATCH v7 2/7] mac_{old,new}world: Use local variable instead of qdev_get_machine() BALATON Zoltan
2023-01-05 7:23 ` [PATCH v7 2/7] mac_{old, new}world: " Philippe Mathieu-Daudé
2023-01-05 17:15 ` [PATCH v7 2/7] mac_{old,new}world: " Bernhard Beschow
2023-01-10 22:13 ` [PATCH v7 2/7] mac_{old, new}world: " Mark Cave-Ayland
2023-01-04 21:59 ` [PATCH v7 3/7] mac_{old,new}world: Pass MacOS VGA NDRV in card ROM instead of fw_cfg BALATON Zoltan
2023-01-10 22:25 ` Mark Cave-Ayland
2023-01-11 0:54 ` BALATON Zoltan
2023-01-22 17:54 ` Mark Cave-Ayland
2023-01-22 22:16 ` BALATON Zoltan
2023-01-23 22:12 ` Mark Cave-Ayland
2023-01-24 0:13 ` BALATON Zoltan
2023-02-01 23:23 ` Mark Cave-Ayland
2023-02-02 0:46 ` BALATON Zoltan
2023-01-04 21:59 ` [PATCH v7 4/7] mac_newworld: Add machine types for different mac99 configs BALATON Zoltan
2023-01-10 22:46 ` Mark Cave-Ayland
2023-01-11 0:36 ` BALATON Zoltan
2023-01-22 17:39 ` Mark Cave-Ayland
2023-01-22 21:48 ` BALATON Zoltan
2023-01-22 22:18 ` Josh Juran
2023-01-23 21:36 ` Mark Cave-Ayland
2023-01-24 0:36 ` BALATON Zoltan
2023-01-04 21:59 ` [PATCH v7 5/7] mac_newworld: Deprecate mac99 with G5 CPU BALATON Zoltan
2023-01-05 7:28 ` Philippe Mathieu-Daudé
2023-01-05 11:58 ` BALATON Zoltan
2023-01-04 21:59 ` [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option BALATON Zoltan
2023-01-05 14:28 ` Philippe Mathieu-Daudé
2023-01-05 16:06 ` BALATON Zoltan
2023-01-10 22:52 ` Mark Cave-Ayland
2023-01-11 0:12 ` BALATON Zoltan
2023-01-12 20:22 ` Howard Spoelstra
2023-01-12 23:51 ` BALATON Zoltan
2023-01-13 7:26 ` Howard Spoelstra
2023-01-13 13:32 ` BALATON Zoltan
2023-01-22 18:06 ` Mark Cave-Ayland
2023-01-22 22:07 ` BALATON Zoltan
2023-01-23 22:06 ` Mark Cave-Ayland
2023-01-23 23:16 ` Howard Spoelstra
2023-01-24 1:47 ` BALATON Zoltan
2023-01-24 11:24 ` Howard Spoelstra
2023-01-24 14:13 ` BALATON Zoltan
2023-01-24 15:02 ` Howard Spoelstra
2023-01-24 15:31 ` BALATON Zoltan
2023-01-26 10:06 ` Howard Spoelstra
2023-01-26 14:16 ` BALATON Zoltan
2023-01-26 20:55 ` BALATON Zoltan
2023-01-26 22:48 ` Howard Spoelstra
2023-01-27 0:03 ` BALATON Zoltan
2023-01-27 2:27 ` BALATON Zoltan
2023-01-27 7:01 ` Howard Spoelstra
2023-11-06 6:45 ` Howard Spoelstra [this message]
2023-11-06 10:37 ` Error detecting linker while compiling qemu-system-ppc on macOS BALATON Zoltan
2023-01-24 1:24 ` [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option BALATON Zoltan
2023-01-24 16:37 ` BALATON Zoltan
2023-01-24 21:05 ` Warner Losh
2023-01-04 21:59 ` [PATCH v7 7/7] mac_newworld: Document deprecation BALATON Zoltan
2023-01-05 7:31 ` Philippe Mathieu-Daudé
2023-01-05 12:02 ` BALATON Zoltan
2023-02-01 23:31 ` [PATCH v7 0/7] Misc ppc/mac machines clean up Mark Cave-Ayland
2023-02-01 23:59 ` BALATON Zoltan
2023-02-07 16:50 ` BALATON Zoltan
-- strict thread matches above, loose matches on Subject: below --
2023-11-06 11:36 Error detecting linker while compiling qemu-system-ppc on macOS Howard Spoelstra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABLmASHL3etTk7b1Tbg6rcZD+qGZXcPBkAR0+tcJP+EJdXF63Q@mail.gmail.com \
--to=hsp.cat7@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).