Re: Build versionless .so for Android

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Matthias Kuhn <matthias(at)opengis(dot)ch>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Build versionless .so for Android
Date: 2024-01-02 17:43:01
Message-ID: CA+TgmobfTy9_VJpmRWoZ0bi-jbv69BXCiTJJuAvtVL7JXWZZbQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Dec 31, 2023 at 1:24 AM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> FWIW, I have mixed feelings about patching the code to treat
> android-linux as an exception while changing nothing in the
> documentation to explain why this is required. A custom patch may
> serve you better here, and note that you did not even touch the meson
> paths. See libpq_c_args in src/interfaces/libpq/meson.build as one
> example. That's just my opinion, of course, still there are no
> buildfarm members that would cover your patch.

It's reasonable to want good comments -- the one in the patch (1)
doesn't explain why this is required and (2) suggests that it is only
needed when cross-compiling which seems surprising and (3) has a typo.
But if it's true that this is needed, I tentatively think we might do
better to take the patch than force people to carry it out of tree.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2024-01-02 17:50:04 Re: add AVX2 support to simd.h
Previous Message Robert Haas 2024-01-02 17:36:38 Re: SET ROLE x NO RESET