Ticket #5328 (closed feature request: fixed)

Opened 23 months ago

Last modified 22 months ago

Include compiler version in ABI hash

Reported by: nomeata Owned by: simonmar
Priority: high Milestone: 7.4.1
Component: Compiler Version: 7.0.4
Keywords: Cc: 633828@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Hi,

as outlined in the discussion at  http://lists.debian.org/1310417783.21421.22.camel@kirk, it would be beneficial if the ABI hash of packages would change if compiled by a different version of the compiler – after all, the interface files of such a package would not be usable any more.

Debian uses the abi hashes to detect what needs to be rebuilt, hence we have an interest in this.

The attached patch has been applied to ghc in Debian unstable already, and I’d greatly appreciate if it or something with the same effect would enter the main line.

Attachments

hash-version-number Download (457 bytes) - added by nomeata 23 months ago.

Change History

Changed 23 months ago by nomeata

Changed 22 months ago by igloo

  • priority changed from normal to high
  • status changed from new to patch
  • milestone set to 7.4.1

Changed 22 months ago by simonmar

  • owner set to simonmar

Changed 22 months ago by marlowsd@…

commit d80e66f9e838c0641fbe5a4757e9d69b1e85ff67

Author: Simon Marlow <marlowsd@gmail.com>
Date:   Tue Jul 19 15:55:40 2011 +0100

    Factor the GHC version into the hash generated by --abi-hash (#5328)

 ghc/Main.hs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Changed 22 months ago by simonmar

  • status changed from patch to merge

let's merge this into 7.2.1 to help out the Debian guys.

Changed 22 months ago by nomeata

Thanks, appreciated!

Changed 22 months ago by igloo

  • status changed from merge to closed
  • resolution set to fixed

Merged as changeset:82abc13248e1810d63a8735e1a2933ce39e15656

Note: See TracTickets for help on using tickets.