summaryrefslogtreecommitdiff
path: root/rts/posix/GetTime.c
diff options
context:
space:
mode:
authoralexbiehl <alex.biehl@gmail.com>2016-07-30 17:22:54 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2016-07-30 17:22:54 +1000
commitc06e3f46d24ef69f3a3d794f5f604cb8c2a40cbc (patch)
treed62c658c6a34e84bfb71e65b649db94bca49cf62 /rts/posix/GetTime.c
parentd3feb16a91bb285ce677fb79381f36e9fcdc0979 (diff)
downloadhaskell-c06e3f46d24ef69f3a3d794f5f604cb8c2a40cbc.tar.gz
Add atomic operations to package.conf.in
This patch resulted from the discussion in D2431 and should be merged first. @erikd and @trommler reported errors like ``` /home/erikd/Git/ghc-upstream/rts/dist/build/libHSrts_thr.a(PrimOps.thr_o ): In function `c14_info': (.text+0x2b8): undefined reference to `hs_cmpxchg32' /home/erikd/Git/ghc-upstream/rts/dist/build/libHSrts_thr.a(PrimOps.thr_o ): In function `c5e_info': (.text+0xac4): undefined reference to `hs_cmpxchg32' /home/erikd/Git/ghc-upstream/rts/dist/build/libHSrts_thr.a(PrimOps.thr_o ): In function `c8b_info': (.text+0x1198): undefined reference to `hs_cmpxchg32' /home/erikd/Git/ghc-upstream/rts/dist/build/libHSrts_thr.a(PrimOps.thr_o ): In function `c8b_info': (.text+0x122c): undefined reference to `hs_cmpxchg32' /home/erikd/Git/ghc-upstream/rts/dist/build/libHSrts_thr.a(PrimOps.thr_o ): In function `c8b_info': (.text+0x12ec): undefined reference to `hs_cmpxchg32' ``` on PowerPC. @simonmar suggests to add the specific exports to `rts/package.conf.in`. This patch does exactly that, including all other atomic ops as they probably (maybe someone can verify?) suffer from the same problem on PPC. Test Plan: Please make sure to build on PPC. Reviewers: erikd, austin, bgamari, simonmar, trommler Reviewed By: erikd, trommler Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2435
Diffstat (limited to 'rts/posix/GetTime.c')
0 files changed, 0 insertions, 0 deletions