Re: LLVM strip -x fails
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Palle Girgensohn <girgen@pingpong.net>, pgsql-hackers@postgresql.org,
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Date: 2023-04-20T16:43:48Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > Afaict the only safe thing to use when stripping static libs is > -g/--strip-debug. The previous complaint about this [1] suggested we use --strip-unneeded for all cases with GNU strip, same as we've long done for shared libs. It's an easy enough change, but I wonder if anyone will complain. regards, tom lane [1] https://www.postgresql.org/message-id/17898-5308d09543463266%40postgresql.org
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