Makefile revision 7243
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
export PARFAIT_BUILD=no
BUILD_BITS= 64
TPNO= 29354
# Use gcc's default flags instead of userland's.
# The GNU compiler wants the GNU utilities.
# direct binding causes various testsuite failures
# /usr/lib/ld/map.noexdata destroys Intel
# /usr/lib/ld/map.noexbss destroys SPARC
# Mapfiles map.noexdata and map.noexbss mark the data + bss and bss
# segments non executable on x86 and SPARC respectively. The protection
# extends to the heap segment, if the heap is brk based, as is the case
# with gcc. Since the introduction of NXHEAP, this is controlled
# separately by the NXHEAP extension itself. Whether the heap should be
# executable or not should be reevaluated. For now, try to avoid
# "destruction" as hinted above.
# for some reason the fixincludes target fails with bash on Solaris.
# We are going to build the 64-bit version of the compiler and tools, but we
# want it to install in the normal .../{bin|lib}/... locations. GCC will
# take care of building and putting 32/64 bit objects in the right place
# under there.
# If the compiler used to build matches the compiler being built, there is no
# need for a 3 stage build.
else
# This is the target and it must be last
CONFIGURE_OPTIONS += $(GNU_ARCH)
# compile python modules
# To ensure that all tests that are expected to pass actually
# pass, we have to increase the stacksize limit to at least
# 16MB. Otherwise we'll get spurious failures in the test
# harness (gcc.c-torture/compile/limits-exprparen.c and others).
# With the soft stacksize limit set to 16384 we get reasonably good
# test results.
COMPONENT_TEST_ARGS = -k -i
# We don't have DejaGNU in S11.
'-e "s|\(Test Run By\).*|\1|" ' \
'-e "/\(Missing header fix: \).*/d" ' \
'-e "/\(\\*\\*\\* complex.h\).*/d" ' \
'-e "/\(\\*\\*\\* math.h\).*/d" ' \
'-e "/\(\\*\\*\\* stdio.h\).*/d" '
# Master test results are different between x86 and SPARC.