Changes between Version 12 and Version 13 of Building/Solaris


Ignore:
Timestamp:
Jan 27, 2010 11:13:20 PM (4 years ago)
Author:
benl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Solaris

    v12 v13  
    3333=== Selecting a good GCC version === 
    3434 
    35 GCC version 4.1.x and 4.0.x seem to be fine. 4.1.2 is recommended. 
     35GHC only works with particular GCC versions. 
     36 
     37For compiling GHC 6.10.1, GCC versions 4.0.4 and 4.1.2 are known to work. Others in the 4.0.x and 4.1.x series may work, but haven't been tested. 
     38 
     39GCC version 4.3.x produces assembly files that GHC's "evil mangler" does not yet deal with. 
     40 
     41GCC version 4.2.x works but takes hours and hours to build the large `.hc` files that GHC generates. It is reported (#1293, #2906) that particular modules can take upwards of 5 hours and the overall build takes a couple days. This is due to complexity issues with respect to GCC moving to a unit-at-a-time compilation scheme instead of function-at-a-time. 
     42 
     43GCC version 4.0.2 does not support thread local state (TLS), at least on SPARC. 
    3644 
    3745GCC version 3.4.x is reported (#951) to mis-compile the runtime system leading to a runtime error `schedule: re-entered unsafely`. 
    3846But such a gcc version is sufficient for most user programs in case you just installed a ghc binary distribution.  
    3947 
    40 GHC has not yet been updated to understand the assembly output of GCC version 4.3.x. 
    41  
    42 GCC version 4.2.x works but takes hours and hours to build the large `.hc` files that GHC generates. It is reported (#1293, #2906) that particular modules can take upwards of 5 hours and the overall build takes a couple days. 
    4348 
    4449== Using GCC from a non-standard location ==