Some patchs for errors compiling x86 Open64 4.5.2 on Slackware64
perl 5.16 obsolete getopts, ( _SC_CLK_TCK + sysconf) errors, g++:error:unrecognized option '-CG:all_sched=0'
***********************************************
--- ./osprey/be/opt/opt_emit.cxx.orig 2012-08-08 08:14:06.000000000 -0300
+++ ./osprey/be/opt/opt_emit.cxx 2012-08-12 20:03:04.850966207 -0300
@@ -78,6 +78,7 @@
#include
#include
+#include
#include "defs.h"
#include "tracing.h"
#include "erglob.h"
--- ./osprey/ipa/local/Makefile.gbase.orig 2012-08-08 08:14:43.000000000 -0300
+++ ./osprey/ipa/local/Makefile.gbase 2012-08-12 20:30:36.601746311 -0300
@@ -338,4 +338,6 @@
#----------------------------------------------------------------------
# Temporary workaround
#----------------------------------------------------------------------
+ifeq ($(BUILD_COMPILER), OPEN64)
ipl_summarize_util.o: OPTIMIZER += -CG:all_sched=0
+endif
\ No newline at end of file
--- ./osprey/common/util/gen_x_set.orig 2012-08-08 08:14:37.000000000 -0300
+++ ./osprey/common/util/gen_x_set 2012-08-09 17:17:02.046382148 -0300
@@ -111,7 +111,8 @@
### ====================================================================
### ====================================================================
-require "getopts.pl";
+#require "getopts.pl";
+use Getopt::Std;
# Look for the templates in the same directory as this script resides.
#
@@ -119,7 +120,8 @@
$utildir =~ s=/[^/]*$==;
$utildir = '.' if ( $utildir eq $0 );
-&Getopts("fs");
+#&Getopts("fs");
+getopts("fs");
# Macro or functional interface?
#