Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/ab3a373b8d63fa0dfa8a971bf3de20a5aa7a370d >--------------------------------------------------------------- commit ab3a373b8d63fa0dfa8a971bf3de20a5aa7a370d Author: Ian Lynagh <i...@well-typed.com> Date: Wed Oct 3 19:17:06 2012 +0100 Fix ghcilink002 and others when dynamic-by-default It was linking base etc, but not the RTS, which was causing "undefined symbol: stg_newByteArrayzh" >--------------------------------------------------------------- tests/ghci/linking/Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ghci/linking/Makefile b/tests/ghci/linking/Makefile index a4e719e..2f53b6b 100644 --- a/tests/ghci/linking/Makefile +++ b/tests/ghci/linking/Makefile @@ -31,7 +31,7 @@ ghcilink002 : $(RM) -rf dir002 mkdir dir002 "$(TEST_HC)" -c -dynamic f.c -o dir002/foo.o - "$(TEST_HC)" -shared -v0 -o dir002/$(call DLL,foo) dir002/foo.o + "$(TEST_HC)" -no-auto-link-packages -shared -v0 -o dir002/$(call DLL,foo) dir002/foo.o echo "test" | "$(TEST_HC)" --interactive -ignore-dot-ghci -v0 -Ldir002 -lfoo TestLink.hs # Test 3: ghci -lstdc++ @@ -93,7 +93,7 @@ ghcilink005 : '$(GHC_PKG)' --no-user-package-db -f $(LOCAL_PKGCONF005) register $(PKG005) -v0 # "$(TEST_HC)" -c -dynamic f.c -o dir005/foo.o - "$(TEST_HC)" -shared -o dir005/$(call DLL,foo) dir005/foo.o + "$(TEST_HC)" -no-auto-link-packages -shared -o dir005/$(call DLL,foo) dir005/foo.o echo "test" | "$(TEST_HC)" --interactive -ignore-dot-ghci -v0 -package-db $(LOCAL_PKGCONF005) -package test TestLink.hs # Test 6: _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc