pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil
6+ messages / 1 participants
[nested] [flat]

* pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil
@ 2016-03-10 13:13 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Magnus Hagander @ 2016-03-10 13:13 UTC (permalink / raw)
  To: pgsql-committers

Avoid crash on old Windows with AVX2-capable CPU for VS2013 builds

The Visual Studio 2013 CRT generates invalid code when it makes a 64-bit
build that is later used on a CPU that supports AVX2 instructions using a
version of Windows before 7SP1/2008R2SP1.

Detect this combination, and in those cases turn off the generation of
FMA3, per recommendation from the Visual Studio team.

The bug is actually in the CRT shipping with Visual Studio 2013, but
Microsoft have stated they're only fixing it in newer major versions.
The fix is therefor conditioned specifically on being built with this
version of Visual Studio, and not previous or later versions.

Author: Christian Ullrich

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9d90388247e093cd9b3ead79954df2ac18bfeb66

Modified Files
--------------
src/backend/main/main.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil
@ 2016-03-10 13:13 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Magnus Hagander @ 2016-03-10 13:13 UTC (permalink / raw)
  To: pgsql-committers

Avoid crash on old Windows with AVX2-capable CPU for VS2013 builds

The Visual Studio 2013 CRT generates invalid code when it makes a 64-bit
build that is later used on a CPU that supports AVX2 instructions using a
version of Windows before 7SP1/2008R2SP1.

Detect this combination, and in those cases turn off the generation of
FMA3, per recommendation from the Visual Studio team.

The bug is actually in the CRT shipping with Visual Studio 2013, but
Microsoft have stated they're only fixing it in newer major versions.
The fix is therefor conditioned specifically on being built with this
version of Visual Studio, and not previous or later versions.

Author: Christian Ullrich

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ad9a15d3f156dd42f6ed5e47fff1fa77e974c351

Modified Files
--------------
src/backend/main/main.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil
@ 2016-03-10 13:13 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Magnus Hagander @ 2016-03-10 13:13 UTC (permalink / raw)
  To: pgsql-committers

Avoid crash on old Windows with AVX2-capable CPU for VS2013 builds

The Visual Studio 2013 CRT generates invalid code when it makes a 64-bit
build that is later used on a CPU that supports AVX2 instructions using a
version of Windows before 7SP1/2008R2SP1.

Detect this combination, and in those cases turn off the generation of
FMA3, per recommendation from the Visual Studio team.

The bug is actually in the CRT shipping with Visual Studio 2013, but
Microsoft have stated they're only fixing it in newer major versions.
The fix is therefor conditioned specifically on being built with this
version of Visual Studio, and not previous or later versions.

Author: Christian Ullrich

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8857488b64c34c8084a14ebefbd667fd5285d1a8

Modified Files
--------------
src/backend/main/main.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil
@ 2016-03-10 13:13 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Magnus Hagander @ 2016-03-10 13:13 UTC (permalink / raw)
  To: pgsql-committers

Avoid crash on old Windows with AVX2-capable CPU for VS2013 builds

The Visual Studio 2013 CRT generates invalid code when it makes a 64-bit
build that is later used on a CPU that supports AVX2 instructions using a
version of Windows before 7SP1/2008R2SP1.

Detect this combination, and in those cases turn off the generation of
FMA3, per recommendation from the Visual Studio team.

The bug is actually in the CRT shipping with Visual Studio 2013, but
Microsoft have stated they're only fixing it in newer major versions.
The fix is therefor conditioned specifically on being built with this
version of Visual Studio, and not previous or later versions.

Author: Christian Ullrich

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/270d8a12e57d995b333bdd0a0936c5dc6e5aa1e4

Modified Files
--------------
src/backend/main/main.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil
@ 2016-03-10 13:13 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Magnus Hagander @ 2016-03-10 13:13 UTC (permalink / raw)
  To: pgsql-committers

Avoid crash on old Windows with AVX2-capable CPU for VS2013 builds

The Visual Studio 2013 CRT generates invalid code when it makes a 64-bit
build that is later used on a CPU that supports AVX2 instructions using a
version of Windows before 7SP1/2008R2SP1.

Detect this combination, and in those cases turn off the generation of
FMA3, per recommendation from the Visual Studio team.

The bug is actually in the CRT shipping with Visual Studio 2013, but
Microsoft have stated they're only fixing it in newer major versions.
The fix is therefor conditioned specifically on being built with this
version of Visual Studio, and not previous or later versions.

Author: Christian Ullrich

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/78b597808108a9837b7cc3660eec4ddb9471ab2f

Modified Files
--------------
src/backend/main/main.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil
@ 2016-03-10 13:13 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Magnus Hagander @ 2016-03-10 13:13 UTC (permalink / raw)
  To: pgsql-committers

Avoid crash on old Windows with AVX2-capable CPU for VS2013 builds

The Visual Studio 2013 CRT generates invalid code when it makes a 64-bit
build that is later used on a CPU that supports AVX2 instructions using a
version of Windows before 7SP1/2008R2SP1.

Detect this combination, and in those cases turn off the generation of
FMA3, per recommendation from the Visual Studio team.

The bug is actually in the CRT shipping with Visual Studio 2013, but
Microsoft have stated they're only fixing it in newer major versions.
The fix is therefor conditioned specifically on being built with this
version of Visual Studio, and not previous or later versions.

Author: Christian Ullrich

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3e6385e27105a95ccc00ae475a37f83d431fc730

Modified Files
--------------
src/backend/main/main.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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


end of thread, other threads:[~2016-03-10 13:13 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-03-10 13:13 pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil Magnus Hagander <magnus@hagander.net>
2016-03-10 13:13 pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil Magnus Hagander <magnus@hagander.net>
2016-03-10 13:13 pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil Magnus Hagander <magnus@hagander.net>
2016-03-10 13:13 pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil Magnus Hagander <magnus@hagander.net>
2016-03-10 13:13 pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil Magnus Hagander <magnus@hagander.net>
2016-03-10 13:13 pgsql: Avoid crash on old Windows with AVX2-capable CPU for VS2013 buil Magnus Hagander <magnus@hagander.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