From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@lists.postgresql.org
Subject: Re: Annoying build warnings from latest Apple toolchain
Date: Wed, 27 Sep 2023 16:52:44 -0400
Message-ID: <687188.1695847964@sss.pgh.pa.us> (raw)
In-Reply-To: <673900.1695841549@sss.pgh.pa.us>
References: <467042.1695766998@sss.pgh.pa.us>
<673900.1695841549@sss.pgh.pa.us>
I wrote:
> I've not yet looked at the meson build infrastructure to
> see if it needs a corresponding change.
I think it doesn't, as long as all the relevant build targets
write their dependencies with "frontend_code" before "libpq".
(The need for this is, of course, documented nowhere. The state
of the documentation for our meson build system is abysmal.)
However, it's hard to test this, because the meson build
seems completely broken on current macOS:
-----
$ meson setup build --prefix=$HOME/pginstall
The Meson build system
Version: 0.64.1
Source dir: /Users/tgl/pgsql
Build dir: /Users/tgl/pgsql/build
Build type: native build
Project name: postgresql
Project version: 17devel
meson.build:9: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)
A full log can be found at /Users/tgl/pgsql/build/meson-logs/meson-log.txt
-----
That log file offers no more detail than the terminal output did.
(I also tried with a more recent meson version, 1.1.1, with
the same result.)
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org
Subject: Re: Annoying build warnings from latest Apple toolchain
In-Reply-To: <687188.1695847964@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox