Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-08-15 15:30:19


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?

> However, my attempt to build and run the serialization example program
> demo_xml_save.cpp resulted in a segmentation fault with the backtrace
> below.
>
> This effort is proving to be so problematic every step of the way, that I
> believe I will have to abandon my decision to use the boost library
> entirely, and instead implement my own clunky dump methods for every
> object I had hoped to serialize. Unfortunate, but I don't have time for
> all the nonsense.
>
> #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?

- 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