summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Change our #defines to work on FreeBSD tooSimon Marlow2010-05-241-6/+2
| | | | | | | | | With glibc, things like _POSIX_C_SOURCE and _ISOC99_SOURCE are additive, but on FreeBSD they are mutually exclusive. However, it turns out we only need to define _POSIX_C_SOURCE and _XOPEN_SOURCE to get all the C99 stuff we need too, so there's no need for any #ifdefs. Submitted by: Gabor PALI <pgj@FreeBSD.org>
* Add a missing UNTAG_CLOSURE, causing bus errors on SparcSimon Marlow2010-05-241-2/+3
| | | | | | | | We just about got away with this on x86 which isn't alignment-sensitive. The result of the memory load is compared against a few different values, but there is a fallback case that happened to be the right thing when the pointer was tagged. A good bug to find, nonetheless.
* Add wiki linksSimon Marlow2010-05-202-0/+6
|
* the 'stage=0' trick to disable all compiler builds stopped working; fix itSimon Marlow2010-05-202-16/+14
|
* Comments and formatting onlybenl@ouroborus.net2010-05-241-243/+344
|
* Core prettyprinter fixes. Patch from Tim Chevalier. Fixes #4085Ian Lynagh2010-05-221-3/+7
|
* Correct install-name for dynamic Darwin rtspho@cielonegro.org2010-05-081-4/+4
|
* Fix the RTS debug_p buildIan Lynagh2010-05-221-0/+1
|
* Unset $CFLAGS for "GNU non-executable stack" configure test; fixes #3889Ian Lynagh2010-05-211-0/+6
| | | | | | | With gcc 4.4 we get Error: can't resolve `.note.GNU-stack' {.note.GNU-stack section} - `.Ltext0' {.text section} when running gcc with the -g flag. To work around this we unset CFLAGS when running the test.
* Don't run "set -o igncr" before configuring libffiIan Lynagh2010-05-201-14/+0
| | | | | | | | | | It used to make the build work on cygwin, but now it breaks it instead: config.status: creating include/Makefile gawk: ./confLqjohp/subs.awk:1: BEGIN {\r gawk: ./confLqjohp/subs.awk:1: ^ backslash not last character on line config.status: error: could not create include/Makefile make[2]: *** [libffi/stamp.ffi.configure-shared] Error 1 make[1]: *** [all] Error 2
* Stop passing -Wl,-macosx_version_min to gccIan Lynagh2010-05-201-5/+1
| | | | | | | | Fixes a build failure on OS X 10.6. When linking rts/dist/build/libHSrts-ghc6.13.20100519.dylib we got ld: symbol dyld_stub_binding_helper not defined (usually in crt1.o/dylib1.o/bundle1.o) collect2: ld returned 1 exit status
* Fix build on FreeBSD; patch from Gabor PALIIan Lynagh2010-05-191-3/+4
|
* Fix package shadowing order (#4072)Simon Marlow2010-05-191-8/+17
| | | | | | | | | | Later packages are supposed to shadow earlier ones in the stack, unless the ordering is overriden with -package-id flags. Unfortunately an earlier fix for something else had sorted the list of packages so that it was in lexicographic order by installedPackageId, and sadly our test (cabal/shadow) didn't pick this up because the lexicographic ordering happened to work for the test. I've now fixed the test so it tries both orderings.
* Set more env variables when configuring libffiIan Lynagh2010-05-181-0/+3
| | | | We now tell it where to find ld, nm and ar
* Set the location of ar to be the in-tree ar on WindowsIan Lynagh2010-05-181-0/+1
|
* Change another / to </> to avoid building paths containing \/Ian Lynagh2010-05-181-1/+1
| | | | This will hopefully fix #2889.
* Fix #4074 (I hope).Simon Marlow2010-05-182-4/+22
| | | | | | | 1. allow multiple threads to call startTimer()/stopTimer() pairs 2. disable the timer around fork() in forkProcess() A corresponding change to the process package is required.
* we don't have a gcc-lib in LIB_DIR any moreSimon Marlow2010-04-011-4/+0
|
* In validate, use gmake if available; based on a patch from Gabor PALIIan Lynagh2010-05-171-5/+12
|
* Remove duplicate "./configure --help" output; fixes #4075Ian Lynagh2010-05-161-10/+2
|
* Update various 'sh boot's to 'perl boot'Ian Lynagh2010-05-166-8/+8
| | | | Spotted by Marco TĂșlio Gontijo e Silva
* add missing initialisation for eventBufMutexSimon Marlow2010-05-141-0/+4
|
* Undo part of #4003 patchSimon Marlow2010-05-131-0/+7
| | | | | We still need the workaround for when compiling HEAD with 6.12.2
* Fix makefile loop (#4050)pho@cielonegro.org2010-05-071-1/+2
| | | | The libtool creates "libffi.dylib" and "libffi.5.dylib" but not "libffi.5.0.9.dylib". Having it in libffi_DYNAMIC_LIBS causes an infinite makefile loop.
* fix !TABLES_NEXT_TO_CODESimon Marlow2010-05-101-1/+1
|
* looksLikeModuleName: allow apostrophe in module names (#4051)Simon Marlow2010-05-101-1/+1
|
* add the proper library dependencies for GhcProfiled=YESSimon Marlow2010-05-061-0/+5
|
* Fix Trac #4003: fix the knot-tying in checkHiBootIfacesimonpj@microsoft.com2010-05-112-14/+11
| | | | | | | I had incorrectly "optimised" checkHiBootIface so that it forgot to update the "knot-tied" type environment. This patch fixes the HEAD
* Re-engineer the derived Ord instance generation code (fix Trac #4019)simonpj@microsoft.com2010-05-101-293/+301
| | | | | | | | | | | As well as fixing #4019, I rejigged the way that Ord instances are generated, which should make them faster in general. See the Note [Generating Ord instances]. I tried to measure the performance difference from this change, but the #4019 fix only removes one conditional branch per iteration, and I couldn't measure a consistent improvement. But still, tihs is better than before.
* Make arity of INLINE things consistentsimonpj@microsoft.com2010-05-102-3/+11
| | | | | | | | We eta-expand things with INLINE pragmas; see Note [Eta-expanding INLINE things]. But I eta-expanded it the wrong amount when the function was overloaded. Ooops.
* Compacting GC fix, we forgot to thread the new bq field of StgTSO.Simon Marlow2010-05-101-0/+1
|
* Add version constraints for the boot packages; fixes trac #3852Ian Lynagh2010-05-092-0/+6
| | | | | | | When using the bootstrapping compiler, we now explicitly constrain the version of boot packages (Cabal, extensible-exceptions, etc) to the in-tree version, so that the build system is less fragile should the user have a newer version installed for the bootstrapping compiler.
* Don't include inter-package dependencies when compiling with stage 0; #4031Ian Lynagh2010-05-094-5/+11
| | | | | | This fixes a problem when building with GHC 6.12 on Windows, where dependencies on stage 0 (bootstrapping compiler) packages have absolute paths c:/ghc/..., and make gets confused by the colon.
* Add a ghc.mk for bindisttest/Ian Lynagh2010-05-083-1/+51
|
* Move some make variables around so they are available when cleaningIan Lynagh2010-05-082-9/+15
|
* Optimise checkremove a bitIan Lynagh2010-05-081-7/+12
|
* Improve the bindisttest MakefileIan Lynagh2010-05-081-6/+10
|
* Add tools to test that cleaning works properlyIan Lynagh2010-05-085-1/+70
|
* Tweak the ghc-pkg finding codeIan Lynagh2010-05-081-13/+13
| | | | | | It now understand the ghc-stage[123] names we use in-tree, and it won't go looking for any old ghc-pkg if it can't find the one that matches ghc.
* Add a way to show what cleaning would be done, without actually doing itIan Lynagh2010-05-081-0/+6
|
* Tidy up the "rm" flags in the build systemIan Lynagh2010-05-087-17/+18
|
* Fix crash in nested callbacks (#4038)Simon Marlow2010-05-074-18/+18
| | | | | Broken by "Split part of the Task struct into a separate struct InCall".
* Add $(GhcDynamic) knob, set to YES to get stage2 linked with -dynamicSimon Marlow2010-04-282-3/+6
| | | | | | | | | | Default currently NO. Validate passed with GhcDynamic=YES on x86/Linux here. The compiler is currently slower on x86 when linked -dynamic, because the GC inner loop has been adversely affected by -fPIC, I'm looking into how to fix it.
* omit "dyn" from the way appended to the __stginit labelSimon Marlow2010-04-281-8/+13
| | | | | When GHCi is linked dynamically, we still want to be able to load non-dynamic object files.
* improvements to findPtr(), a neat hack for browsing the heap in gdbSimon Marlow2010-05-061-21/+24
|
* Fix +RTS -G1Simon Marlow2010-05-061-1/+3
|
* Enable the "redundant specialise pragmas" warning; fixes trac #3855Ian Lynagh2010-05-061-6/+4
|
* Find the correct external ids when there's a wrappersimonpj@microsoft.com2010-05-061-2/+9
| | | | | We were failing to externalise the wrapper id for a function that had one.
* Add a comment about pattern coercionssimonpj@microsoft.com2010-05-061-1/+5
|
* Comments onlysimonpj@microsoft.com2010-05-061-1/+1
|