From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Annoying build warnings from latest Apple toolchain |
Date: | 2023-09-27 20:52:44 |
Message-ID: | 687188.1695847964@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2023-09-27 21:26:42 | Re: Eager page freeze criteria clarification |
Previous Message | Heikki Linnakangas | 2023-09-27 20:46:20 | Re: Checks in RegisterBackgroundWorker.() |