Re: BUG #17898: Build failure when strip is LLVM's version
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: emaste@freebsd.org
Cc: pgsql-bugs@lists.postgresql.org
Date: 2023-04-20T22:15:38Z
Lists: pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes: > In FreeBSD we are experimenting with the use of LLVM's binutils-like tools, > including installing llvm-objcopy as strip. When this is done PostgreSQL > fails to build, with error Thanks for the report. > Within the FreeBSD ports collection TCL and PostgreSQL are the only > significant software packages affected by this issue. TCL addressed this by > using --strip-unneeded instead of -x. We've done likewise [1]. regards, tom lane [1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=a14afd3bdc21c0c56401fb8cb2fce74f4b7dc446
Commits
-
Use --strip-unneeded when stripping static libraries with GNU strip.
- a14afd3bdc21 15.3 landed
- eab2d3147e3c 16.0 landed
- e2e34dfff5e7 12.15 landed
- c976ccc9e557 11.20 landed
- 6dce37203410 13.11 landed
- 6d60b718ceb0 14.8 landed