[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Updated Issue 156 - mtn 1.0 (and some others have build
[Monotone-devel] Updated Issue 156 - mtn 1.0 (and some others have build/run failures) (monotone)
Sat, 9 Apr 2011 13:39:43 +0200 (CEST)
The following issue has been updated:
156 - mtn 1.0 (and some others have build/run failures)
Reported by: Tony Cooper
Comments (last first):
# By Tony Cooper, Apr 9, 2011:
# By Tony Cooper, Apr 9, 2011:
As I suspected - this was a bit of a red herring.
Builds ok on Debian 5/6 and runs without crashing. I like Stephen's theory on
this one, no SSE processor support for for an SSE enabled Botan library. The
old build environment was a VM that was run on processors with and without SSE
support and I suspect that when the Botan library was built it was on the box
with SSE support. However I could not get Botan to build (I have no idea or
record of how I did this before either, too old an STL perhaps?).
On Debian 5/6 it built but it missed off some linker library switches on Deb5.
I tracked this down to a missing .pc file for one of the additional libraries
installed via a standard Debian package. Recreating this file led to a
completely clean build and so this is a Deb 5 packaging issue.
The Debian 5/6 binaries ran with no problems.
So I am closing this ticket.
# 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
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
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
do not send a core dump, but if you have one,
please preserve it in case we ask you for information from it.
mtn version --full gives:
monotone 1.0 (base revision:
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:
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
#0 0x08515843 in botan_sha1_sse2_compress ()
#1 0x00000000 in ?? ()