<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>35791</bug_id>
          
          <creation_ts>2018-12-17 06:11:59 +0300</creation_ts>
          <short_desc>libQt5WebView.so.5 applies versioning to special symbols</short_desc>
          <delta_ts>2026-09-12 20:34:47 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libqt5-webview</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitry V. Levin">ldv</reporter>
          <assigned_to name="Олег Соловьев">mcpain</assigned_to>
          <cc>glebfm</cc>
    
    <cc>mcpain</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>176741</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2018-12-17 06:11:59 +0300</bug_when>
    <thetext>$ LANG=C rpmpeek Sisyphus/files/x86_64/RPMS/libqt5-webview-5.11.2-alt1.x86_64.rpm readelf --wide --dyn-syms ./usr/lib64/libQt5WebView.so.5 |egrep &apos; (__bss_start|_edata|_end|_fini|_init)@&apos;
   169: 00000000000097e8     0 FUNC    GLOBAL DEFAULT   10 _init@@Qt_5
   266: 000000000000f128     0 FUNC    GLOBAL DEFAULT   14 _fini@@Qt_5
   272: 00000000002152f0     0 NOTYPE  GLOBAL DEFAULT   24 _edata@@Qt_5
   315: 00000000002152f0     0 NOTYPE  GLOBAL DEFAULT   25 __bss_start@@Qt_5
   321: 0000000000215368     0 NOTYPE  GLOBAL DEFAULT   25 _end@@Qt_5

These special symbols are not used for linking anyway, I wonder whether they should be exported at all.

Other qt5 libraries have the same issue.
Feel free to forward upstream.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298315</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-09-12 20:34:47 +0300</bug_when>
    <thetext>На текущей сборке специальные символы в динамической таблице отсутствуют. Контейнер Sisyphus, libqt5-webview 5.15.18-alt1, binutils 2.46-alt1:

    $ readelf --dyn-syms -W /usr/lib64/libQt5WebView.so.5 | grep -E &apos;_init|_fini|_edata|_end|bss_start&apos;
    (пусто, rc=1)
    $ nm -D /usr/lib64/libQt5WebView.so.5 | grep -E &apos; (_init|_fini|_edata|_end|__bss_start)$&apos;
    (пусто)

при том, что символов с версией Qt_5 в dynsym 348 — версионирование как таковое на месте. То же для libQt5Core.so.5 5.15.18-alt1.

Минимальный опыт с gcc 15-alt2 и ld 2.46: gcc -shared с version-script &quot;V1 { global: *; };&quot; даёт в dynsym только foo@@V1, спецсимволы не экспортируются ни с version-script, ни без него. То есть поведение из отчёта ушло на уровне тулчейна, а не правкой в пакете; конкретный коммит binutils не выяснял.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>