[GHC] #485: AdjustorAsm.S doesn't build on AIX

GHC ghc-devs at haskell.org
Thu Mar 24 19:41:49 UTC 2016


#485: AdjustorAsm.S doesn't build on AIX
-------------------------------------+-------------------------------------
        Reporter:  jgoerzen          |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Runtime System    |              Version:  6.4.1
      Resolution:                    |             Keywords:
Operating System:  AIX               |         Architecture:
 Type of failure:  Building GHC      |  Unknown/Multiple
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  phab:D2029
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Herbert Valerio Riedel <hvr@…>):

 In [changeset:"343349df1f19f21899818d647bf570e489d0cf8f/ghc" 343349d/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="343349df1f19f21899818d647bf570e489d0cf8f"
 Avoid local label syntax for assembler on AIX

 Unfortunately (for inline `__asm__()` uses), IBM's `as` doesn't seem to
 support
 local labels[1] like GNU `as` does so we need to workaround this when on
 AIX.

  [1]: https://sourceware.org/binutils/docs/as/Symbol-Names.html#Symbol-
 Names

 Turns out this also addresses the long-standing bug #485

 Reviewed By: bgamari, trommler

 Differential Revision: https://phabricator.haskell.org/D2029
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/485#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list