From: | Noah Misch <noah(at)leadboat(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | pgsql-hackers(at)postgresql(dot)org, robertmhaas(at)gmail(dot)com |
Subject: | Re: static libpq (and other libraries) overwritten on aix |
Date: | 2022-08-19 05:56:43 |
Message-ID: | 20220819055643.GB442595@rfd.leadboat.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Aug 18, 2022 at 09:03:57AM -0700, Andres Freund wrote:
> My point is that we currently, across most of the other platforms, support
> building a "proper" static library, and install it too. But on AIX (and I
> think mingw), we don't, but without an explicit comment about not doing so. In
> fact, the all-static-lib target on those platforms will build a non-static
> library, which seems not great.
Yep. If someone had just pushed a correct patch to make AIX match our
GNU/Linux static linking assistance, I wouldn't be arguing to revert that
patch. At the same time, if someone asks me to choose high-value projects for
20 people, doing more for static linking on AIX won't be on the list.
> On 2022-08-17 21:59:29 -0700, Noah Misch wrote:
> > Along the lines of Robert's comment, it could be a nice code beautification to
> > use a different suffix for the short-lived .a file. Perhaps _so_inputs.a.
>
> Agreed, it'd be an improvement.
>
> Afaict we could just stop building the intermediary static lib. Afaict the
> MKLDEXPORT path isn't needed for libraries without an exports.txt because the
> linker defaults to exporting "most" symbols
If that works, great.
From | Date | Subject | |
---|---|---|---|
Next Message | Drouvot, Bertrand | 2022-08-19 06:12:51 | Re: shared-memory based stats collector - v70 |
Previous Message | Thomas Munro | 2022-08-19 05:54:56 | Re: Cleaning up historical portability baggage |