Re: LLVM strip -x fails
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>,
Palle Girgensohn <girgen@pingpong.net>,
pgsql-hackers@postgresql.org
Date: 2023-04-21T17:30:31Z
Lists: pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes: > On 21.04.23 19:00, Tom Lane wrote: >> If you use both -x and -S, you get the same file sizes as with -x >> alone. Not sure why we should change anything here. > The complaint was that -x doesn't work correctly, no? The complaint was that it doesn't work correctly if you are using llvm-strip. However, llvm-strip will be picked up by the previous test for GNU strip, independently of what platform you're on. The code in question here is only concerned with Apple's strip. regards, tom lane
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
-
Add make install-strip target.
- 563673e15db9 7.3.1 cited