Package: src:ntp
Version: 1:4.2.8p14+dfsg-2
Severity: wishlist
Tags: upstream

Hi, Bernhard Schmidt.

First of all, thanks for your work on Debian and NTP, specifically.

So, I noticed during a recent update of ntpdate, that the testsuite was
disabled on ppc64el, an architecture I care about, hence the curiosity.

While investigating the problems, I noticed they seem to amount to link
errors when building the tests. It looks like some of them link to
ntp_config.o, and some symbols are not found, because some other objects
are not included during that build. So, the fix would be simply a matter
of exhaustively finding out which objects need to be included.

So, why doesn't this fail on amd64 or other arches? So, the tests are
linked using -Wl,--gc-sections, which removes unused sections from the
linking process, but work differently depending on arch. On ppc64el,
some sections are still left and missing symbols referred to by those
sections lead to the link failure.

I hope I could shed some light into the problem and help your or someone
else come up with the fix for it. Maybe I could do it myself, I just may
not have the time right now, but wouldn't like to leave the
investigating work undocumented.

Thank you very much.
Cascardo.


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

Kernel: Linux 5.4.0-4-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to