I think the problem might be libstdc++
On my machine, i have libstdc++.so.6.0.8 in /usr/lib

If i do rpm -qa | grep libstdc i get

compat-libstdc++-33-3.2.3-61
libstdc++44-devel-4.4.6-3.el5.1
libstdc++-4.1.2-52.el5
libstdc++-4.1.2-52.el5
compat-libstdc++-33-3.2.3-61


And i do strings libstdc++.so.6.0.8 | grep LIBCXX, i see

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_FORCE_NEW

So i will try to install a higher version of libstdc++ and see how it goes.
 


在 2014年9月23日,上午10:17,David P Grove <gro...@us.ibm.com> 写道:

> WangChen <wang...@163.com> wrote on 09/21/2014 09:12:52 AM:
> >
> > Hi, i’m compiling my code and get the following errors.
> > But I compiling the same code with no problem on my Mac10.9.4 and Archlinux.
> > 
> > x10c++: /home/finance/x10-2.4.3.2/stdlib/lib/libx10.so: undefined 
> > reference to `std::basic_ostream<char, std::char_traits<char> >& 
> > std::__ostream_insert<char, std::char_traits<char> >
> > (std::basic_ostream<char, std::char_traits<char> >&, char const*, 
> > long)@GLIBCXX_3.4.9'
> >      collect2: ld returned 1 exit status
> > x10c++: Non-zero return code: 1
> > 
> > I use x10-2.4.3.2 for linux x86_64
> > 
> > uname -a:
> > Linux node85 2.6.18-308.24.1.el5_TJUHPCC #1 SMP Tue Jul 16 18:07:41 
> > CST 2013 x86_64 x86_64 x86_64 GNU/Linux
> > 
> > g++ —version:
> > g++ (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3)
> > 
> 
> Hi,
> 
> My first wild guess would be a mismatch between the libstdc++ available on 
> your machine, and the one the pre-built X10 libx10.so is expecting.  Our 
> build machine looks fairly similar to yours, so I'm not that confident in my 
> guess.  But it seems possible.
> 
> Our build machine is RedHat 6.5.  If I do rpm -qa | grep libstdc++, I see:
> 
> [dgrove@triloka1 ~]$ rpm -qa | grep libstdc++
> libstdc++-4.4.7-4.el6.x86_64
> libstdc++-4.4.7-4.el6.i686
> libstdc++-devel-4.4.7-4.el6.x86_64
> 
> What do you see on your linux box?
> 
> --dave
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk_______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users
> 

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to