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.

BTW, are you going to build a cross compiler targeting to IA-64? If not,
the '--target=blahblah' should be removed.



2014-08-20 9:55 GMT+08:00 Nancy <nancydream...@gmail.com>:

> Hi,
>
> OS: Ubuntu kylin, gcc-4.8.2
>
> $../open64/./configure --target=ia64-unknown-linux-gnu
> --with-build-optimize=debug --with-build-compiler=GNU
> --prefix=/home/nancy/toolchains/open64
>
> $make
> ....
> C++
>  
> /home/nancy/work/build-open64/osprey/targdir/be//home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/be/com/fb_cfg.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/common/com/wn_util.h:308,
>                  from
> /home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/be/com/fb_cfg.cxx:68:
> /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/be//home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/be/com/fb_whirl.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/common/com/wn_util.h:308,
>                  from
> /home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/be/com/fb_whirl.cxx:81:
> /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/com/fb_whirl.cxx:86:0:
> /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:489:14:
>   required from ‘void WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::WN_TREE_next()
> [with WHIRL = WN*]’
> /home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:429:46:
>   required from ‘WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::self&
> WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::operator++() [with WHIRL = WN*;
> WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::self = WN_TREE_ITER<(TRAV_ORDER)0u,
> WN*>]’
> /home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/be/com/fb_whirl.cxx:522:52:
>   required from here
> /home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:458:27:
> error: ‘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:
> error: ‘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:489:14:
>   required from ‘void WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::WN_TREE_next()
> [with WHIRL = const WN*]’
> /home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:429:46:
>   required from ‘WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::self&
> WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::operator++() [with WHIRL = const WN*;
> WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::self = WN_TREE_ITER<(TRAV_ORDER)0u,
> const WN*>]’
> /home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/be/com/fb_whirl.cxx:3576:60:
>   required from here
> /home/nancy/work/build-open64/osprey/../../open64-5.0/./osprey/common/com/wn_tree_util.h:458:27:
> error: ‘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:
> error: ‘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
> make[3]: *** [fb_whirl.o] 错误 1
> make[3]:正在离开目录 `/home/nancy/work/build-open64/osprey/targdir/be'
> make[2]: *** [default] 错误 2
> make[2]:正在离开目录 `/home/nancy/work/build-open64/osprey/targdir/be'
> make[1]: *** [be.so] 错误 2
> make[1]:正在离开目录 `/home/nancy/work/build-open64'
> make: *** [build] 错误 2
>
>
> --
> 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
>
>


-- 
Regards,
Lai Jian-Xin
------------------------------------------------------------------------------
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