[GHC] #8825: ghc can't determine gcc version on ru_RU locale

GHC ghc-devs at haskell.org
Wed Feb 26 07:17:46 UTC 2014


#8825: ghc can't determine gcc version on ru_RU locale
-------------------------------------+------------------------------------
        Reporter:  slyfox            |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.8.1-rc1
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by slyfox):

 And the example extracted from base package:
 {{{
 -- cat A.hs
 {-# LANGUAGE CApiFFI #-}
 module A where

 import Foreign.C

 foreign import capi  unsafe "stdio.h value SEEK_END" sEEK_END :: CInt
 }}}

 {{{
 $ ghc --make A.hs -fforce-recomp
 [1 of 1] Compiling A                ( A.hs, A.o )

 <no location info>:
     Warning: Couldn't figure out linker information!
              Make sure you're using GNU gcc, or clang
 }}}
 {{{
 $ LANG=C ghc --make A.hs -fforce-recomp
 [1 of 1] Compiling A                ( A.hs, A.o )
 }}}

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


More information about the ghc-tickets mailing list