pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
6+ messages / 1 participants
[nested] [flat]
* pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
@ 2017-12-09 02:58 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-12-09 02:58 UTC (permalink / raw)
To: pgsql-committers
MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
Commits 5a5c2feca3fd858e70ea348822595547e6fa6c15 and
b5178c5d08ca59e30f9d9428fa6fdb2741794e65 introduced support for modern
MSVC-built, 32-bit Perl, but they broke use of MinGW-built, 32-bit Perl
distributions like Strawberry Perl and modern ActivePerl. Perl has no
robust means to report whether it expects a -D_USE_32BIT_TIME_T ABI, so
test this. Back-patch to 9.3 (all supported versions).
The chief alternative was a heuristic of adding -D_USE_32BIT_TIME_T when
$Config{gccversion} is nonempty. That banks on every gcc-built Perl
using the same ABI. gcc could change its default ABI the way MSVC once
did, and one could build Perl with gcc and the non-default ABI.
The GNU make build system could benefit from a similar test, without
which it does not support MSVC-built Perl. For now, just add a comment.
Most users taking the special step of building Perl with MSVC probably
build PostgreSQL with MSVC.
Discussion: https://postgr.es/m/20171130041441.GA3161526@rfd.leadboat.com
Branch
------
REL9_4_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/aed8d41af628c2fce661f1156ce4367db41da502
Modified Files
--------------
config/perl.m4 | 30 ++++----
src/tools/msvc/Mkvcbuild.pm | 169 ++++++++++++++++++++++++++++++++++++--------
2 files changed, 158 insertions(+), 41 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
@ 2017-12-09 02:58 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-12-09 02:58 UTC (permalink / raw)
To: pgsql-committers
MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
Commits 5a5c2feca3fd858e70ea348822595547e6fa6c15 and
b5178c5d08ca59e30f9d9428fa6fdb2741794e65 introduced support for modern
MSVC-built, 32-bit Perl, but they broke use of MinGW-built, 32-bit Perl
distributions like Strawberry Perl and modern ActivePerl. Perl has no
robust means to report whether it expects a -D_USE_32BIT_TIME_T ABI, so
test this. Back-patch to 9.3 (all supported versions).
The chief alternative was a heuristic of adding -D_USE_32BIT_TIME_T when
$Config{gccversion} is nonempty. That banks on every gcc-built Perl
using the same ABI. gcc could change its default ABI the way MSVC once
did, and one could build Perl with gcc and the non-default ABI.
The GNU make build system could benefit from a similar test, without
which it does not support MSVC-built Perl. For now, just add a comment.
Most users taking the special step of building Perl with MSVC probably
build PostgreSQL with MSVC.
Discussion: https://postgr.es/m/20171130041441.GA3161526@rfd.leadboat.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/65a00f30352a3c0ab5615fac008735b103cfa5bb
Modified Files
--------------
config/perl.m4 | 30 ++++----
src/tools/msvc/Mkvcbuild.pm | 170 ++++++++++++++++++++++++++++++++++++--------
2 files changed, 158 insertions(+), 42 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
@ 2017-12-09 02:58 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-12-09 02:58 UTC (permalink / raw)
To: pgsql-committers
MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
Commits 5a5c2feca3fd858e70ea348822595547e6fa6c15 and
b5178c5d08ca59e30f9d9428fa6fdb2741794e65 introduced support for modern
MSVC-built, 32-bit Perl, but they broke use of MinGW-built, 32-bit Perl
distributions like Strawberry Perl and modern ActivePerl. Perl has no
robust means to report whether it expects a -D_USE_32BIT_TIME_T ABI, so
test this. Back-patch to 9.3 (all supported versions).
The chief alternative was a heuristic of adding -D_USE_32BIT_TIME_T when
$Config{gccversion} is nonempty. That banks on every gcc-built Perl
using the same ABI. gcc could change its default ABI the way MSVC once
did, and one could build Perl with gcc and the non-default ABI.
The GNU make build system could benefit from a similar test, without
which it does not support MSVC-built Perl. For now, just add a comment.
Most users taking the special step of building Perl with MSVC probably
build PostgreSQL with MSVC.
Discussion: https://postgr.es/m/20171130041441.GA3161526@rfd.leadboat.com
Branch
------
REL9_6_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/140fa2fbad94bab0290851e25acdd727c9f67cb9
Modified Files
--------------
config/perl.m4 | 30 ++++----
src/tools/msvc/Mkvcbuild.pm | 170 ++++++++++++++++++++++++++++++++++++--------
2 files changed, 158 insertions(+), 42 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
@ 2017-12-09 02:58 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-12-09 02:58 UTC (permalink / raw)
To: pgsql-committers
MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
Commits 5a5c2feca3fd858e70ea348822595547e6fa6c15 and
b5178c5d08ca59e30f9d9428fa6fdb2741794e65 introduced support for modern
MSVC-built, 32-bit Perl, but they broke use of MinGW-built, 32-bit Perl
distributions like Strawberry Perl and modern ActivePerl. Perl has no
robust means to report whether it expects a -D_USE_32BIT_TIME_T ABI, so
test this. Back-patch to 9.3 (all supported versions).
The chief alternative was a heuristic of adding -D_USE_32BIT_TIME_T when
$Config{gccversion} is nonempty. That banks on every gcc-built Perl
using the same ABI. gcc could change its default ABI the way MSVC once
did, and one could build Perl with gcc and the non-default ABI.
The GNU make build system could benefit from a similar test, without
which it does not support MSVC-built Perl. For now, just add a comment.
Most users taking the special step of building Perl with MSVC probably
build PostgreSQL with MSVC.
Discussion: https://postgr.es/m/20171130041441.GA3161526@rfd.leadboat.com
Branch
------
REL9_5_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/1c1a572d055fa73e90ef6ee7a02fb5d33cc70ac9
Modified Files
--------------
config/perl.m4 | 30 ++++----
src/tools/msvc/Mkvcbuild.pm | 170 ++++++++++++++++++++++++++++++++++++--------
2 files changed, 158 insertions(+), 42 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
@ 2017-12-09 02:58 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-12-09 02:58 UTC (permalink / raw)
To: pgsql-committers
MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
Commits 5a5c2feca3fd858e70ea348822595547e6fa6c15 and
b5178c5d08ca59e30f9d9428fa6fdb2741794e65 introduced support for modern
MSVC-built, 32-bit Perl, but they broke use of MinGW-built, 32-bit Perl
distributions like Strawberry Perl and modern ActivePerl. Perl has no
robust means to report whether it expects a -D_USE_32BIT_TIME_T ABI, so
test this. Back-patch to 9.3 (all supported versions).
The chief alternative was a heuristic of adding -D_USE_32BIT_TIME_T when
$Config{gccversion} is nonempty. That banks on every gcc-built Perl
using the same ABI. gcc could change its default ABI the way MSVC once
did, and one could build Perl with gcc and the non-default ABI.
The GNU make build system could benefit from a similar test, without
which it does not support MSVC-built Perl. For now, just add a comment.
Most users taking the special step of building Perl with MSVC probably
build PostgreSQL with MSVC.
Discussion: https://postgr.es/m/20171130041441.GA3161526@rfd.leadboat.com
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/9b5c99790e83ca539932426f41ae6e14b1748e8d
Modified Files
--------------
config/perl.m4 | 30 ++++----
src/tools/msvc/Mkvcbuild.pm | 170 ++++++++++++++++++++++++++++++++++++--------
2 files changed, 158 insertions(+), 42 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
@ 2017-12-09 02:58 Noah Misch <noah@leadboat.com>
0 siblings, 0 replies; 6+ messages in thread
From: Noah Misch @ 2017-12-09 02:58 UTC (permalink / raw)
To: pgsql-committers
MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T.
Commits 5a5c2feca3fd858e70ea348822595547e6fa6c15 and
b5178c5d08ca59e30f9d9428fa6fdb2741794e65 introduced support for modern
MSVC-built, 32-bit Perl, but they broke use of MinGW-built, 32-bit Perl
distributions like Strawberry Perl and modern ActivePerl. Perl has no
robust means to report whether it expects a -D_USE_32BIT_TIME_T ABI, so
test this. Back-patch to 9.3 (all supported versions).
The chief alternative was a heuristic of adding -D_USE_32BIT_TIME_T when
$Config{gccversion} is nonempty. That banks on every gcc-built Perl
using the same ABI. gcc could change its default ABI the way MSVC once
did, and one could build Perl with gcc and the non-default ABI.
The GNU make build system could benefit from a similar test, without
which it does not support MSVC-built Perl. For now, just add a comment.
Most users taking the special step of building Perl with MSVC probably
build PostgreSQL with MSVC.
Discussion: https://postgr.es/m/20171130041441.GA3161526@rfd.leadboat.com
Branch
------
REL9_3_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/1886899420cefea32f3cd4ca38ef5187634e7d8e
Modified Files
--------------
config/perl.m4 | 30 ++++----
src/tools/msvc/Mkvcbuild.pm | 169 ++++++++++++++++++++++++++++++++++++--------
2 files changed, 158 insertions(+), 41 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2017-12-09 02:58 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-12-09 02:58 pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T. Noah Misch <noah@leadboat.com>
2017-12-09 02:58 pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T. Noah Misch <noah@leadboat.com>
2017-12-09 02:58 pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T. Noah Misch <noah@leadboat.com>
2017-12-09 02:58 pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T. Noah Misch <noah@leadboat.com>
2017-12-09 02:58 pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T. Noah Misch <noah@leadboat.com>
2017-12-09 02:58 pgsql: MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T. Noah Misch <noah@leadboat.com>
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