# HG changeset patch # User John Beck # Date 1420906706 28800 # Node ID 1504f7bde5fd87f874239b43f9e12ad783947862 # Parent 29f21fba058ae2a83c91f428a6e1c9c962ca5c36 20334734 several Python 3.4 tests trigger core dumps on sparc diff -r 29f21fba058a -r 1504f7bde5fd 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