Remove base 3 support from bin-package-db
Fix stage2 build on ARM.

LLVM supports PIC on ARM from what I can see.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Add support for OSX ld's -filelist flag

Without it, when linking the split objects for Language.Haskell.TH.Syntax,
the commandline was too long when listing all the files directly.
Merge branch 'master' of mac:ghc/git/val64/.
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Optimistically assume that LD_LIBRARY_PATH works for all platforms

other than Windows and OS X.

It's known to work on Linux and FreeBSD.
Be more optimistic about which platforms support shared libraries

Pretty much everything does now, so list those that don't instead
instead of listing those that do.
Fix building when $(CC_STAGE0) contains spaces

Spotted by Bill Tutt
Remove some commented out build system code
Fix build with non-Linux ELF OSes

We were only setting an RPATH for the RTS DLL on Linux, but as far
as I can see we should be doing it for all ELF OSes. Hopefully this
will fix the problem where the installed ghc-pkg can't find libffi.dll
on FreeBSD.
Track subrepos Cabal
Remove some more old, unused code
Turn object splitting off when we use the dynamic way

There's no point splitting objects when we're going to be dynamically
linking. Plus it breaks compilation on OSX x86.
Fix the handling of ways, and in particular Opt_Static and Opt_SplitObjs
Tweak the _HC_OPTS variables

We no longer pass -hisuf/-osuf flags to "ghc -M". Doing so didn't really
make sense with the way the -dep-suffix flags now work.
Small configure.ac refactoring
Change how we handle libffi

I think overall the new approach is simpler. Rather than unpacking
the libffi.a and putting the .o files into our libHSrts.a, we just
use the libffi.a.

This change also means that when compiling programs for the dyn
way, they get explicitly linked against libffi.so (rather than
relying on librts.so being linked against it). This might
fix a problem on FreeBSD, where programs cannot find libffi.so.
Fix the names of the libffi archives

Fixes a bug which meant that they weren't getting installed.
Allow to bootstrap with a compiler from the FreeBSD Ports Collection
Heap profiling: flush .hp file at the end of each frame