#3668: PIE-enabled hardened gcc might broke GHC.
---------------------------+------------------------------------------------
  Reporter:  secludedsage  |          Owner:        
      Type:  bug           |         Status:  new   
  Priority:  normal        |      Milestone:        
 Component:  Compiler      |        Version:  6.10.4
Resolution:                |       Keywords:        
Difficulty:                |             Os:  Linux 
  Testcase:                |   Architecture:  x86   
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------
Comment (by secludedsage):

 Line 2735 in the build.log, I notice:
 /usr/bin/ld -x -r -o dist/build/HSghc-prim-0.1.0.0.o
 dist/build/GHC/Bool.o dist/build/GHC/Generics.o dist/build/GHC/Ordering.o
 dist/build/GHC/PrimopWrappers.o dist/build/GHC/IntWord32.o
 dist/build/GHC/IntWord64.o dist/build/GHC/Tuple.o dist/build/GHC/Types.o
 dist/build/GHC/Unit.o `find dist/build -name "*_stub.o" -print`
 dist/build/cbits/longlong.o

 without -nopie from the build.mk's -optl-nopie. Is this the problem?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3668#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to