Re: Updated Issue 156 - mtn 1.0 (and some others have build/run failures) (monotone)

CooSoft Support <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
Blast - didn't notice the PCRE discrepancy...

Basically all packages that I built just used the standard options on 
configure apart from installation location (my intention is to build a 
stand alone binary with most dependencies statically built in like the 
main official binaries produced by the Monotone project).

Interesting about the Botan point. I'll have a fiddle around with it 
this weekend and see if either of those make a difference (the PCRE 
linkage needs to be fixed anyway). This might explain why once I had a 
binary that worked on Intel and not on AMD...

Many thanks Stephen - I'll get back to you and/or update the ticket.

Cheers,

Tony.
[email protected] wrote:
> Hello,
>
> The following issue has been updated:
>
> 156 - mtn 1.0 (and some others have build/run failures)
> Project: monotone
> Status: New
> Reported by: Tony Cooper
> URL: https://code.monotone.ca/p/monotone/issues/156/
> Labels:
>  Type:Crash
>  Priority:Medium
>
> Comments (last first):
>
> # By Stephen Leake, Mar 29, 2011:
>
> The stack trace indicates that Botan is trying to use SSE2 instructions; does your CPU actually have those?
>
> Did you compile Botan from source? If not, try that, and try explicitly disabling SSE2.
>
> Also, the PCRE versions don't match; it says you compiled with version 7.9, but are using 4.5 runtime library.
>
> # By Tony Cooper, Mar 27, 2011:
>
> I have experienced two problems when building and running mtn on WhiteBox Linux 4 respin 2 (pretty much equivalent to RHAS 4.2/4.3 Intel 32 bit).
>
> 1) The link command for mtn is missing -ldl and -lrt. Adding these makes it link ok. (-lrt needed for clock_gettime() and -ldl for a number of the dl library routines).
>
> 2) When run for most things it errors with an illegal instruction message:
>
> -----
> $ mtn --db=test-1_00.mtn db init
> mtn: fatal signal: Illegal instruction
> this is almost certainly a bug in monotone.
> please send this error message, the output of 'mtn version --full',
> and a description of what you were doing to <https://code.monotone.ca/p/monotone/issues/>
> do not send a core dump, but if you have one, 
> please preserve it in case we ask you for information from it.
> Illegal instruction
> -----
>
> mtn version --full gives:
>
> -----
> monotone 1.0 (base revision:
> 3405a2457cf8869f247a293d30cfe3a41b5eb5a2)
> Running on          : Linux 2.6.9-34.EL #1 Sun Mar 19 13:34:16 CST 2006 i686
> C++ compiler        : GNU C++ version 3.4.5 20051201 (Red Hat 3.4.5-2)
> C++ standard library: GNU libstdc++ version 20051201
> Boost version       : 1_33_1
> SQLite version      : 3.4.2 (compiled against 3.4.2)
> Lua version         : Lua 5.1
> PCRE version        : 4.5 01-December-2003 (compiled against 7.9)
> Botan version       : 1.8.2 (compiled against 1.8.2)
> Changes since base revision:
> format_version "1"
>
> new_manifest [b252820fde344fd3f5d023fd91de86522baa671d]
>
> old_revision [3405a2457cf8869f247a293d30cfe3a41b5eb5a2]
>
> patch "NEWS"
>  from [c636641e064654102ff4c37362c07cad9726c7a2]
>    to [282addc1d59cc722b9e713aa5e04605e9bd2289d]
>
>   Generated from data cached in the distribution;
>   further changes may have been made.
> -----
>
> I should also say that I have never had issues with the pre-built binaries.
>
> I can provide an strace should that be useful.
>
> Running in a debugger I get the following stack trace at the time the signal is caught:
> #0  0x08515843 in botan_sha1_sse2_compress ()
> #1  0x00000000 in ?? ()
>
> Cheers,
>
> Tony.
>
>
>
> --
> Issue: https://code.monotone.ca/p/monotone/issues/156/
>
> _______________________________________________
> Monotone-devel mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/monotone-devel
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.