Re: LLVM strip -x fails

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LLVM strip -x fails
Дата
Msg-id 3180311.1682025668@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: LLVM strip -x fails  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2023-04-20 12:43:48 -0400, Tom Lane wrote:
>> 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.

> I doubt anybody wants to strip symbols and keep debug information, so I doubt
> there's much ground for complaints?

Agreed.  It doesn't look like --strip-unneeded is a worse choice than -x.

> Oddly the output of llvm-strip confuses binutils objdump enough that it claims
> that "file format not recognized". Not sure which side is broken there.

Not our problem, I'd say ...

> llvm-strip's output is a lot larger than gnu strip's:

... nor that.  These things do suggest that llvm-strip isn't all that
close to being ready for prime time, but if FreeBSD wants to push the
envelope on toolchain usage, who are we to stand in the way?

I'll go make it so.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: Improve logging when using Huge Pages
Следующее
От: Ranier Vilela
Дата:
Сообщение: Re: Incremental sort for access method with ordered scan support (amcanorderbyop)