[GHC] #10172: Cross-platform sed

GHC ghc-devs at haskell.org
Thu Mar 19 22:00:47 UTC 2015


#10172: Cross-platform sed
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                   Owner:
            Type:  task              |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Build System      |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Solaris           |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by kgardas):

 Solaris sed does not support --posix. Please note I'm using sed from
 /usr/xpg4/bin -- which means this should be posix compliant sed.
 Also so far we've always been able to come with some posix compliant
 solution. Perhaps even for this someone will find one. I'll have some time
 to deal with it during the weekend hopefully...
 Anyway, so I'm for (1) use POSIX sed features only, although --posix
 command-line option is pure GNU-ism probably. When this really does not
 work, then switch to (2) require GNU sed and so in makefiles use $(SED)
 and provide appropriate configure.ac machinery for this...

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


More information about the ghc-tickets mailing list