Public bug reported:

The symbols file for libmiopen1 is currently named
`debian/libmiopen1.symbols.amd64.5.5.1`, which dpkg-gensymbols does not
recognize. It only looks up debian/<pkg>.symbols[.<arch>], i.e.
debian/libmiopen1.symbols.amd64 in this case.

As a result, gensymbols never reads this file during builds, and symbols
tracking has been inert since the file was renamed to this suffix
(see commits beabdbf and c03a19e, both "remove 5.5.1 symbol file"). All
entries are still pinned at 5.5.1 MINVERs, even though the package is
now at 10.0. This gives a false impression of ABI/symbol coverage: no
new symbols added between 5.5.1 and 10.0 have been recorded, and no
removed/changed symbols would have been caught.

Steps to reproduce:
1. Build libmiopen1 10.0+dfsg-0ubuntu1 (or later) with
   DPKG_GENSYMBOLS_CHECK_LEVEL=4
2. Observe that debian/libmiopen1.symbols.amd64.5.5.1 is silently
   ignored, and no symbols diff/errors are reported despite the large
   version gap.

Requested fix:
- Rename debian/libmiopen1.symbols.amd64.5.5.1 to
  debian/libmiopen1.symbols.amd64
- Regenerate the file against an actual 10.0 build (real ROCm
  toolchain + AMD GPU needed to build/test and diff symbols correctly)
- Update MINVERs to reflect when symbols actually became available (or
  best-effort 10.0 baseline for previously untracked symbols)
- Re-enable strict symbol checking
  (DPKG_GENSYMBOLS_CHECK_LEVEL=4 in debian/rules, already present but
  currently a no-op due to the above) once the file is verified accurate

Affects: miopen (Ubuntu)

** Affects: miopen (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167331

Title:
  libmiopen1.symbols file misnamed (.5.5.1 suffix), inert since 5.5.1,
  needs regeneration for 10.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/miopen/+bug/2167331/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to