Ticket #5889 (new bug)
-fno-prof-count-entries leads to linking errors
| Reported by: | akio | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.6.2 |
| Component: | Compiler | Version: | 7.4.1 |
| Keywords: | Cc: | ||
| Operating System: | Linux | Architecture: | x86_64 (amd64) |
| Type of failure: | GHC rejects valid program | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
When I compile the attached program with a certain set of flags, I get a linking error.
% ghc -O -prof -fprof-auto -fno-prof-count-entries -fforce-recomp main.hs [1 of 2] Compiling Foo ( Foo.hs, Foo.o ) [2 of 2] Compiling Main ( main.hs, main.o ) Linking main ... main.o: In function `s1uR_info': (.text+0xcc): undefined reference to `Foo_makePairzitotal_C0_cc' collect2: ld returned 1 exit status
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

