RE: Fix for : Build failure on Windows (and others).

2012-12-17 Thread Simon Peyton-Jones
...@haskell.org [mailto:cvs-ghc-boun...@haskell.org] | On Behalf Of Erik de Castro Lopo | Sent: 15 December 2012 17:38 | To: Ian Lynagh | Cc: cvs-ghc@haskell.org | Subject: Fix for : Build failure on Windows (and others). | | Hi all, | | I have a fix for this. It seems that just recently (since

Re: Fix for : Build failure on Windows (and others).

2012-12-15 Thread Niklas Larsson
2012/12/15 Erik de Castro Lopo : > > > The attached patch replaces '-x assembler' with '-x assembler-with-cpp' > and fixes the problem for me on powerpc. Thanks! It works here too. Niklas ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell

Fix for : Build failure on Windows (and others).

2012-12-15 Thread Erik de Castro Lopo
Hi all, I have a fix for this. It seems that just recently (since bd8f7fc56b84369f4e820263c0bcdc85760de6d4) ghc has started calling gcc with extra comand line parameters: -x assembler >From the gcc man page -x language Specify explicitly the language for the following input files

Re: Build failure on Windows.

2012-12-15 Thread Niklas Larsson
2012/12/15 Erik de Castro Lopo : > Ian Lynagh wrote: > >> Does it happen for you with a non-parallel (i.e. without using >> "make -j") build? If so, can you reproduce it by running the last >> command that "make" runs by hand? If you can, then hopefully it will be >> easy to diagnose, e.g. by minim

Re: Build failure on Windows.

2012-12-15 Thread Erik de Castro Lopo
Ian Lynagh wrote: > Does it happen for you with a non-parallel (i.e. without using > "make -j") build? If so, can you reproduce it by running the last > command that "make" runs by hand? If you can, then hopefully it will be > easy to diagnose, e.g. by minimising the code being read. Sorry, that

Re: Build failure on Windows.

2012-12-15 Thread Niklas Larsson
2012/12/15 Ian Lynagh : > > Hi Niklas, > > On Sat, Dec 15, 2012 at 04:02:24PM +0100, Niklas Larsson wrote: >> >> It seems like the build on Windows HEAD is trying to build the PowerPC >> assembly in rts/AdjustorAsm.S. Somehow the powerpc_HOST_ARCH must be >> defined, I can't figure out how though.

Re: Build failure on Windows.

2012-12-15 Thread Ian Lynagh
Hi Niklas, On Sat, Dec 15, 2012 at 04:02:24PM +0100, Niklas Larsson wrote: > > It seems like the build on Windows HEAD is trying to build the PowerPC > assembly in rts/AdjustorAsm.S. Somehow the powerpc_HOST_ARCH must be > defined, I can't figure out how though. Does it happen for you with a no

Re: Build failure on Windows.

2012-12-15 Thread Erik de Castro Lopo
Niklas Larsson wrote: > Hi! > > It seems like the build on Windows HEAD is trying to build the PowerPC > assembly in rts/AdjustorAsm.S. Are you building for x86 or x86-64? Erik -- -- Erik de Castro Lopo http://www.mega-nerd.co

Re: Build failure on Windows.

2012-12-15 Thread Erik de Castro Lopo
Niklas Larsson wrote: > It seems like the build on Windows HEAD is trying to build the PowerPC > assembly in rts/AdjustorAsm.S. Somehow the powerpc_HOST_ARCH must be > defined, I can't figure out how though. This is not actually the case, because on linux-powerpc I get errors about Intel instruct

Build failure on Windows.

2012-12-15 Thread Niklas Larsson
Hi! It seems like the build on Windows HEAD is trying to build the PowerPC assembly in rts/AdjustorAsm.S. Somehow the powerpc_HOST_ARCH must be defined, I can't figure out how though. It seems to work fine on commit d7d25db3e58f3edfb950ebfa466c1e1e06d175d6 from a week ago. I have one patch thoug

patch applied (ghc): fix build failure on Windows

2009-11-04 Thread Simon Marlow
Wed Nov 4 08:27:40 PST 2009 Simon Marlow * fix build failure on Windows Ignore-this: bfd7c1646b3160479ae34bb8f6a7e617 M ./rts/Linker.c -1 +1 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20091104162740-12142-e541c5e7734565774f57c7e9a24d329f4f2ea579.gz