Ticket #2455 (closed task: wontfix)

Opened 5 years ago

Last modified 3 years ago

Building ticky-ticky profiling libraries doesn't work

Reported by: tim Owned by: tim
Priority: low Milestone: 7.0.1
Component: Profiling Version: 6.9
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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[1]: 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.

Change History

Changed 5 years ago by tim

I realized that the error I was seeing above was because I was running "make way=t" under libraries/ after doing a clean build, which doesn't seem to work for way=p either. But if I set GhcLibWays? to "t" in the build.mk file, and "make" from the top level, it doesn't seem to build a copy of the libraries with ticky enabled either. At this point I'm thoroughly confused about what's going on, but I'll look into it later.

Changed 5 years ago by igloo

  • difficulty set to Unknown
  • milestone set to 6.10 branch

We probably need some sort of support from Cabal for building different "way"s. I don't know if there are any plans for how this should work.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple

Changed 4 years ago by igloo

  • milestone changed from 6.10 branch to 6.12 branch

Changed 3 years ago by igloo

  • milestone changed from 6.12 branch to 6.12.3

Changed 3 years ago by igloo

  • priority changed from normal to low
  • milestone changed from 6.12.3 to 6.14.1

Changed 3 years ago by simonmar

  • status changed from new to closed
  • failure set to None/Unknown
  • resolution set to wontfix

Irrelevant now - we don't have a -ticky way any more.

Note: See TracTickets for help on using tickets.