#3472: Porting through .hc files broken
---------------------------+------------------------------------------------
  Reporter:  pumpkin       |          Owner:                  
      Type:  bug           |         Status:  new             
  Priority:  normal        |      Milestone:  6.12 branch     
 Component:  Build System  |        Version:  6.12.1 RC1      
Resolution:                |       Keywords:                  
Difficulty:  Unknown       |             Os:  Unknown/Multiple
  Testcase:                |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------
Changes (by donn):

  * failure:  => None/Unknown

Comment:

 I just built and installed 6.12.0.20091121 on Haiku, using vaguely similar
 NetBSD-i386 as a donor.  ksf already discussed the principle issues with
 the .hc build.  Also:

 package-depend.mk are infected with external library references from the
 donor host - e.g., if on NetBSD, openpty needs -lutil, then this library
 will be required on the target host.
 Target host build directory must conform to absolute paths from the donor
 host.
 compiler/main/Config.hs uses the donor host's absolute path for cGCC.

 I dealt with the main issues by swapping in HsBaseConfig.h from the target
 host, before stage2 ghc was built on the donor, and hacked in my own stat
 struct with the target's layout.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3472#comment:11>
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