Changes between Initial Version and Version 2 of Ticket #5337


Ignore:
Timestamp:
Jul 29, 2011 5:16:55 PM (3 years ago)
Author:
igloo
Comment:

Thanks, I'll take a look.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5337

    • Property Status changed from new to patch
    • Property Owner set to igloo
  • Ticket #5337 – Description

    initial v2  
    22 
    33This works most of the time until I also do ghc -rtsopts. In that case GHC will try to build a small generated object file with a limited command line that fails to include -optc flags. That leads to failure: 
    4  
     4{{{ 
    55*** C Compiler: 
    66gcc -c /tmp/ghc15472_0/ghc15472_0.c -o /tmp/ghc15472_0/ghc15472_0.o -Ilib/ghc-7.0.4/include -fno-stack-protector 
     
    1616         ^ 
    17171 error generated. 
    18  
     18}}} 
    1919This seems trivially easy to fix with the attached patch.