Bug#756260: ghc generates lots of unaligned access syslog warnings on hppa

Joachim Breitner nomeata at debian.org
Sun Jul 26 16:46:58 UTC 2015


Hi,

Am Sonntag, den 26.07.2015, 12:25 -0400 schrieb John David Anglin:
> This is caused by the following issue:
> https://mail.haskell.org/pipermail/ghc-commits/2015-January/010495.html
> 
> Like ia64, hppa has function descriptors.  A function pointer has the plabel bit (bit 30)
> set in the function pointer.  A function pointer pointing to an integer data object is off by + 2,
> causing the unaligned warnings.
> 
> I found this debugging debugging the test failure in the haskell-text-icu package.  Eventually,
> I found that the address used for sm_mutex was off by two.
> 
> Misaligned mutex addresses break the thread support.  This caused various random failures
> building many haskell packages.
> 
> Attached is a back port the ghc-7.10 patch.  Please apply in next 7.8 ghc update.

Thanks for the report.

So is this patch taken from GHC-7.10? If so, what is the commit id?

Also, note that we plan to upload GHC-7.10 to unstable real soon, so if
the bug is fixed there, I’d probably prefer to not bother.

Greetings,
Joachim

-- 
-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20150726/30c9af91/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list