Opened 7 years ago

Closed 4 years ago

#3942 closed bug (invalid)

Strange profiling behaviour in 6.10.4

Reported by: simonpj Owned by: simonmar
Priority: normal Milestone: 7.4.3
Component: Profiling Version: 6.10.4
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


Greg Wright reports strange profiling behaviour in GHC 6.10.4:

Change History (9)

comment:1 Changed 7 years ago by guest

I have done some further checking and removing the "-optc-O3" and "-optc-ffast-math" flags (suggested by Ian Lynagh) did not affect the result. In fact, removing all of the ghc options in the cabal file had no effect.

I will try to reduce this to a standalone test case. I know that earlier versions of nsyn compiled by ghc 6.8.3 and using direct FFI calls to the Gnu Scientific Library linear algebra code (instead of hmatrix) did profile correctly. I had used an older version of nsyn as a test case for the "prof2dot" program that converts a profile to a graphviz dot file.

comment:2 Changed 6 years ago by simonmar

  • Owner simonmar deleted

comment:3 Changed 6 years ago by igloo

  • Milestone changed from 7.0.1 to 7.0.2

comment:4 Changed 6 years ago by igloo

  • Milestone changed from 7.0.2 to 7.2.1

comment:5 Changed 5 years ago by simonmar

  • Component changed from Compiler to Profiling
  • Milestone changed from 7.2.1 to 7.4.1
  • Owner set to simonmar

comment:6 Changed 5 years ago by simonmar

  • difficulty set to Unknown
  • Milestone changed from 7.4.1 to 7.4.2

Tried to look into this, bug hmatrix doesn't compile with HEAD right now:

    Expecting one more argument to `c'
    In the type `e -> IndexOf c -> c e'
    In the class declaration for `Container'

I worked around that error with some explicit kind signatures, but then ran into more type errors and gave up.

Bumping to 7.4.2 when hmatrix will hopefully be working again.

comment:7 Changed 4 years ago by pcapriotti

  • Status changed from new to infoneeded

I tried compiling the example, but it doesn't build anymore with the latest hmatrix. I tried installing a few old versions of hmatrix, but none build with HEAD.

Greg, if this problem is still relevant to you, can you please provide an updated version of your code that builds with the latest libraries?

comment:8 Changed 4 years ago by igloo

  • Milestone changed from 7.4.2 to 7.4.3

comment:9 Changed 4 years ago by igloo

  • Resolution set to invalid
  • Status changed from infoneeded to closed

No response from submitter, so closing.

Note: See TracTickets for help on using tickets.