Bugs item #651842, was opened at 2002-12-11 05:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=651842&group_id=8032
Category: None Group: None >Status: Closed >Resolution: Works For Me Priority: 5 Submitted By: whee (whee) Assigned to: Nobody/Anonymous (nobody) Summary: Link failure with -prof (OS X, CVS GHC) Initial Comment: Using Mac OS X 10.2.2, the linker fails when -prof is in effect: (Relevant output from 'ghc -v -prof --make file.hs -o file') ld -arch ppc -dynamic -framework HaskellSupport [snip] -o file -lcrt1.o -lcrtbegin.o -L/usr/local/lib/ghc-5.05 -L/usr/lib/gcc/darwin/3.1 -L/usr/lib/gcc/darwin -L/usr/libexec/gcc/darwin/ppc/3.1/../../.. file.o -lHShaskell98_p -lHSbase_p -lHSbase_cbits -lHSrts_p -lm -lpthread -lgcc -lSystem | c++filt3 ld: Undefined symbols: _TextziReadziLex_Char_con_info Upon further inspection, the symbol _TextziReadziLex_Char_con_info is indeed not defined in libHSbase_p.a as it should be. It is, however, present in libHSbase.a. After a full clean and rebuild, the problem persists. This is with GHC 5.05 (CVS 2002-12-11). ---------------------------------------------------------------------- >Comment By: Simon Marlow (simonmar) Date: 2003-01-08 13:09 Message: Logged In: YES user_id=48280 The problem couldn't be reproduced, and the original submitter of the report hasn't followed up. ---------------------------------------------------------------------- Comment By: Wolfgang Thaller (wthaller) Date: 2002-12-13 18:42 Message: Logged In: YES user_id=566359 No problem here (CVS 2002-12-12). Both libHSbase.a and libHSbase_p.a contain the symbol TextziReadziLex_Char_con_info. No error occurs when linking a hello-world style program for profiling. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=651842&group_id=8032 _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
