Starting with monotone-0.36, the monotone test suite fails in "make check" only
on ppc and ppc64. Upstream reports it works on other powerpc platforms/distros.
See http://koji.fedoraproject.org/koji/taskinfo?taskID=98891 for a build log
with the failure. Rebuilding any monotone-0.36 rpm, or hand-building from
upstream sources, will show failures in "make check" on ppc/ppc64 under Fedora
, which all have the same compiler.
The suspected issue is a miscompilation of some C++ code in the sqlite sources
included in the monotone build. There was a similar problem seen using gcc 4.2
and worked around, see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32575 about that. The code that is
failing now has the workaround shown in that link already. Without that
workaround, the Fedora gcc does produce code that gets even more errors in
monotone's test suite, though our gcc is 4.1.x-based and not 4.2. But even with
it, something goes wrong inside sqlite and so we suspect a similar
Since this only arises on ppc and ppc64 and I don't know how to work around it,
for the time being I'm building a new monotone with ExcludeArch: ppc ppc64.
Seems to have disappeared in 0.37 or with newer compilers or something.