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?
#
On Wed, Aug 20, 2014 at 6:47 AM, Nancy <nancydream...@gmail.com> wrote:
> On Wed, Aug 20, 2014 at 1:43 PM, Jian-Xin Lai <laij...@gmail.com> wrote:
> >
> > gcc 4.8 is too new to compile the open64 5.0. From the error message,
> you may try to change "osprey/linux/make/gcommondefs" to add "-fpermissive"
> to CXXFLAGS/CFLAGS to see if it works.
>
> I think it works. But comes another problem(both with or without
> target specified)
> sh
> /home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/be/cg/gra_mon/gen_lrange_set
> /home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/util
> Can't locate getopts.pl in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18
> /usr/local/lib/site_perl .) at
>
> /home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/util/gen_x_set
> line 114.
> make[3]: *** [lrange_set.td] 错误 2
> make[3]:正在离开目录 `/home/nancy/work/build-open64/osprey/targdir/cg'
> make[2]: *** [default] 错误 2
> make[2]:正在离开目录 `/home/nancy/work/build-open64/osprey/targdir/cg'
> make[1]: *** [cg.so] 错误 2
> make[1]:正在离开目录 `/home/nancy/work/build-open64'
> make: *** [build] 错误 2
> nancy@nancy-ThinkPad-T61:~/work/build-open64$
>
> Where is "getopts.pl"? no in open64 sourcecode, lack of perl-dev lib?
> I have tried to install perl dev lib, still the same result. Sorry I
> do not familar with perl, maybe still not install the correct one.
>
>
> > BTW, are you going to build a cross compiler targeting to IA-64? If not,
> the '--target=blahblah' should be removed.
>
> I had tried all targets docs said, all failed. I thought IA-64 is your
> major maintaining jobs, so chose that.
>
>
> --
> 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
>
------------------------------------------------------------------------------
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