Building ticky-ticky profiling libraries doesn't work
|Reported by:||tim||Owned by:||tim|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
On ghc-users, Andrew Hunter pointed out that "make way=t" for the libraries is broken. If I try it with a clean libraries/ directory in the HEAD, I get:
[snip] echo dist/build/cbits/longlong.t_o dist/build/GHC/Bool.t_o dist/build/GHC/Generics.t_o dist/build/GHC/Ordering.t_o dist/build/GHC/PrimopWrappers.t_o dist/build/GHC/IntWord32.t_o dist/build/GHC/IntWord64.t_o `find dist/build -name "*_stub.t_o" -print` | xargs /usr/bin/ar q dist/build/libHSghc-prim-0.1_t.a /usr/bin/ar: creating dist/build/libHSghc-prim-0.1_t.a make: Leaving directory `/home/tjc/GhcTrees/ticky-test/libraries/ghc-prim' Registering ghc-prim-0.1... Reading package info from "dist/inplace-pkg-config" ... done. ghc-pkg-inplace: cannot find libHSghc-prim-0.1.a on library path (use --force to override) make: *** [make.library.ghc-prim] Error 1
This isn't shocking, since the package system doesn't know to look for the ticky versions of libraries (and I think the filename should be libHSghc-prim-0.1.t_a and not libHSghc-prim-0.1_t.a, besides), but it should be fixed. I'll try to do it.