Bug 46447 - /usr/lib/rpm/provided_symbols ignores symbols with <OS specific> type
Summary: /usr/lib/rpm/provided_symbols ignores symbols with <OS specific> type
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-08 13:20 MSK by Gleb F-Malinovskiy
Modified: 2023-06-09 13:37 MSK (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb F-Malinovskiy 2023-06-08 13:20:53 MSK
$ rpmpeek /ALT/Sisyphus/files/x86_64/RPMS/libjcpkcs11-2.8.0-alt2.x86_64.rpm /usr/lib/rpm/provided_symbols ./usr/lib64/libjcPKCS11ds.so 2>/dev/null | grep _ZNSt7collateIwE2idE
$ rpmpeek /ALT/Sisyphus/files/x86_64/RPMS/libjcpkcs11-2.8.0-alt2.x86_64.rpm readelf --wide --dyn-syms ./usr/lib64/libjcPKCS11ds.so 2>/dev/null | grep _ZNSt7collateIwE2idE
  2572: 00000000002df9c8     8 OBJECT  <OS specific>: 10 DEFAULT   26 _ZNSt7collateIwE2idE

This issue affects llvm16 on armh, see:
https://lore.altlinux.org/sisyphus-incominger/girar.task.322427.1.1@gyle.mskdc.altlinux.org
https://lore.altlinux.org/sisyphus-incominger/girar.task.322113.8.1@gyle.mskdc.altlinux.org
Comment 1 Repository Robot 2023-06-09 13:37:25 MSK
rpm-build-4.0.4.189-alt1 -> sisyphus:

 Thu Jun 08 2023 Gleb F-Malinovskiy <glebfm@altlinux> 4.0.4.189-alt1
 - rpm-build: provided_symbols: switched to eu-readelf to fix missing provides
   for symbols with peculiar bits that affect the output format of readelf from
   the binutils package (ALT#46447).