[PATCH] Error: can't resolve `.debug-ghc-link-info' {.debug-ghc-link-info section} - `.Ltext0' {.text section}

2012-02-15 Thread Nathan Howell
I've hit a bug when main.c is compiled with -g to emit debug symbols. GHC uses inline assembly to emit a .note section, which appears to work when debug symbols are omitted. Enabling symbols causes the assembler to fail when attempting to calculate offsets that span sections. The attached patch spl

Re: assert in rts/Schedule.c

2012-01-06 Thread Nathan Howell
I hit this one (might be the same?) on 7.2.1 on Linux x86_64: ASSERT(t->cap == cap); It happens somewhat frequently under load on a 16 core box. On Fri, Jan 6, 2012 at 11:38 AM, Karel Gardas wrote: > > Hello, > > I'm curious if I'm the only one seeing asserts like: > > Stdout: > > Stderr: >

Re: GHC-specific alias analysis for the LLVM backend

2011-10-02 Thread Nathan Howell
On Fri, Sep 30, 2011 at 4:08 PM, David Terei wrote: > Are you using LLVM 2.9 or the unreleased 3.0? I'm > excited about the new register allocator in 3.0. I don't know if it > will help but more then any other improvement in the last few releases > it seems to have the potential to. I was hoping