20010352 userland should move to parfait 1.5.1
authorMike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 12 Nov 2014 09:56:14 -0800
changeset 2204 f83e0e3cf2d7
parent 2203 b97f18780dfe
child 2205 af632779536e
20010352 userland should move to parfait 1.5.1
components/cmake/Makefile
components/ghostscript/Makefile
components/imagemagick/Makefile
components/mpc/parfait/configure.patch
components/net-snmp/Makefile
components/openssl/openssl-1.0.1-fips-140/Makefile
make-rules/shared-macros.mk
tools/Makefile
--- a/components/cmake/Makefile	Wed Nov 12 07:33:39 2014 -0800
+++ b/components/cmake/Makefile	Wed Nov 12 09:56:14 2014 -0800
@@ -22,10 +22,6 @@
 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 
-# parfait seems to hang on libcmsysTestDynload.so.bc, so for
-# now we have to disable it.
-export PARFAIT_BUILD=no
-
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		cmake
@@ -55,9 +51,6 @@
 # as CONFIGURE_OPTIONS; otherwise the correct compilers are not used
 CONFIGURE_ENV +=	CC="$(CC)"	
 CONFIGURE_ENV +=	CXX="$(CXX)"	
-ifeq   ($(strip $(PARFAIT_BUILD)),yes)
-CONFIGURE_ENV +=	CXXFLAGS="-library=stdcxx4"	
-endif
 CONFIGURE_ENV +=	LDFLAGS="$(LDFLAGS)"	
 CONFIGURE_ENV +=	MAKE="$(GMAKE)"	
 
--- a/components/ghostscript/Makefile	Wed Nov 12 07:33:39 2014 -0800
+++ b/components/ghostscript/Makefile	Wed Nov 12 09:56:14 2014 -0800
@@ -22,7 +22,7 @@
 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 
-# parfait seems to spin when looking at the .bc files (18376682), so
+# parfait seems to spin when looking at the .bc files (13704877), so
 # for now disable it.
 PARFAIT_BUILD=no
 
--- a/components/imagemagick/Makefile	Wed Nov 12 07:33:39 2014 -0800
+++ b/components/imagemagick/Makefile	Wed Nov 12 09:56:14 2014 -0800
@@ -23,9 +23,6 @@
 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 
-# 14275946 parfait doesn't know about i, _imaginary_i
-PARFAIT_BUILD=no
-
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=			ImageMagick
--- a/components/mpc/parfait/configure.patch	Wed Nov 12 07:33:39 2014 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
---- mpc-0.9/configure.orig	Wed Jan 25 11:05:39 2012
-+++ mpc-0.9/configure	Wed Jan 25 11:05:46 2012
-@@ -10989,7 +10989,7 @@
- 
- fi
- 
--for ac_header in complex.h locale.h inttypes.h stdint.h limits.h unistd.h sys/time.h
-+for ac_header in locale.h inttypes.h stdint.h limits.h unistd.h sys/time.h
- do :
-   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
- ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
--- a/components/net-snmp/Makefile	Wed Nov 12 07:33:39 2014 -0800
+++ b/components/net-snmp/Makefile	Wed Nov 12 09:56:14 2014 -0800
@@ -21,9 +21,6 @@
 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 
-# parfait is upset about some inline assembly
-export PARFAIT_BUILD=no
-
 include ../../make-rules/shared-macros.mk
 
 PATH=$(SPRO_VROOT)/bin:/usr/gnu/bin:/usr/bin
--- a/components/openssl/openssl-1.0.1-fips-140/Makefile	Wed Nov 12 07:33:39 2014 -0800
+++ b/components/openssl/openssl-1.0.1-fips-140/Makefile	Wed Nov 12 09:56:14 2014 -0800
@@ -25,6 +25,9 @@
 include ../../../make-rules/shared-macros.mk
 
 PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/perl5/bin
+ifeq   ($(strip $(PARFAIT_BUILD)),yes)
+PATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/perl5/bin
+endif
 
 COMPONENT_NAME =	openssl-fips-140
 # Note that this is the OpenSSL version that is used to build FIPS-140 certified
--- a/make-rules/shared-macros.mk	Wed Nov 12 07:33:39 2014 -0800
+++ b/make-rules/shared-macros.mk	Wed Nov 12 09:56:14 2014 -0800
@@ -248,7 +248,7 @@
 SPRO_ROOT =	$(BUILD_TOOLS)/SUNWspro
 SPRO_VROOT =	$(SPRO_ROOT)/solarisstudio12.3
 
-PARFAIT_ROOT =	$(BUILD_TOOLS)/parfait/parfait-tools-1.4
+PARFAIT_ROOT =	$(BUILD_TOOLS)/parfait/parfait-tools-1.5.1
 PARFAIT_TOOLS=	$(WS_TOOLS)/$(MACH)/parfait
 PARFAIT_TOOLS_GCC3=	$(PARFAIT_TOOLS)/gcc3
 PARFAIT= $(PARFAIT_ROOT)/bin/parfait
--- a/tools/Makefile	Wed Nov 12 07:33:39 2014 -0800
+++ b/tools/Makefile	Wed Nov 12 09:56:14 2014 -0800
@@ -30,9 +30,6 @@
 # with the correct compiler variables from the common makefiles because
 # some things reset the environment which causes lovely infinite
 # loops
-#
-# currently, parfait doesn't support gcc4.7+, so we force the use
-# of gcc3 in both sets of wrappers.
 links:
 	@$(MKDIR) $(PARFAIT_TOOLS)
 	@for i in cc CC gcc g++ ld ; do \
@@ -41,8 +38,8 @@
 		echo "IFS=" >> $(PARFAIT_TOOLS)/$$i ; \
 		echo "export PARFAIT_NATIVESUNCC=$(SPRO_VROOT)/bin/cc" >> $(PARFAIT_TOOLS)/$$i ; \
 		echo "export PARFAIT_NATIVESUNCXX=$(SPRO_VROOT)/bin/CC" >> $(PARFAIT_TOOLS)/$$i ; \
-		echo "export PARFAIT_NATIVEGCC=$(GCC3_ROOT)/bin/gcc" >> $(PARFAIT_TOOLS)/$$i ; \
-		echo "export PARFAIT_NATIVEGXX=$(GCC3_ROOT)/bin/g++" >> $(PARFAIT_TOOLS)/$$i ; \
+		echo "export PARFAIT_NATIVEGCC=$(GCC_ROOT)/bin/gcc" >> $(PARFAIT_TOOLS)/$$i ; \
+		echo "export PARFAIT_NATIVEGXX=$(GCC_ROOT)/bin/g++" >> $(PARFAIT_TOOLS)/$$i ; \
 		echo "export PARFAIT_NATIVELD=/usr/bin/ld" >> $(PARFAIT_TOOLS)/$$i ; \
 		echo "exec" $(PARFAIT_ROOT)/$(MACH)/parfait-$$i '$$*' >> $(PARFAIT_TOOLS)/$$i ; \
 		chmod +x $(PARFAIT_TOOLS)/$$i ; \