pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs
@ 2022-11-27 14:19  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Andrew Dunstan @ 2022-11-27 14:19 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix binary mismatch for MSVC plperl vs gcc built perl libs

When loading plperl built against Strawberry perl or the msys2 ucrt perl
that have been built with gcc, a binary mismatch has been encountered
which looks like this:

loadable library and perl binaries are mismatched (got handshake key 0000000012800080, needed 0000000012900080)

To cure this we bring the handshake keys into sync by adding
NO_THREAD_SAFE_LOCALE to the defines used to build plperl.

Discussion: https://postgr.es/m/20211005004334.tgjmro4kuachwiuc@alap3.anarazel.de
Discussion: https://postgr.es/m/c2da86a0-2906-744c-923d-16da6047875e@dunslane.net

Backpatch to all live branches.

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/85565cbcad4a78dab5a60c457b0f6e0a740539ce

Modified Files
--------------
src/tools/msvc/Mkvcbuild.pm | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs
@ 2022-11-27 14:19  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Andrew Dunstan @ 2022-11-27 14:19 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix binary mismatch for MSVC plperl vs gcc built perl libs

When loading plperl built against Strawberry perl or the msys2 ucrt perl
that have been built with gcc, a binary mismatch has been encountered
which looks like this:

loadable library and perl binaries are mismatched (got handshake key 0000000012800080, needed 0000000012900080)

To cure this we bring the handshake keys into sync by adding
NO_THREAD_SAFE_LOCALE to the defines used to build plperl.

Discussion: https://postgr.es/m/20211005004334.tgjmro4kuachwiuc@alap3.anarazel.de
Discussion: https://postgr.es/m/c2da86a0-2906-744c-923d-16da6047875e@dunslane.net

Backpatch to all live branches.

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/68d89d80c3db06ad080a0f291e165456fb2f51f7

Modified Files
--------------
src/tools/msvc/Mkvcbuild.pm | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs
@ 2022-11-27 14:19  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Andrew Dunstan @ 2022-11-27 14:19 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix binary mismatch for MSVC plperl vs gcc built perl libs

When loading plperl built against Strawberry perl or the msys2 ucrt perl
that have been built with gcc, a binary mismatch has been encountered
which looks like this:

loadable library and perl binaries are mismatched (got handshake key 0000000012800080, needed 0000000012900080)

To cure this we bring the handshake keys into sync by adding
NO_THREAD_SAFE_LOCALE to the defines used to build plperl.

Discussion: https://postgr.es/m/20211005004334.tgjmro4kuachwiuc@alap3.anarazel.de
Discussion: https://postgr.es/m/c2da86a0-2906-744c-923d-16da6047875e@dunslane.net

Backpatch to all live branches.

Branch
------
REL_14_STABLE

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

Modified Files
--------------
src/tools/msvc/Mkvcbuild.pm | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs
@ 2022-11-27 14:19  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Andrew Dunstan @ 2022-11-27 14:19 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix binary mismatch for MSVC plperl vs gcc built perl libs

When loading plperl built against Strawberry perl or the msys2 ucrt perl
that have been built with gcc, a binary mismatch has been encountered
which looks like this:

loadable library and perl binaries are mismatched (got handshake key 0000000012800080, needed 0000000012900080)

To cure this we bring the handshake keys into sync by adding
NO_THREAD_SAFE_LOCALE to the defines used to build plperl.

Discussion: https://postgr.es/m/20211005004334.tgjmro4kuachwiuc@alap3.anarazel.de
Discussion: https://postgr.es/m/c2da86a0-2906-744c-923d-16da6047875e@dunslane.net

Backpatch to all live branches.

Branch
------
REL_15_STABLE

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

Modified Files
--------------
src/tools/msvc/Mkvcbuild.pm | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs
@ 2022-11-27 14:19  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Andrew Dunstan @ 2022-11-27 14:19 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix binary mismatch for MSVC plperl vs gcc built perl libs

When loading plperl built against Strawberry perl or the msys2 ucrt perl
that have been built with gcc, a binary mismatch has been encountered
which looks like this:

loadable library and perl binaries are mismatched (got handshake key 0000000012800080, needed 0000000012900080)

To cure this we bring the handshake keys into sync by adding
NO_THREAD_SAFE_LOCALE to the defines used to build plperl.

Discussion: https://postgr.es/m/20211005004334.tgjmro4kuachwiuc@alap3.anarazel.de
Discussion: https://postgr.es/m/c2da86a0-2906-744c-923d-16da6047875e@dunslane.net

Backpatch to all live branches.

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/724dd5649079a38193793c00292419917969effb

Modified Files
--------------
src/tools/msvc/Mkvcbuild.pm | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs
@ 2022-11-27 14:19  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Andrew Dunstan @ 2022-11-27 14:19 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix binary mismatch for MSVC plperl vs gcc built perl libs

When loading plperl built against Strawberry perl or the msys2 ucrt perl
that have been built with gcc, a binary mismatch has been encountered
which looks like this:

loadable library and perl binaries are mismatched (got handshake key 0000000012800080, needed 0000000012900080)

To cure this we bring the handshake keys into sync by adding
NO_THREAD_SAFE_LOCALE to the defines used to build plperl.

Discussion: https://postgr.es/m/20211005004334.tgjmro4kuachwiuc@alap3.anarazel.de
Discussion: https://postgr.es/m/c2da86a0-2906-744c-923d-16da6047875e@dunslane.net

Backpatch to all live branches.

Branch
------
master

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

Modified Files
--------------
src/tools/msvc/Mkvcbuild.pm | 3 +++
1 file changed, 3 insertions(+)



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


end of thread, other threads:[~2022-11-27 14:19 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-11-27 14:19 pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs Andrew Dunstan <andrew@dunslane.net>
2022-11-27 14:19 pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs Andrew Dunstan <andrew@dunslane.net>
2022-11-27 14:19 pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs Andrew Dunstan <andrew@dunslane.net>
2022-11-27 14:19 pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs Andrew Dunstan <andrew@dunslane.net>
2022-11-27 14:19 pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs Andrew Dunstan <andrew@dunslane.net>
2022-11-27 14:19 pgsql: Fix binary mismatch for MSVC plperl vs gcc built perl libs Andrew Dunstan <andrew@dunslane.net>

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