Re: Proposal: Include GHC version target in libraries' description

2015-08-14 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 05/08/15 13:00, Alexander Berntsen wrote: Proposed improvement: Add [library]-[library version] is bundled with ghc-[GHC version]. in the description string of [library].cabal. This immediately clears up the confusion when looking at

Forcing a linking error?

2015-08-14 Thread Erik de Castro Lopo
Dear ghc-devs, There is a commonly used library which has at least one function that when compiled into a program, requires the threaded run time system. Without the threaded runtime, the program just hangs. One kludgy solution to this problem is to have the function check for

problem running on arm

2015-08-14 Thread Luka Rahne
Hello everyone I am new here and I have build crosscompiler for RedPitaya (http://redpitaya.com), but now i am unable to run hello world. (main = putStrLn hello world) Running with +RTS -Gg -RTS prints out bunch of data. What I think is going on is that GC consumes all memory. Here is one output

Re: Forcing a linking error?

2015-08-14 Thread Edward Z. Yang
Omer, this ticket may be of interest to you: https://ghc.haskell.org/trac/ghc/ticket/7790 Edward Excerpts from Ömer Sinan Ağacan's message of 2015-08-14 03:51:49 -0700: Here's an example that fails with a link time error when -threaded is not used: ➜ rts_test ghc --make Main.hs

Re: Forcing a linking error?

2015-08-14 Thread Ömer Sinan Ağacan
Here's an example that fails with a link time error when -threaded is not used: ➜ rts_test ghc --make Main.hs [1 of 1] Compiling Main ( Main.hs, Main.o ) Linking Main ... Main.o: In function `rn4_info': (.text+0x26): undefined reference to `wakeUpRts'