Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 259161 - suspected miscompilation of sqlite breaks monotone on ppc
Summary: suspected miscompilation of sqlite breaks monotone on ppc
Alias: None
Product: Fedora
Classification: Fedora
Component: monotone
Version: 7
Hardware: All
OS: All
Target Milestone: ---
Assignee: Roland McGrath
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: FE-ExcludeArch-ppc64, F-ExcludeArch-ppc64 F-ExcludeArch-ppc
TreeView+ depends on / blocked
Reported: 2007-08-28 07:34 UTC by Roland McGrath
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-10-28 05:13:11 UTC

Attachments (Terms of Use)

Description Roland McGrath 2007-08-28 07:34:23 UTC
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 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
[678], 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 and 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
miscompilation issue.

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.

Comment 1 Roland McGrath 2007-10-28 05:13:11 UTC
Seems to have disappeared in 0.37 or with newer compilers or something.

Note You need to log in before you can comment on or make changes to this bug.