#1717: ghc-6.8 configure does not recognise 32bit userland on ppc64
-------------------------------------+--------------------------------------
    Reporter:  [EMAIL PROTECTED]  |        Owner:  simonmar    
        Type:  bug                   |       Status:  new         
    Priority:  normal                |    Milestone:  6.8.1       
   Component:  Build System          |      Version:  6.8         
    Severity:  normal                |   Resolution:              
    Keywords:                        |   Difficulty:  Unknown     
          Os:  Linux                 |     Testcase:  normal build
Architecture:  powerpc64             |  
-------------------------------------+--------------------------------------
Comment (by guest):

 '''man linux32''' redirects me to '''man setarch''' and documents that the
 only thing it does is changing the output of '''uname -m''', in my case
 from ppc64 to ppc.

 '''man uname''' says "''print the machine hardware name''" for -m, so this
 seems to me not quite the right test to figure out the userland on
 hardware that supports several.


 As I pointed out in a previous comment, GHC's config.log contains
 {{{
 Using built-in specs. Target: powerpc-unknown-linux-gnu
 }}}
 I am no autotools expert, but I would expect that there should be some way
 to actually use this.


 For me personally, the issue is solved with the '''--build=powerpc-
 unknown-linux''' flag, and if you put either that or the linux32 hint
 (assuming that works) into the INSTALL file, this should take care of the
 problem for most users.


 But ideally, a GHC release should not fail to build out of the box on one
 of its own nightly test build machines...

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