Opened 6 years ago

Closed 4 years ago

#2455 closed task (wontfix)

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 (8)

comment:1 Changed 6 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.

comment:2 Changed 6 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.

comment:3 Changed 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:4 Changed 6 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple

comment:5 Changed 5 years ago by igloo

  • Milestone changed from 6.10 branch to 6.12 branch

comment:6 Changed 4 years ago by igloo

  • Milestone changed from 6.12 branch to 6.12.3

comment:7 Changed 4 years ago by igloo

  • Milestone changed from 6.12.3 to 6.14.1
  • Priority changed from normal to low

comment:8 Changed 4 years ago by simonmar

  • Resolution set to wontfix
  • Status changed from new to closed
  • Type of failure set to None/Unknown

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

Note: See TracTickets for help on using tickets.