Not properly considered Interface Checksum and Indirect Checksum in ppudump for ppu in lcl
Original Reporter info from Mantis: dubrsl
-
Reporter name: Viacheslav Dubrovskyi
Original Reporter info from Mantis: dubrsl
- Reporter name: Viacheslav Dubrovskyi
Description:
I build rpm and for automatic calculation of dependency tracking is used ppudump.
Description here: http://git.altlinux.org/gears/r/rpm-build-fpc.git?p=rpm-build-fpc.git;a=blob_plain;f=README.ALT;hb=b03c97d4bfdfbe8e960637d69db92996a520cd2d
The system works for all *.ppu, except for *.ppu from lcl. Because ppudump shows different values Checksum, Interface Checksum and Indirect Checksum.
Example:
$ ppudump -vi watchesdlg.ppu
PPU-Analyser Version 2.5.1
Copyright (c) 1998-2010 by the Free Pascal Development Team
Analyzing watchesdlg.ppu (v134)
Interface section
------------------
Module Name: WatchesDlg
Source file 1 : watchesdlg.pp 2011/12/10 22:04:26
....skip....
Uses unit: Buttons (Crc: 1F10FCA2, IntfcCrc: C07BB8EE, IndCrc: 5EEA4EAC)
....skip....
and
$ ppudump -vh buttons.ppu
PPU-Analyser Version 2.5.1
Copyright (c) 1998-2010 by the Free Pascal Development Team
Analyzing buttons.ppu (v134)
Header
-------
Compiler version : 2.6.0
Target processor : i386
Target operating system : Linux-i386
Unit flags : init, final, static_linked, little_endian, local_threadvars, has_debug_info, dwarf_debug_info, local_symtable
FileSize (w/o header) : 136939
Checksum : 392F63F6
Interface Checksum : 942C019E
Indirect Checksum : C34B6394
Definitions stored : 1109
Symbols stored : 1036
As you see, watchesdlg.ppu requares
Uses unit: Buttons (Crc: 1F10FCA2, IntfcCrc: C07BB8EE, IndCrc: 5EEA4EAC)
but unit buttons.ppu provide another data
Checksum : 392F63F6
Interface Checksum : 942C019E
Indirect Checksum : C34B6394
Mantis conversion info:
- Mantis ID: 20882
- Version: 0.9.30.2