[GHC] #12759: Latest Debian GCC breajs GHC

GHC ghc-devs at haskell.org
Sun Oct 23 23:12:04 UTC 2016


#12759: Latest Debian GCC breajs GHC
----------------------------------------+--------------------------
           Reporter:  erikd             |             Owner:
               Type:  bug               |            Status:  new
           Priority:  normal            |         Milestone:  8.0.2
          Component:  Compiler          |           Version:  8.0.1
           Keywords:                    |  Operating System:  Linux
       Architecture:  Unknown/Multiple  |   Type of failure:  Other
          Test Case:                    |        Blocked By:
           Blocking:                    |   Related Tickets:
Differential Rev(s):                    |         Wiki Page:
----------------------------------------+--------------------------
 Just got `gcc (Debian 6.2.0-9) 6.2.0 20161019` in a recent upgrade (Debian
 Testing) and now:
 {{{
 > cat hello.hs
 main :: IO ()
 main = putStrLn "Hello"

 > ghc hello.hs -o hello
 [1 of 1] Compiling Main             ( hello.hs, hello.o )
 Linking hello ...
 /usr/bin/ld: hello.o: relocation R_X86_64_32S against symbol
 `stg_bh_upd_frame_info' \
 can not be used when making a shared object; recompile with -fPIC
 /usr/bin/ld:
 /usr/lib/ghc-8.0/lib/base-4.9.0.0/libHSbase-4.9.0.0.a(Base__166.o): \
 relocation R_X86_64_32S against symbol `stg_bh_upd_frame_info' can not be
 used when \
 making a shared object; recompile with -fPIC
 ....
 }}}

 The previous version of gcc in Debian Testing (gcc (Debian 6.2.0-6) 6.2.0
 20161010) is fine.

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


More information about the ghc-tickets mailing list