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

Bug#532627: kfreebsd-image-7.2-1-amd64: biarch support broken



Package: kfreebsd-image-7.2-1-amd64
Version: 7.2-1
Severity: grave
Justification: renders package unusable

Starting with kernel 7.2, upstream has changed the way a binary type is
detected. This prevent 32-bit binaries to work.

On kFreeBSD 7.1, the following tests are done (in this order):
- ELF EI_OSABI
- interpreter
- ELF brand

On kFreeBSD 7.2, a 4th test has been added (in this order):
- .note.ABI-tag
- ELF EI_OSABI
- interpreter
- ELF brand

If .note.ABI-tag contains among other things "FreeBSD", the FreeBSD
execution environment is used, while if it contains "GNU", the Linux
execution environment is used. Our binaries contains "GNU" as on 
plain GNU/Linux, which breaks 32-bit support.

While we could remove/move this new check, this clearly differs from 
upstream. Any other idea?

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 7.2-1-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kfreebsd-image-7.2-1-amd64 depends on:
ii  freebsd-utils                 7.1-5      FreeBSD utilities needed for GNU/k
ii  kldutils                      7.1-5      tools for managing kFreeBSD module

kfreebsd-image-7.2-1-amd64 recommends no packages.

kfreebsd-image-7.2-1-amd64 suggests no packages.

-- no debconf information



Reply to: