pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: configure: check for dlsym instead of dlopen.
6+ messages / 1 participants
[nested] [flat]

* pgsql: configure: check for dlsym instead of dlopen.
@ 2022-03-23 19:45  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 19:45 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

configure: check for dlsym instead of dlopen.

When building with sanitizers the sanitizer library provides dlopen, but not
dlsym(), making configure think that -ldl isn't needed. Just checking for
dlsym() ought to suffice, hard to see dlsym() being provided without dlopen()
also being provided.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a77dddb42e0916f8c0962b758668d49e8fd81cc8

Modified Files
--------------
configure    | 27 +++++++++++++++------------
configure.in |  5 ++++-
2 files changed, 19 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: configure: check for dlsym instead of dlopen.
@ 2022-03-23 19:45  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 19:45 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

configure: check for dlsym instead of dlopen.

When building with sanitizers the sanitizer library provides dlopen, but not
dlsym(), making configure think that -ldl isn't needed. Just checking for
dlsym() ought to suffice, hard to see dlsym() being provided without dlopen()
also being provided.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6a767bc2e71254f74f0b8c576fa584b789cda00e

Modified Files
--------------
configure    | 27 +++++++++++++++------------
configure.in |  5 ++++-
2 files changed, 19 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: configure: check for dlsym instead of dlopen.
@ 2022-03-23 19:45  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 19:45 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

configure: check for dlsym instead of dlopen.

When building with sanitizers the sanitizer library provides dlopen, but not
dlsym(), making configure think that -ldl isn't needed. Just checking for
dlsym() ought to suffice, hard to see dlsym() being provided without dlopen()
also being provided.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2a919372655d64a5ed848b84a09b54d685aec446

Modified Files
--------------
configure    | 27 +++++++++++++++------------
configure.in |  5 ++++-
2 files changed, 19 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: configure: check for dlsym instead of dlopen.
@ 2022-03-23 19:45  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 19:45 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

configure: check for dlsym instead of dlopen.

When building with sanitizers the sanitizer library provides dlopen, but not
dlsym(), making configure think that -ldl isn't needed. Just checking for
dlsym() ought to suffice, hard to see dlsym() being provided without dlopen()
also being provided.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7c163aa93fe6e37f231cef9ac08d5041855228fa

Modified Files
--------------
configure    | 27 +++++++++++++++------------
configure.in |  5 ++++-
2 files changed, 19 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: configure: check for dlsym instead of dlopen.
@ 2022-03-23 19:45  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 19:45 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

configure: check for dlsym instead of dlopen.

When building with sanitizers the sanitizer library provides dlopen, but not
dlsym(), making configure think that -ldl isn't needed. Just checking for
dlsym() ought to suffice, hard to see dlsym() being provided without dlopen()
also being provided.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e71c76fcab8d00defe9a7a608facdd9663f7bcbf

Modified Files
--------------
configure    | 27 +++++++++++++++------------
configure.ac |  5 ++++-
2 files changed, 19 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: configure: check for dlsym instead of dlopen.
@ 2022-03-23 19:45  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 19:45 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

configure: check for dlsym instead of dlopen.

When building with sanitizers the sanitizer library provides dlopen, but not
dlsym(), making configure think that -ldl isn't needed. Just checking for
dlsym() ought to suffice, hard to see dlsym() being provided without dlopen()
also being provided.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e52e9bd57f33da1c4a915e24d0a24759a23cb5fd

Modified Files
--------------
configure    | 27 +++++++++++++++------------
configure.ac |  5 ++++-
2 files changed, 19 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2022-03-23 19:45 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23 19:45 pgsql: configure: check for dlsym instead of dlopen. Andres Freund <andres@anarazel.de>
2022-03-23 19:45 pgsql: configure: check for dlsym instead of dlopen. Andres Freund <andres@anarazel.de>
2022-03-23 19:45 pgsql: configure: check for dlsym instead of dlopen. Andres Freund <andres@anarazel.de>
2022-03-23 19:45 pgsql: configure: check for dlsym instead of dlopen. Andres Freund <andres@anarazel.de>
2022-03-23 19:45 pgsql: configure: check for dlsym instead of dlopen. Andres Freund <andres@anarazel.de>
2022-03-23 19:45 pgsql: configure: check for dlsym instead of dlopen. Andres Freund <andres@anarazel.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox