Re: LLVM strip -x fails

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, Palle Girgensohn <girgen(at)pingpong(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: LLVM strip -x fails
Date: 2023-04-21 16:41:54
Message-ID: e0793c82-d4a6-a51b-41c7-2c1d73aac5aa@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 20.04.23 17:33, Andres Freund wrote:
> Peter, it's unlikely given the timeframe, but do you happen to remember why
> you specified -x when stripping static libs? This seems to be all the way back
> from
>
> commit 563673e15db995b6f531b44be7bb162330ac157a
> Author: Peter Eisentraut<peter_e(at)gmx(dot)net>
> Date: 2002-04-10 16:45:25 +0000
>
> Add make install-strip target.
>
>
> Afaict the only safe thing to use when stripping static libs is
> -g/--strip-debug.

I suspect this was copied from GNU Libtool. Libtool still has that but
later changed the stripping of static libraries on darwin to "strip -S".
Maybe should adopt that.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2023-04-21 16:49:04 Re: LLVM strip -x fails
Previous Message Gurjeet Singh 2023-04-21 16:38:53 Re: Minor code de-duplication in fe-connect.c