summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add --resume support to sync-all; trac #5119Ian Lynagh2011-07-151-1/+49
| | | | | Now after, for example, "./sync-all pull", if pulling in one repo fails then you can restart from that point with "./sync-all --resume pull".
* Small refactoringIan Lynagh2011-07-154-21/+20
|
* Remove more defaultTargetPlatform usesIan Lynagh2011-07-156-28/+19
|
* Remove more defaultTargetPlatform usesIan Lynagh2011-07-1518-315/+358
|
* Remove some more defaultTargetPlatform usesIan Lynagh2011-07-154-20/+22
|
* An example of failure:Sergei Trofimovich2011-07-151-1/+9
| | | | | | | | | | | | | | | | "inplace/bin/ghc-stage1" -H32m -O -package-name base-4.4.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/autogen -Ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package ghc-prim-0.2.0.0 -package integer-gmp-0.3.0.0 -package rts-1.0 -split-objs -package-name base -XHaskell98 -XCPP -O2 -no-user-package-conf -rtsopts -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build -hisuf hi -osuf o -hcsuf hc -c libraries/base/./GHC/Int.hs -o libraries/base/dist-install/build/GHC/Int.o /usr/lib/gcc/sparc-unknown-linux-gnu/4.5.2/../../../../sparc-unknown-linux-gnu/bin/ld: --relax and -r may not be used together collect2: ld returned 1 exit status make[1]: *** [libraries/base/dist-install/build/GHC/Int.o] Error 1 Or with '-v' param: /usr/bin/gcc -fno-stack-protector -nostdlib -nodefaultlibs -Wl,-r -Wl,--build-id=none -Wl,-x -o libraries/base/dist-install/build/GHC/Int.o /tmp/ghc45126_0/ghc45126_0.ldscript /usr/lib/gcc/sparc-unknown-linux-gnu/4.5.2/../../../../sparc-unknown-linux-gnu/bin/ld: --relax and -r may not be used together On SPARC gcc-4.5.2 has -mrelax in it's default specs, so we explicitly pass --no-relax for ld to make sure gcc's default does not affect us. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Remove some defaultTargetPlatform'sIan Lynagh2011-07-154-18/+15
| | | | We now pass the correct platform in instead
* More work towards cross-compilationIan Lynagh2011-07-1530-255/+320
| | | | | | | | | | | | There's now a variant of the Outputable class that knows what platform we're targetting: class PlatformOutputable a where pprPlatform :: Platform -> a -> SDoc pprPlatformPrec :: Platform -> Rational -> a -> SDoc and various instances have had to be converted to use that class, and we pass Platform around accordingly.
* Improvements to Safe Haskell userguide.David Terei2011-07-141-388/+426
|
* Handle II8 Size value in PowerPC code generator.Erik de Castro Lopo2011-07-141-3/+3
|
* Just renaming a couple of functionsIan Lynagh2011-07-145-12/+10
|
* Separate the warning flags into their own datatypeIan Lynagh2011-07-1419-115/+146
| | | | | | | The -w flag wasn't turning off a few warnings (Opt_WarnMissingImportList, Opt_WarnMissingLocalSigs, Opt_WarnIdentities). Rather than just adding them, I've separated the Opt_Warn* contructors off into their own type, so -w now just sets the list of warning flags to [].
* More Lexer.x tidy-upsIan Lynagh2011-07-141-8/+4
|
* Remove some unused, commented-out code from Lexer.xIan Lynagh2011-07-141-38/+7
|
* Whitespace in Lexer.xIan Lynagh2011-07-141-484/+485
|
* validate now checks that the testsuite exists first; trac #5089Ian Lynagh2011-07-141-0/+7
|
* Fix typoIan Lynagh2011-07-141-1/+1
|
* Fix validate with old versions of gccIan Lynagh2011-07-131-1/+1
| | | | Old versions don't understand -Wno-error=inline
* Remove 'threadsafe' FFI importsIan Lynagh2011-07-138-49/+16
| | | | They've been deprecated since GHC 6.12.
* Whitespace only in compiler/nativeGen/RegAlloc/Liveness.hsIan Lynagh2011-07-131-583/+583
|
* Whitespace only in compiler/nativeGen/Instruction.hsIan Lynagh2011-07-131-122/+122
|
* More CPP removalIan Lynagh2011-07-131-263/+262
|
* More CPP removalIan Lynagh2011-07-131-42/+37
|
* CPP removalIan Lynagh2011-07-134-30/+31
|
* Remove SafeLanguage from safe haskellDavid Terei2011-07-124-37/+8
|
* make sure libraries/dph/ghc.mk is included after the other DPH ghc.mkSimon Marlow2011-07-122-2/+9
| | | | | files, so that it can refer to variables defined there. (necessary, but perhaps not sufficient, to fix the DPH build bugs)
* Fix DLL/SO loading (see #5313).Simon Marlow2011-07-121-21/+18
| | | | | The code in here is a bit of a mess. I've fixed up some inconsistencies I can see, but it could do with an overhaul.
* Fix bug in parsing of module headers (see #5243)Simon Marlow2011-07-121-3/+7
|
* omit the local MD5 implementation if we can get it fromSimon Marlow2011-07-122-15/+27
| | | | GHC.Fingerprint in base instead.
* Debugger commands do not work with -fno-ghci-sandbox, so emit usefulSimon Marlow2011-07-121-31/+46
| | | | error messages.
* derive Typeable (eliminate deprecation warnings for mkTyCon)Simon Marlow2011-07-127-54/+17
|
* fix Binary instance for TyCon following Typeable implementationSimon Marlow2011-07-121-0/+12
| | | | changes
* the time package uses mkTyCon, turn off deprecation warnings for nowSimon Marlow2011-07-121-1/+3
|
* Had to move some Typeable things around to avoid orphan instances.Simon Marlow2011-07-122-11/+11
|
* remove getOrSetTypeableStore. This is no longer used after the switchSimon Marlow2011-07-123-10/+0
| | | | to using MD5 hashes to identify TypeReps in the Typeable library.
* Change the code generated for deriving Typeable, to match the changesSimon Marlow2011-07-122-10/+42
| | | | | to the Typeable library. We now generate an MD5 hash of the fully-qualified TyCon name at compile time.
* move computeFingerprint from MkIface to BinarySimon Marlow2011-07-122-19/+20
|
* Add 64-bit signed and unsigned integer literals to HsSyn.Simon Marlow2011-07-123-2/+14
| | | | | No concrete syntax yet, but I need to be able to use these in code generated for derived Typeable instances.
* Make an extension for interruptible FFI callsIan Lynagh2011-07-114-27/+40
|
* Fix "./sync-all get"Ian Lynagh2011-07-081-1/+3
|
* Fix the buildIan Lynagh2011-07-081-4/+5
| | | | | The seq# case in the new codegen was being shadowed by a more general case.
* Remove old ./quickcheck/ stuffIan Lynagh2011-07-084-223/+0
|
* Bump Cabal depsIan Lynagh2011-07-082-2/+2
|
* Random is now only needed to build dphIan Lynagh2011-07-082-4/+3
|
* Relax some dependenciesIan Lynagh2011-07-084-4/+4
|
* Remove mention of -fno-method-sharing from comments and docsIan Lynagh2011-07-082-23/+0
|
* Port 'Add two new primops seq# and spark#' (be54417) to new codegen.Edward Z. Yang2011-07-072-0/+32
| | | | Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
* Don't export the _info symbol for the data constructor worker bindingsMax Bolingbroke2011-07-0711-49/+86
| | | | | | | This is safe because GHC never generates a fast call to a data constructor worker: if the call is seen statically it will be eta-expanded and the allocation of the data will be inlined. We still need to export the _closure in case the constructor is used in an unapplied fashion.
* Refactoring: explicitly mark whether we have an info table in RawCmmMax Bolingbroke2011-07-0614-82/+90
| | | | | | | | | | | | I introduced this to support explicitly recording the info table label in RawCmm for another patch I am working on, but it turned out to lead to significant simplification in those parts of the compiler that consume RawCmm. Now, instead of lots of tests for null [CmmStatic] we have a simple test of a Maybe, and have reduced the number of guys that need to know how to convert entry->info labels by a TON. There are only 3 callers of that function now!
* fix bug: check_out_flag should be checked_out_treeSimon Marlow2011-07-061-1/+1
|