summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Don't generate Haskell dependencies if we don't have any Haskell sourcesIan Lynagh2010-07-171-0/+2
|
* Link programs that have no Haskell objects with gcc rather than ghcIan Lynagh2010-07-162-1/+10
|
* Use gcc to build C programs for stages >= 1Ian Lynagh2010-07-162-1/+7
|
* Add platform info to "ghc --info" outputIan Lynagh2010-07-162-0/+14
|
* Tidy up Config.hs generationIan Lynagh2010-07-161-76/+76
|
* Fix HC porting test in makefilesIan Lynagh2010-07-162-4/+4
| | | | | | Now that we are trying to support cross compilation, we can't use "$(TARGETPLATFORM)" != "$(HOSTPLATFORM)" as a test for HC-porting.
* Change a BUILD var to a HOST varIan Lynagh2010-07-161-1/+1
|
* Remove an unnecessary #includeIan Lynagh2010-07-151-2/+0
|
* Split up some make commands, so that errors aren't overlookedIan Lynagh2010-07-151-6/+6
| | | | | When we ask make to run "a | b", if a fails then the pipeline might still exit successfuly.
* Remove an unnecessary #includeIan Lynagh2010-07-151-2/+0
|
* Simplify some more CPP __GLASGOW_HASKELL__ testsIan Lynagh2010-07-151-10/+1
|
* Remove some code only used with GHC 6.11.*Ian Lynagh2010-07-151-4/+0
|
* __GLASGOW_HASKELL__ >= 609 is now always trueIan Lynagh2010-07-151-8/+0
|
* Correct the values in ghc_boot_platform.hIan Lynagh2010-07-141-71/+71
|
* Change some TARGET checks to HOST checksIan Lynagh2010-07-143-5/+5
|
* LLVM: Add inline assembly to binding.David Terei2010-07-142-0/+26
|
* LLVM: Fix mistype in last commit which broke TNTC under win/linux.David Terei2010-07-141-1/+1
|
* Remove unnecessary #includeIan Lynagh2010-07-131-1/+0
|
* Change some TARGET tests to HOST tests in the RTSIan Lynagh2010-07-1312-18/+18
| | | | Which was being used seemed to be random
* LLVM: Add in new LLVM mangler for implementing TNTC on OSXDavid Terei2010-07-136-14/+184
|
* Refactor where an error message is generatedsimonpj@microsoft.com2010-07-132-29/+27
|
* Comments onlysimonpj@microsoft.com2010-07-131-2/+2
|
* Comments on data type familiessimonpj@microsoft.com2010-07-131-81/+75
|
* Fix Trac #T4136: take care with nullary symbol constructorssimonpj@microsoft.com2010-07-071-5/+14
| | | | | When a nullary constructor is a symbol eg (:=:) we need to take care. Annoying.
* Fix Trac #4127 (and hence #4173)simonpj@microsoft.com2010-07-076-50/+87
| | | | | | | | | | The change involves a little refactoring, so that the default method Ids are brought into scope earlier, before the value declarations are compiled. (Since a value decl may contain an instance decl in a quote.) See Note [Default method Ids and Template Haskell] in TcTyClsDcls.
* Fix second bug in Trac #4127simonpj@microsoft.com2010-07-012-45/+65
| | | | | | | | This bug concerned the awkward shadowing we do for Template Haskell declaration brackets. Lots of comments in Note [Top-level Names in Template Haskell decl quotes]
* ia64: switch handling of 'foreign import wrapper' (FIW) to libffiSergei Trofimovich2010-07-091-1/+1
| | | | | | | I tried to build darcs-2.4.4 with ghc-6.12.3 and got coredumps when darcs is used in interactive mode. I tried test from ticket #3516 and found out FIW code is broken. Instead of fixing it I just switched to libffi. Result built successfully, passed 'foreign import wrapper' test from ticket #3516 and builds working darcs.
* * storage manager: preserve upper address bits on 64bit machines (thanks to ↵Sergei Trofimovich2010-07-091-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zygoloid) Patch does not touch amd64 as it's address lengts is 48 bits at most, so amd64 is unaffected. the issue: during ia64 ghc bootstrap (both 6.10.4 and 6.12.3) I got the failure on stage2 phase: "inplace/bin/ghc-stage2" -H32m -O -H64m -O0 -w ... ghc-stage2: internal error: evacuate: strange closure type 15 (GHC version 6.12.3 for ia64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug make[1]: *** [libraries/dph/dph-base/dist-install/build/Data/Array/Parallel/Base/Hyperstrict.o] Aborted gdb backtrace (break on 'barf'): Breakpoint 1 at 0x400000000469ec31: file rts/RtsMessages.c, line 39. (gdb) run -B/var/tmp/portage/dev-lang/ghc-6.12.3/work/ghc-6.12.3/inplace/bin --info Starting program: /var/tmp/portage/dev-lang/ghc-6.12.3/work/ghc-6.12.3/inplace/lib/ghc-stage2 -B/var/tmp/portage/dev-lang/ghc-6.12.3/work/ghc-6.12.3/inplace/bin --info [Thread debugging using libthread_db enabled] Breakpoint 1, barf (s=0x40000000047915b0 "evacuate: strange closure type %d") at rts/RtsMessages.c:39 39 va_start(ap,s); (gdb) bt #0 barf (s=0x40000000047915b0 "evacuate: strange closure type %d") at rts/RtsMessages.c:39 #1 0x400000000474a1e0 in evacuate (p=0x6000000000147958) at rts/sm/Evac.c:756 #2 0x40000000046d68c0 in scavenge_srt (srt=0x6000000000147958, srt_bitmap=7) at rts/sm/Scav.c:348 ... > 16:52:53 < zygoloid> slyfox: i'm no ghc expert but it looks like HEAP_ALLOCED_GC(q) > is returning true for a FUN_STATIC closure > 17:18:43 < zygoloid> try: p HEAP_ALLOCED_miss((unsigned long)(*p) >> 20, *p) > 17:19:12 < slyfox> (gdb) p HEAP_ALLOCED_miss((unsigned long)(*p) >> 20, *p) > 17:19:12 < slyfox> $1 = 0 > 17:19:40 < zygoloid> i /think/ that means the mblock_cache is broken > 17:22:45 < zygoloid> i can't help further. however i am suspicious that you seem to have pointers with similar-looking low 33 > bits and different high 4 bits, and it looks like such pointers get put into the same bucket in > mblock_cache. ... > 17:36:16 < zygoloid> slyfox: try changing the definition of MbcCacheLine to StgWord64, see if that helps > 17:36:31 < zygoloid> that's in includes/rts/storage/MBlock.h And it helped!
* Fixing link failure of compiler on ia64 ('-Wl,' prefixed value passed ↵Sergei Trofimovich2010-07-081-4/+0
| | | | | | | | | | | | | directly to ld) /usr/bin/ld -Wl,--relax -r -o dist-stage1/build/HSghc-6.10.4.o \ dist-stage1/build/BasicTypes.o dist-stage1/build/DataCon.o ... /usr/bin/ld: unrecognized option '-Wl,--relax' If we just drop '-Wl,' part it will not help as '-r' and '--relax' are incompatible. Looks like '-Wl,--relax' was skipped by earlier binutils' ld as unknown option. Removing ia64 specific path.
* LLVM: Allow getelementptr to use LlvmVar for indexes.David Terei2010-07-123-20/+22
|
* Move all the warning workarounds to one placeIan Lynagh2010-07-102-12/+16
|
* xhtml is now warning-freeIan Lynagh2010-07-101-3/+0
|
* Move a bit of build system codeIan Lynagh2010-07-091-12/+12
|
* adapt to the new async exceptions APISimon Marlow2010-07-096-23/+68
|
* quiet some new spewageSimon Marlow2010-07-091-3/+3
|
* New asynchronous exception control API (ghc parts)Simon Marlow2010-07-087-59/+140
| | | | | | | | | | | | | | | | | | | | | | | | As discussed on the libraries/haskell-cafe mailing lists http://www.haskell.org/pipermail/libraries/2010-April/013420.html This is a replacement for block/unblock in the asychronous exceptions API to fix a problem whereby a function could unblock asynchronous exceptions even if called within a blocked context. The new terminology is "mask" rather than "block" (to avoid confusion due to overloaded meanings of the latter). In GHC, we changed the names of some primops: blockAsyncExceptions# -> maskAsyncExceptions# unblockAsyncExceptions# -> unmaskAsyncExceptions# asyncExceptionsBlocked# -> getMaskingState# and added one new primop: maskUninterruptible# See the accompanying patch to libraries/base for the API changes.
* remove outdated commentSimon Marlow2010-07-081-3/+0
|
* remove 'mode: xml' emacs settings (#2208)Simon Marlow2010-07-0821-21/+0
|
* typo in commentSimon Marlow2010-06-161-1/+1
|
* Win32 getProcessElapsedTime: use a higher-resolution time sourceSimon Marlow2010-07-081-3/+27
| | | | | QueryPerformanceCounter() on Windows gives much better resolution than GetSystemTimeAsFileTime().
* alpha: switch handling of 'foreign import wrapper' (FIW) to libffiSergei Trofimovich2010-07-082-31/+1
| | | | | | | | | | I tried to build ghc-6.12.3 and found out FIW part of code does not compile anymore. It uses absent functions under #ifdef. Instead of fixing it I just switched to libffi. Result built successfully and passed 'foreign import wrapper' test I wrote for trac ticket #3516. I didn't try to build -HEAD yet, but this patch only removes code, so it should not make -HEAD worse.
* Reorder the CPP flags so -optP can override the platform definesIan Lynagh2010-07-081-1/+1
|
* Add docs for DatatypeContexts extensionIan Lynagh2010-07-071-0/+20
|
* Make datatype contexts an extension (on by default) (DatatypeContexts)Ian Lynagh2010-07-074-8/+28
|
* LLVM: Fix various typos in commentsDavid Terei2010-07-076-29/+29
|
* Handle haddock headers when looking for LANGUAGE/OPTIONS_GHC pragmasIan Lynagh2010-07-072-1/+4
|
* Make pragState call mkPState, rather than duplicating everythingIan Lynagh2010-07-061-19/+3
| | | | | This also means that extsBitmap gets set, whereas is was just being set to 0 before.
* LLVM: Add alias type defenitions to LlvmModule.David Terei2010-07-076-34/+38
|
* LLVM: Use packed structure type instead of structure typeDavid Terei2010-07-071-4/+4
| | | | | | | The regular structure type adds padding to conform to the platform ABI, which causes problems with structures storing doubles under windows since we don't conform to the platform ABI there. So we use packed structures instead now that don't do any padding.
* Make mkPState and pragState take their arguments in the same orderIan Lynagh2010-07-064-7/+8
|