Bug 191453 - databases/db48 fails on powerpc64
Summary: databases/db48 fails on powerpc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Matthias Andree
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-28 08:33 UTC by Justin Hibbits
Modified: 2014-07-02 21:00 UTC (History)
1 user (show)

See Also:


Attachments
Fix for db48 mutex functions for powerpc64 (270 bytes, patch)
2014-06-28 08:33 UTC, Justin Hibbits
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Hibbits freebsd_committer freebsd_triage 2014-06-28 08:33:07 UTC
Created attachment 144214 [details]
Fix for db48 mutex functions for powerpc64

The mutex code for db48 uses inline assembly which fails on powerpc64, due to truncating a pointer to an integer.  The attached patch fixes this.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2014-07-02 14:13:46 UTC
over to maintainer
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-07-02 20:59:41 UTC
A commit references this bug:

Author: mandree
Date: Wed Jul  2 20:59:26 UTC 2014
New revision: 360264
URL: http://svnweb.freebsd.org/changeset/ports/360264

Log:
  Fix mutex code on powerpc64.

  PR:		191453
  Submitted by:	jhibbits@

Changes:
  head/databases/db48/Makefile
  head/databases/db48/files/patch-dbinc_mutex_int.h
  head/databases/db5/Makefile
  head/databases/db5/files/patch-dbinc_mutex_int.h
  head/databases/db6/Makefile
  head/databases/db6/files/
  head/databases/db6/files/patch-dbinc_mutex_int.h
Comment 3 Matthias Andree freebsd_committer freebsd_triage 2014-07-02 21:00:25 UTC
Hi Justin,

I have committed the change and forward-ported it to db5 and db6, which apparently also need it.

Thank you.