pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. 6+ messages / 1 participants [nested] [flat]
* pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. @ 2017-12-09 09:02 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2017-12-09 09:02 UTC (permalink / raw) To: pgsql-committers MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. Notably, this permits linking to the 32-bit Perl binaries advertised on perl.org, namely Strawberry Perl and ActivePerl. This has a side effect of permitting linking to binaries built with obsolete MSVC versions. By default, MSVC 2012 and later require a "safe exception handler table" in each binary. MinGW-built, 32-bit DLLs lack the relevant exception handler metadata, so linking to them failed with error LNK2026. Restore the semantics of MSVC 2010, which omits the table from a given binary if some linker input lacks metadata. This has no effect on 64-bit builds or on MSVC 2010 and earlier. Back-patch to 9.3 (all supported versions). Reported by Victor Wagner. Discussion: https://postgr.es/m/20160326154321.7754ab8f@wagner.wagner.home Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/055532badd16b01f54951559139cb664c456cb8f Modified Files -------------- src/tools/msvc/MSBuildProject.pm | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. @ 2017-12-09 09:02 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2017-12-09 09:02 UTC (permalink / raw) To: pgsql-committers MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. Notably, this permits linking to the 32-bit Perl binaries advertised on perl.org, namely Strawberry Perl and ActivePerl. This has a side effect of permitting linking to binaries built with obsolete MSVC versions. By default, MSVC 2012 and later require a "safe exception handler table" in each binary. MinGW-built, 32-bit DLLs lack the relevant exception handler metadata, so linking to them failed with error LNK2026. Restore the semantics of MSVC 2010, which omits the table from a given binary if some linker input lacks metadata. This has no effect on 64-bit builds or on MSVC 2010 and earlier. Back-patch to 9.3 (all supported versions). Reported by Victor Wagner. Discussion: https://postgr.es/m/20160326154321.7754ab8f@wagner.wagner.home Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e2cc65050b0bad0b6b0e291f1d0bf1b44b2b1369 Modified Files -------------- src/tools/msvc/MSBuildProject.pm | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. @ 2017-12-09 09:02 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2017-12-09 09:02 UTC (permalink / raw) To: pgsql-committers MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. Notably, this permits linking to the 32-bit Perl binaries advertised on perl.org, namely Strawberry Perl and ActivePerl. This has a side effect of permitting linking to binaries built with obsolete MSVC versions. By default, MSVC 2012 and later require a "safe exception handler table" in each binary. MinGW-built, 32-bit DLLs lack the relevant exception handler metadata, so linking to them failed with error LNK2026. Restore the semantics of MSVC 2010, which omits the table from a given binary if some linker input lacks metadata. This has no effect on 64-bit builds or on MSVC 2010 and earlier. Back-patch to 9.3 (all supported versions). Reported by Victor Wagner. Discussion: https://postgr.es/m/20160326154321.7754ab8f@wagner.wagner.home Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/7e0c574ee26ce0308b76166312788e909b555c23 Modified Files -------------- src/tools/msvc/MSBuildProject.pm | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. @ 2017-12-09 09:02 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2017-12-09 09:02 UTC (permalink / raw) To: pgsql-committers MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. Notably, this permits linking to the 32-bit Perl binaries advertised on perl.org, namely Strawberry Perl and ActivePerl. This has a side effect of permitting linking to binaries built with obsolete MSVC versions. By default, MSVC 2012 and later require a "safe exception handler table" in each binary. MinGW-built, 32-bit DLLs lack the relevant exception handler metadata, so linking to them failed with error LNK2026. Restore the semantics of MSVC 2010, which omits the table from a given binary if some linker input lacks metadata. This has no effect on 64-bit builds or on MSVC 2010 and earlier. Back-patch to 9.3 (all supported versions). Reported by Victor Wagner. Discussion: https://postgr.es/m/20160326154321.7754ab8f@wagner.wagner.home Branch ------ REL9_3_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/70dc7ad584f50f1c02d4d4a67bdf77b378017fa9 Modified Files -------------- src/tools/msvc/MSBuildProject.pm | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. @ 2017-12-09 09:02 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2017-12-09 09:02 UTC (permalink / raw) To: pgsql-committers MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. Notably, this permits linking to the 32-bit Perl binaries advertised on perl.org, namely Strawberry Perl and ActivePerl. This has a side effect of permitting linking to binaries built with obsolete MSVC versions. By default, MSVC 2012 and later require a "safe exception handler table" in each binary. MinGW-built, 32-bit DLLs lack the relevant exception handler metadata, so linking to them failed with error LNK2026. Restore the semantics of MSVC 2010, which omits the table from a given binary if some linker input lacks metadata. This has no effect on 64-bit builds or on MSVC 2010 and earlier. Back-patch to 9.3 (all supported versions). Reported by Victor Wagner. Discussion: https://postgr.es/m/20160326154321.7754ab8f@wagner.wagner.home Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d78c3ca0ea1012d9c944bae981b13151e4f86dcb Modified Files -------------- src/tools/msvc/MSBuildProject.pm | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. @ 2017-12-09 09:02 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2017-12-09 09:02 UTC (permalink / raw) To: pgsql-committers MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. Notably, this permits linking to the 32-bit Perl binaries advertised on perl.org, namely Strawberry Perl and ActivePerl. This has a side effect of permitting linking to binaries built with obsolete MSVC versions. By default, MSVC 2012 and later require a "safe exception handler table" in each binary. MinGW-built, 32-bit DLLs lack the relevant exception handler metadata, so linking to them failed with error LNK2026. Restore the semantics of MSVC 2010, which omits the table from a given binary if some linker input lacks metadata. This has no effect on 64-bit builds or on MSVC 2010 and earlier. Back-patch to 9.3 (all supported versions). Reported by Victor Wagner. Discussion: https://postgr.es/m/20160326154321.7754ab8f@wagner.wagner.home Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/470de6a24d37d630515c5112e1bebe03a742b2c8 Modified Files -------------- src/tools/msvc/MSBuildProject.pm | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2017-12-09 09:02 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 09:02 pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. Noah Misch <noah@leadboat.com> 2017-12-09 09:02 pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. Noah Misch <noah@leadboat.com> 2017-12-09 09:02 pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. Noah Misch <noah@leadboat.com> 2017-12-09 09:02 pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. Noah Misch <noah@leadboat.com> 2017-12-09 09:02 pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. Noah Misch <noah@leadboat.com> 2017-12-09 09:02 pgsql: MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries. 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