20334734 several Python 3.4 tests trigger core dumps on sparc s11-update
authorJohn Beck <John.Beck@Oracle.COM>
Sat, 10 Jan 2015 08:18:26 -0800
branchs11-update
changeset 3791 1504f7bde5fd
parent 3790 29f21fba058a
child 3792 482769b9a31b
20334734 several Python 3.4 tests trigger core dumps on sparc
components/pylint/pylint-GENFRAG.p5m
components/pylint/pylint-PYVER.p5m
components/python/python34/Makefile
--- a/components/python/python34/Makefile	Fri Jan 09 08:39:56 2015 -0800
+++ b/components/python/python34/Makefile	Sat Jan 10 08:18:26 2015 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -76,6 +76,9 @@
 # build pic
 CFLAGS +=	$(CC_PIC)
 
+# 16-byte memory alignment + interpretation of non-alignment prevents SIGBUS.
+studio_ALIGN.sparc.64 = -xmemalign=16i
+
 # The python build is profile-guided for studio; to see the benefits of that,
 # Python must be compiled with -xO5 and a different build target must be used.
 # Use of xprofile requires that the same options be used during compilation and