#3604: treat TH with -dynamic in the same way as -prof That is, you have to build the library/program without -dynamic first, to get plain object files, and then build it again with -dynamic.
#3604: treat TH with -dynamic in the same way as -prof
That is, you have to build the library/program without -dynamic first,
to get plain object files, and then build it again with -dynamic.

I still need to check whether any changes to Cabal are required to
make this work.

da-x/ghc,oldmanmike/ghc,ezyang/ghc,mcmaniac/ghc,jstolarek/ghc,forked-upstream-packages-for-ghcjs/ghc,fmthoma/ghc,oldmanmike/ghc,elieux/ghc,anton-dessiatov/ghc,mcmaniac/ghc,sdiehl/ghc,tjakway/ghcjvm,wxwxwwxxx/ghc,tibbe/ghc,mcschroeder/ghc,ezyang/ghc,siddhanathan/ghc,siddhanathan/ghc,nushio3/ghc,oldmanmike/ghc,tibbe/ghc,tibbe/ghc,gcampax/ghc,mcmaniac/ghc,vikraman/ghc,bitemyapp/ghc,nushio3/ghc,mcschroeder/ghc,acowley/ghc,ekmett/ghc,elieux/ghc,TomMD/ghc,snoyberg/ghc,mfine/ghc,oldmanmike/ghc,fmthoma/ghc,frantisekfarka/ghc-dsi,GaloisInc/halvm-ghc,shlevy/ghc,ekmett/ghc,sdiehl/ghc,acowley/ghc,TomMD/ghc,AlexanderPankiv/ghc,nkaretnikov/ghc,forked-upstream-packages-for-ghcjs/ghc,urbanslug/ghc,mcschroeder/ghc,olsner/ghc,gcampax/ghc,tjakway/ghcjvm,ilyasergey/GHC-XAppFix,AlexanderPankiv/ghc,nushio3/ghc,holzensp/ghc,green-haskell/ghc,forked-upstream-packages-for-ghcjs/ghc,ghc-android/ghc,gcampax/ghc,ryantm/ghc,ezyang/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,nomeata/ghc,elieux/ghc,elieux/ghc,tjakway/ghcjvm,mcschroeder/ghc,ghc-android/ghc,forked-upstream-packages-for-ghcjs/ghc,TomMD/ghc,vTurbine/ghc,da-x/ghc,ezyang/ghc,fmthoma/ghc,vikraman/ghc,nkaretnikov/ghc,fmthoma/ghc,lukexi/ghc-7.8-arm64,TomMD/ghc,lukexi/ghc,urbanslug/ghc,gcampax/ghc,mcschroeder/ghc,anton-dessiatov/ghc,nomeata/ghc,lukexi/ghc,forked-upstream-packages-for-ghcjs/ghc,jstolarek/ghc,oldmanmike/ghc,jstolarek/ghc,holzensp/ghc,hferreiro/replay,sgillespie/ghc,ghc-android/ghc,da-x/ghc,gridaphobe/ghc,nkaretnikov/ghc,ekmett/ghc,christiaanb/ghc,AlexanderPankiv/ghc,hferreiro/replay,AlexanderPankiv/ghc,hferreiro/replay,gridaphobe/ghc,mettekou/ghc,spacekitteh/smcghc,christiaanb/ghc,gridaphobe/ghc,ml9951/ghc,hferreiro/replay,sgillespie/ghc,shlevy/ghc,mcschroeder/ghc,shlevy/ghc,snoyberg/ghc,mfine/ghc,wxwxwwxxx/ghc,ryantm/ghc,vTurbine/ghc,gridaphobe/ghc,mettekou/ghc,anton-dessiatov/ghc,anton-dessiatov/ghc,ml9951/ghc,sgillespie/ghc,vTurbine/ghc,sgillespie/ghc,jstolarek/ghc,spacekitteh/smcghc,urbanslug/ghc,mettekou/ghc,bitemyapp/ghc,TomMD/ghc,AlexanderPankiv/ghc,lukexi/ghc,frantisekfarka/ghc-dsi,green-haskell/ghc,olsner/ghc,bitemyapp/ghc,lukexi/ghc-7.8-arm64,nathyong/microghc-ghc,lukexi/ghc-7.8-arm64,shlevy/ghc,wxwxwwxxx/ghc,ml9951/ghc,nathyong/microghc-ghc,wxwxwwxxx/ghc,snoyberg/ghc,vTurbine/ghc,shlevy/ghc,green-haskell/ghc,holzensp/ghc,siddhanathan/ghc,ml9951/ghc,tibbe/ghc,siddhanathan/ghc,nushio3/ghc,holzensp/ghc,ml9951/ghc,wxwxwwxxx/ghc,snoyberg/ghc,fmthoma/ghc,ezyang/ghc,da-x/ghc,snoyberg/ghc,olsner/ghc,ekmett/ghc,nkaretnikov/ghc,GaloisInc/halvm-ghc,frantisekfarka/ghc-dsi,hferreiro/replay,GaloisInc/halvm-ghc,mettekou/ghc,olsner/ghc,nkaretnikov/ghc,urbanslug/ghc,mettekou/ghc,christiaanb/ghc,snoyberg/ghc,anton-dessiatov/ghc,ilyasergey/GHC-XAppFix,vikraman/ghc,christiaanb/ghc,gcampax/ghc,mfine/ghc,lukexi/ghc-7.8-arm64,tjakway/ghcjvm,ezyang/ghc,bitemyapp/ghc,acowley/ghc,TomMD/ghc,gcampax/ghc,olsner/ghc,hferreiro/replay,ghc-android/ghc,shlevy/ghc,sgillespie/ghc,siddhanathan/ghc,gcampax/ghc,jstolarek/ghc,nathyong/microghc-ghc,olsner/ghc,oldmanmike/ghc,acowley/ghc,AlexanderPankiv/ghc,urbanslug/ghc,GaloisInc/halvm-ghc,anton-dessiatov/ghc,sdiehl/ghc,elieux/ghc,ghc-android/ghc,hferreiro/replay,snoyberg/ghc,lukexi/ghc-7.8-arm64,fmthoma/ghc,nushio3/ghc,wxwxwwxxx/ghc,ml9951/ghc,mfine/ghc,nkaretnikov/ghc,lukexi/ghc,tjakway/ghcjvm,sgillespie/ghc,spacekitteh/smcghc,tibbe/ghc,ryantm/ghc,nushio3/ghc,mcmaniac/ghc,vTurbine/ghc,GaloisInc/halvm-ghc,nathyong/microghc-ghc,frantisekfarka/ghc-dsi,siddhanathan/ghc,da-x/ghc,ilyasergey/GHC-XAppFix,vTurbine/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,forked-upstream-packages-for-ghcjs/ghc,nathyong/microghc-ghc,mfine/ghc,mfine/ghc,spacekitteh/smcghc,urbanslug/ghc,lukexi/ghc,green-haskell/ghc,frantisekfarka/ghc-dsi,shlevy/ghc,ml9951/ghc,sdiehl/ghc,da-x/ghc,acowley/ghc,oldmanmike/ghc,ryantm/ghc,acowley/ghc,nkaretnikov/ghc,forked-upstream-packages-for-ghcjs/ghc,vikraman/ghc,ekmett/ghc,olsner/ghc,ml9951/ghc,TomMD/ghc,nushio3/ghc,elieux/ghc,nomeata/ghc,fmthoma/ghc,sdiehl/ghc,nathyong/microghc-ghc,gridaphobe/ghc,vikraman/ghc,gridaphobe/ghc,mcschroeder/ghc,siddhanathan/ghc,sdiehl/ghc,tjakway/ghcjvm,christiaanb/ghc,bitemyapp/ghc,christiaanb/ghc,ezyang/ghc,mettekou/ghc,gridaphobe/ghc,mcmaniac/ghc,holzensp/ghc,ghc-android/ghc,elieux/ghc,nomeata/ghc,spacekitteh/smcghc,nomeata/ghc,mfine/ghc,tjakway/ghcjvm,AlexanderPankiv/ghc,ryantm/ghc,da-x/ghc,sdiehl/ghc,acowley/ghc,vikraman/ghc,ghc-android/ghc,anton-dessiatov/ghc,vikraman/ghc,ilyasergey/GHC-XAppFix,wxwxwwxxx/ghc,nathyong/microghc-ghc,mettekou/ghc,green-haskell/ghc,urbanslug/ghc,vTurbine/ghc