I/O manager: relying solely upon kqueue is not a safe way to go

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Mon Mar 18 03:28:17 CET 2013


>> and the build error:
>> "inplace/bin/ghc-stage1" -static  -H32m -O    -package-name
>> ghc-prim- -hide-all-packages -i -ilibraries/ghc-prim/.
> [...]
>> libraries/ghc-prim/dist-install/build/GHC/IntWord64.o -dyno
>> libraries/ghc-prim/dist-install/build/GHC/IntWord64.dyn_o
>> /var/folders/_c/4n2x0zfx7mx5gk_46pdxn3pm0000gn/T/ghc41160_0/ghc41160_1.split__2.s:unknown:missing
>> indirect symbols for section (__DATA,__la_sym_ptr2)
>> make[1]: *** [libraries/ghc-prim/dist-install/build/GHC/IntWord64.o] Error 1
>> make[1]: *** Deleting file
>> `libraries/ghc-prim/dist-install/build/GHC/IntWord64.o'
>> make: *** [all] Error 2
> Can you "mkdir tmp", rerun the command with "-keep-tmp-files -tmpdir tmp"
> and send me the temporary files please?

This problem happens if a HS file is compiled though "make". If I compiled
it by copy-pasting "inplace/bin/ghc-stage1", it works. 

I said that "dtruss" changes the behavior but it appeared that
"dtruss" does not matter.

Should I put "-keep-tmp-files -tmpdir tmp" to a makefile? If so,
please give me a patch.


More information about the ghc-devs mailing list