#4819: [PATCH] undefined symbols; mixed architecture build
----------------------------------+-----------------------------------------
  Reporter:  altaic               |          Owner:  simonmar        
      Type:  bug                  |         Status:  closed          
  Priority:  normal               |      Milestone:  7.0.3           
 Component:  Build System         |        Version:  7.1             
Resolution:  fixed                |       Keywords:                  
  Testcase:                       |      Blockedby:                  
Difficulty:                       |             Os:  Unknown/Multiple
  Blocking:                       |   Architecture:  Unknown/Multiple
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------
Changes (by simonmar):

  * status:  patch => closed
  * resolution:  => fixed


Comment:

 Fixed:

 {{{
 Fri Jan  7 08:35:41 PST 2011  Simon Marlow <[email protected]>
   * In configure, test that GHC generates code for the correct platform
 (#4819)
   Patch supplied by the bug reporter, tidied up by me.

   $ ./configure --with-ghc=$HOME/fp/bin/i386-unknown-linux/ghc
 --build=x86_64-unknown-linux
   checking for gfind... no
   checking for find... /usr/bin/find
   checking for sort... /usr/bin/sort
   checking for GHC version date... inferred 7.1.20110107
   checking version of ghc... 7.0.1
   checking build system type... x86_64-unknown-linux-gnu
   checking host system type... x86_64-unknown-linux-gnu
   checking target system type... x86_64-unknown-linux-gnu
   Host platform inferred as: i386-unknown-linux
   Target platform inferred as: i386-unknown-linux
   This GHC (/home/simonmar/fp/bin/i386-unknown-linux/ghc) does not
 generate code for the build platform
      GHC target platform    : i386-unknown-linux
      Desired build platform : x86_64-unknown-linux
 }}}

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