|
From: | graydon hoare |
Subject: | [Monotone-devel] Re: FreeBSD/sparc64 |
Date: | Sun, 05 Sep 2004 14:03:03 -0400 |
User-agent: | Opera M2/7.53 (Linux, build 737) |
On Thu, 02 Sep 2004 19:34:52 -0500, Corey Halpin <address@hidden> wrote:
Hello. I've been trying to get monotone to compile on FreeBSD/sparc64. I have been successful, after applying the attached patch.
thanks!
Program received signal SIGSEGV, Segmentation fault. 0x0000000040e5f490 in memcpy () from /lib/libc.so.5 (gdb) bt #0 0x0000000040e5f490 in memcpy () from /lib/libc.so.5 #1 0x00000000004ddd80 in std::string::append () #2 0x000000000027a134 in boost::io::detail::(anonymous namespace)::mk_str<char, std::char_traits<char> > (address@hidden, beg=0x75ec18 "C", '?' <repeats 199 times>..., size=-1, w=0, fill_char=32 ' ', f=4098, prefix_space=0 '\0', center=false) at feed_args.hpp:73 #3 0x0000000000279ad0 in boost::io::detail::(anonymous namespace)::put<char, std::char_traits<char>, char const* const&> (address@hidden, address@hidden, address@hidden, address@hidden) at feed_args.hpp:165
not sure, but it looks like perhaps boost::format is not 64-bit or BE-clean (passing a -1 as a size argument?).. in general basic_format::operator%(char const*) shouldn't really have many ways it can go wrong. I haven't hardware around to diagnose this with, unfortunately. if you figure out what's going wrong please let us know. -graydon
[Prev in Thread] | Current Thread | [Next in Thread] |