#4973: building ghc7.0.1.20110217 under x86 solaris fails
----------------------------------+-----------------------------------------
  Reporter:  maeder               |          Owner:         
      Type:  bug                  |         Status:  new    
  Priority:  highest              |      Milestone:  7.2.1  
 Component:  Compiler             |        Version:  7.0.2  
Resolution:                       |       Keywords:         
  Testcase:                       |      Blockedby:         
Difficulty:                       |             Os:  Solaris
  Blocking:                       |   Architecture:  x86    
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------

Comment(by kgardas):

 I'm currently investigating a possible simple fix of using -mimpure-text
 as a gcc argument on solaris. This will force gcc not to pass -z text
 argument to linker which causes the issue. On the other hand -z text
 provides nice error output, which might not be error if we use -z
 textwarn. Unfortunately -z textwarn does not switch -z text off, but gcc
 fails with a complain that both options are in conflict. So the best for
 us would to use use -mimpure-text -W,-z -W,textwarn as a gcc parameters on
 Solaris -- at least on x86 to get the best of both worlds: linking not
 failing on relocations yet providing warnings about them.
 Anyway, I'm still testing the idea...

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to