Error building ghc on raspberry pi.

Karel Gardas karel.gardas at centrum.cz
Fri Jan 18 18:11:53 CET 2013


On 01/18/13 05:49 PM, roconnor at theorem.ca wrote:
> I don't know much about gdb, but
>
> $ /usr/bin/gdb /tmp/Main
> GNU gdb (GDB) 7.4.1-debian
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "arm-linux-gnueabihf".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /tmp/Main...done.
> (gdb) run
> Starting program: /tmp/Main [Thread debugging using libthread_db enabled]
> Using host libthread_db library
> "/lib/arm-linux-gnueabihf/libthread_db.so.1".
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x003a732c in stg_returnToStackTop ()

And here you need to use `bt' command to show us a call stack which 
leads to crash.

Thanks,
Karel



More information about the Glasgow-haskell-users mailing list