6.12.1 Release Candidate: profiling and libHSffi_p.a

Hi, I tried profiling a program with the GHC 6.12 release candidate. I got this: $ ghc -O1 -prof -auto-all --make CommsTime.hs [1 of 1] Compiling Main ( CommsTime.hs, CommsTime.o ) Linking CommsTime ... /usr/bin/ld: cannot find -lHSffi_p collect2: ld returned 1 exit status Googling turned up this link, which suggests this problem was fixed earlier this year: http://www.mail-archive.com/cvs-ghc@haskell.org/msg13546.html However: $ find ~ -iname "libHSffi*" /home/nccb2/lib/ghc-6.12.0.20091010/libHSffi.a /home/nccb2/lib/ghc-6.12.0.20091010/libHSffi-ghc6.12.0.20091010.so /home/nccb2/ghc-6.11.20090915/libffi/libHSffi.a /home/nccb2/ghc-6.11.20090915/libffi/libHSffi-ghc6.11.20090915.so /home/nccb2/ghc-6.12.0.20091010/libffi/libHSffi-ghc6.12.0.20091010.so /home/nccb2/ghc-6.12.0.20091010/libffi/libHSffi.a /home/nccb2/ghc-6.12.0.20091010/libffi/libHSffi_p.a This seems to indicate that the library is built (/home/nccb2/ghc-6.12.0.20091010 is where I built GHC) but not installed on my system. This is a Debian 32-bit system, and I don't remember passing any options to the GHC configure command besides --prefix. Neil.

On Fri, Oct 16, 2009 at 04:17:11PM +0100, Neil Brown wrote:
$ ghc -O1 -prof -auto-all --make CommsTime.hs [1 of 1] Compiling Main ( CommsTime.hs, CommsTime.o ) Linking CommsTime ... /usr/bin/ld: cannot find -lHSffi_p collect2: ld returned 1 exit status
Thanks for the report. Fixed by:
Mon Oct 12 11:19:52 BST 2009 Ian Lynagh
participants (2)
-
Ian Lynagh
-
Neil Brown