Re: Problem with profiling
On 02/06/2009 22:19, Axel Simon wrote: On May 31, 2009, at 21:20, Marco Túlio Gontijo e Silva wrote: $ ghc --make -prof glib.hs I'm getting: [1 of 1] Compiling Main ( glib.hs, glib.o ) Linking glib ... /usr/lib/gtk2hs/libHSgio_p.a(File.p_o): In function `s8ds_info': (.text+0x71c9): undefined reference to `SystemziGIOziFile_d3Bh' collect2: ld returned 1 exit status Do you know what could be causing this? SystemziGIOziFile_d3Bh looks like a symbol from a _stub.o file. Perhaps when the gtk2hs build system didn't put the _stub.o files in the libHSgio_p.a library? Cheers, Simon ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: Problem with profiling
Hello Axel. Em Ter, 2009-06-02 às 23:19 +0200, Axel Simon escreveu: On May 31, 2009, at 21:20, Marco Túlio Gontijo e Silva wrote: (...) recently there was a thread about a problem in profiling in gtk2hs-users, and it was menitoned that this could be a GHC6 bug. The problem is described in http://sourceforge.net/mailarchive/forum.php? thread_name=1242762143.18742.277.camel%40zezinhoforum_name=gtk2hs- users . Do you think this is a gtk2hs specific problem, or is it something about GHC? Are you sure that you compiled from scratch, i.e. did you do a 'make distclean'? You could try to give --disable-split-objs to configure and see if that helps. I build from a just extracted tree. Should I do make distclean just after extracting the .tar.gz? Greetings. -- marcot http://marcot.iaaeee.org/ ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: Problem with profiling
On May 31, 2009, at 21:20, Marco Túlio Gontijo e Silva wrote: Hello, recently there was a thread about a problem in profiling in gtk2hs-users, and it was menitoned that this could be a GHC6 bug. The problem is described in http://sourceforge.net/mailarchive/forum.php? thread_name=1242762143.18742.277.camel%40zezinhoforum_name=gtk2hs- users . Do you think this is a gtk2hs specific problem, or is it something about GHC? Are you sure that you compiled from scratch, i.e. did you do a 'make distclean'? You could try to give --disable-split-objs to configure and see if that helps. Axel. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Problem with profiling
Hello, recently there was a thread about a problem in profiling in gtk2hs-users, and it was menitoned that this could be a GHC6 bug. The problem is described in http://sourceforge.net/mailarchive/forum.php?thread_name=1242762143.18742.277.camel%40zezinhoforum_name=gtk2hs-users . Do you think this is a gtk2hs specific problem, or is it something about GHC? Greetings. -- marcot http://marcot.iaaeee.org/ ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users