[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Status of dpkg-shlibdeps tracking ARM object linkage ABI mismatches



On 2023-06-16 11:19, Emanuele Rocca wrote:
> I'll look at the soft/hard float ones next.

Two findings.

(1) I couldn't find any armel object with the hard-float flag set.

(2) There are a few armhf packages shipping files with the soft-float flag.

All of them, with the exception of the u-boot packages, are written in
Pascal. It seems that fpc just emits the wrong flags. As an example,
here is the readelf output for the armhf version of cqrlog. Note that
Tag_ABI_VFP_args is not set either.

$ readelf -A /usr/bin/cqrlog
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "7-A"
  Tag_CPU_arch: v7
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: VFPv3-D16
  Tag_ABI_align_needed: 8-byte

$ readelf -h /usr/bin/cqrlog 
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           ARM
  Version:                           0x1
  Entry point address:               0x28620
  Start of program headers:          52 (bytes into file)
  Start of section headers:          15683592 (bytes into file)
  Flags:                             0x5000200, Version5 EABI, soft-float ABI
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         8
  Size of section headers:           40 (bytes)
  Number of section headers:         26
  Section header string table index: 25

Full list of armhf packages shipping ELF objects with the soft-float
flag set:

astap
astap-cli
c-evo-dh-gtk2
c-evo-dh-stdai
cqrlog
doublecmd-gtk
doublecmd-plugins
doublecmd-qt
el-ixir
fp-compiler-3.2.2
fp-ide-3.2.2
fp-units-castle-game-engine
fp-units-rtl-3.2.2
fp-utils-3.2.2
gearhead
gearhead-sdl
goverlay
lazpaint-gtk2
lazpaint-qt5
mricron
nbc
pasdoc
tomboy-ng
u-boot-rockchip
u-boot-rpi
u-boot-sunxi
u-boot-tegra
view3dscene
winff-gtk2
winff-qt


Reply to: