Bug#756260: ghc generates lots of unaligned access syslog warnings on hppa
John David Anglin
dave.anglin at bell.net
Sun Jul 26 16:25:04 UTC 2015
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,
Dave
--
John David Anglin dave.anglin at bell.net
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ghc-7.10-closure.patch.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20150726/d0df681e/attachment-0001.txt>
More information about the Pkg-haskell-maintainers
mailing list