On Thu, Aug 21, 2014 at 6:06 AM, David Coakley <dcoak...@gmail.com> wrote:
> Hello,
>
> There is an easy fix for the getopts issue.  If one of the Open64
> gatekeepers can approve the following patch, I will check it in.
>
> -David
>
> Commit message:
>
> Update gen_x_set to use modern Perl.
>
> Index: osprey/common/util/gen_x_set
> ===================================================================
> --- osprey/common/util/gen_x_set (revision 4072)
> +++ osprey/common/util/gen_x_set (working copy)
> @@ -111,7 +111,7 @@
>  ### ====================================================================
>  ### ====================================================================
>
> -require "getopts.pl";
> +use Getopt::Std;
>
>  # Look for the templates in the same directory as this script resides.
>  #
> @@ -119,7 +119,7 @@
>  $utildir =~ s=/[^/]*$==;
>  $utildir = '.' if ( $utildir eq $0 );
>
> -&Getopts("fs");
> +getopts("fs");
>
>  # Macro or functional interface?
>  #

It works for me. Problem still goes on:

make make_deps
make[3]: 正在进入目录 `/home/nancy/work/build-open64/osprey/targdir/ipl'
C++    
/home/nancy/work/build-open64/osprey/targdir/ipl//home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/loop_info.cxx
In file included from /usr/include/c++/4.8/ext/hash_map:60:0,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/strtab.h:146,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/symtab.h:75,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_core.h:52,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn.h:58,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/loop_info.h:79,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/loop_info.cxx:69:
/usr/include/c++/4.8/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header which may be removed without further notice at a future date.
Please use a non-deprecated interface with equivalent functionality
instead. For a listing of replacement headers and interfaces, consult
the file backward_warning.h. To disable this warning use
-Wno-deprecated. [-Wcpp]
 #warning \
  ^
In file included from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/be/lno/lnopt_main.h:708:0,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/be/lno/soe.h:314,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/loop_info.cxx:71:
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/config_lno.h:397:1:
warning: ‘typedef’ was ignored in this declaration [enabled by
default]
 };
 ^
C++    
/home/nancy/work/build-open64/osprey/targdir/ipl//home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_main.cxx
In file included from /usr/include/c++/4.8/ext/hash_map:60:0,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/strtab.h:146,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/symtab.h:75,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_core.h:52,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn.h:58,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_main.cxx:82:
/usr/include/c++/4.8/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header which may be removed without further notice at a future date.
Please use a non-deprecated interface with equivalent functionality
instead. For a listing of replacement headers and interfaces, consult
the file backward_warning.h. To disable this warning use
-Wno-deprecated. [-Wcpp]
 #warning \
  ^
In file included from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_summarize_template.h:66:0,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_main.cxx:101:
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:
In instantiation of ‘void WN_TREE_ITER<(TRAV_ORDER)0u,
WHIRL>::Unwind() [with WHIRL = WN*]’:
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:362:13:
  required from ‘void WN_TREE_ITER<(TRAV_ORDER)0u,
WHIRL>::WN_TREE_next_skip() [with WHIRL = WN*]’
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:373:24:
  required from ‘void WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::Skip(UINT)
[with WHIRL = WN*; UINT = unsigned int]’
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_summarize_template.h:960:13:
  required from here
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:458:27:
warning: ‘Set_wn’ was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]
         Set_wn(WN_next(wn));
                           ^
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:458:27:
note: declarations in dependent base ‘WN_TREE_ITER_base<WN*>’ are not
found by unqualified lookup
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:458:27:
note: use ‘this->Set_wn’ instead
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:467:55:
warning: ‘Set_wn’ was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]
         Set_wn(WN_kid(parent_wn,this->Inc_kid_index()));
                                                       ^
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:467:55:
note: declarations in dependent base ‘WN_TREE_ITER_base<WN*>’ are not
found by unqualified lookup
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:467:55:
note: use ‘this->Set_wn’ instead
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:
In instantiation of ‘void WN_TREE_ITER<(TRAV_ORDER)0u,
WHIRL>::Unwind() [with WHIRL = const WN*]’:
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:362:13:
  required from ‘void WN_TREE_ITER<(TRAV_ORDER)0u,
WHIRL>::WN_TREE_next_skip() [with WHIRL = const WN*]’
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_summarize_template.h:267:30:
  required from ‘void Set_Addr_Taken_Attrib(const WN*,
SUMMARIZE<program>*) [with PROGRAM program = (PROGRAM)0u]’
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_summarize_template.h:405:43:
  required from ‘void Recompute_Addr_Taken(const WN*,
SUMMARIZE<program>*) [with PROGRAM program = (PROGRAM)0u]’
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_summarize_template.h:444:32:
  required from ‘void SUMMARIZE<program>::Summarize(WN*) [with PROGRAM
program = (PROGRAM)0u]’
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_main.cxx:302:26:
  required from here
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:458:27:
warning: ‘Set_wn’ was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]
         Set_wn(WN_next(wn));
                           ^
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:458:27:
note: declarations in dependent base ‘WN_TREE_ITER_base<const WN*>’
are not found by unqualified lookup
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:458:27:
note: use ‘this->Set_wn’ instead
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:467:55:
warning: ‘Set_wn’ was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]
         Set_wn(WN_kid(parent_wn,this->Inc_kid_index()));
                                                       ^
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:467:55:
note: declarations in dependent base ‘WN_TREE_ITER_base<const WN*>’
are not found by unqualified lookup
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:467:55:
note: use ‘this->Set_wn’ instead
C++    
/home/nancy/work/build-open64/osprey/targdir/ipl//home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_bread_write.cxx
In file included from /usr/include/c++/4.8/ext/hash_map:60:0,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/strtab.h:146,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/symtab.h:75,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_core.h:52,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn.h:58,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_bread_write.cxx:52:
/usr/include/c++/4.8/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header which may be removed without further notice at a future date.
Please use a non-deprecated interface with equivalent functionality
instead. For a listing of replacement headers and interfaces, consult
the file backward_warning.h. To disable this warning use
-Wno-deprecated. [-Wcpp]
 #warning \
  ^
C++    
/home/nancy/work/build-open64/osprey/targdir/ipl//home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_summary_print.cxx
In file included from /usr/include/c++/4.8/ext/hash_map:60:0,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/strtab.h:146,
                 from
/home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_summary_print.cxx:65:
/usr/include/c++/4.8/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header which may be removed without further notice at a future date.
Please use a non-deprecated interface with equivalent functionality
instead. For a listing of replacement headers and interfaces, consult
the file backward_warning.h. To disable this warning use
-Wno-deprecated. [-Wcpp]
 #warning \
  ^
C++    
/home/nancy/work/build-open64/osprey/targdir/ipl//home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/ipa/local/ipl_summarize_util.cxx
g++: error: unrecognized command line option ‘-CG:all_sched=0’
make[3]: *** [ipl_summarize_util.o] 错误 1
make[3]:正在离开目录 `/home/nancy/work/build-open64/osprey/targdir/ipl'
make[2]: *** [default] 错误 2
make[2]:正在离开目录 `/home/nancy/work/build-open64/osprey/targdir/ipl'
make[1]: *** [ipl.so] 错误 2
make[1]:正在离开目录 `/home/nancy/work/build-open64'
make: *** [build] 错误 2
nancy@nancy-ThinkPad-T61:~/work/build-open64$


-- 
Best Regards,
Yu Rong Tan

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to