Boost logo

Boost Users :

From: Bruce Reid (b.reid_at_[hidden])
Date: 2007-08-16 16:03:55


Vladimir Prus <ghost <at> cs.msu.su> writes:

>
> Bruce Reid wrote:
>
> > Found the cause of my previous trouble, and can now cross-build library
> > for my target PowerPC platform.
>
> What was the cause?

My operator error. The makefile was pointing to libraries built from a previous
failed attempt, and after successfully cross-building them in a different
location, I forgot to update the makefile.
 
> > However, my attempt to build and run the serialization example program
> > demo_xml_save.cpp resulted in a segmentation fault with the backtrace
> > below.
> >

> > #0 0x0ff69004 in std::basic_ios<char, std::char_traits<char>
> > #>::widen(char)
> > const () from /usr/lib/libstdc++.so.5
> > #1 0x0ff956f0 in std::ostream::operator<<(long)() from
> > #/usr/lib/libstdc++.so.5
> > #2 0x0ff95ba4 in std::ostream::operator<<(int)()
> > #from/usr/lib/libstdc++.so.5
>
> Weird. Are you sure the version of libstdc++ on the PowerPC system
> where you run this is the same as included with your cross-compiler?

A large amount of software has been built for this embedded PowerPC application
using the same set of tools without any libstdc++ compatibility issues, so I'm
fairly confident the problem lies elsewhere, though I don't have a clue where,
and can't afford any more time spent on this approach.

>
> - Volodya
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net