This project is mirrored from https://gitlab.haskell.org/ghc/ghc.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
- 13 Jul, 2010 5 commits
-
-
Ian Lynagh authored
Which was being used seemed to be random
-
dterei authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
- 07 Jul, 2010 2 commits
-
-
simonpj@microsoft.com authored
When a nullary constructor is a symbol eg (:=:) we need to take care. Annoying.
-
simonpj@microsoft.com authored
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.
-
- 01 Jul, 2010 1 commit
-
-
simonpj@microsoft.com authored
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]
-
- 09 Jul, 2010 2 commits
-
-
Sergei Trofimovich authored
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.
-
Sergei Trofimovich authored
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!
-
- 08 Jul, 2010 1 commit
-
-
Sergei Trofimovich authored
/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.
-
- 12 Jul, 2010 1 commit
-
-
dterei authored
-
- 10 Jul, 2010 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 09 Jul, 2010 3 commits
-
-
Ian Lynagh authored
-
Simon Marlow authored
-
Simon Marlow authored
-
- 08 Jul, 2010 3 commits
-
-
Simon Marlow authored
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.
-
Simon Marlow authored
-
Simon Marlow authored
-
- 16 Jun, 2010 1 commit
-
-
Simon Marlow authored
-
- 08 Jul, 2010 3 commits
-
-
Simon Marlow authored
QueryPerformanceCounter() on Windows gives much better resolution than GetSystemTimeAsFileTime().
-
Sergei Trofimovich authored
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.
-
Ian Lynagh authored
-
- 07 Jul, 2010 4 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
dterei authored
-
Ian Lynagh authored
-
- 06 Jul, 2010 1 commit
-
-
Ian Lynagh authored
This also means that extsBitmap gets set, whereas is was just being set to 0 before.
-
- 07 Jul, 2010 2 commits
- 06 Jul, 2010 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 05 Jul, 2010 5 commits
-
-
dterei authored
This is already handled by the Cmm code generator so LLVM is simply duplicating work. LLVM also doesn't know which ones are actually live so saves them all which causes a fair performance overhead for C calls on x64. We stop llvm saving them across the call by storing undef to them just before the call.
-
dterei authored
-
dterei authored
Patch from Erik de Castro Lopo <erikd@mega-nerd.com>.
-
Simon Marlow authored
-
Simon Marlow authored
To improve performance of the RTS when dynamically linked on x86, I previously disabled -fPIC for certain critical modules (the GC, and a few others). However, build reports suggest that the dynamic linker on OS X doesn't like this, so I'm disabling this optimsation on that platform.
-
- 25 Jun, 2010 1 commit
-
-
amsay@amsay.net authored
'import' syntax is seperate from ':module' syntax
-
- 04 Jul, 2010 1 commit
-
-
Ian Lynagh authored
We no longer support building with a compiler that doesn't come with base 4.
-