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

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

    <bug>
          <bug_id>50137</bug_id>
          
          <creation_ts>2024-04-24 09:59:30 +0300</creation_ts>
          <short_desc>error: /usr/lib/llvm-17.0/lib64/liblldMinGW.a(Driver.cpp.o): Unknown attribute kind (91) (Producer: &apos;LLVM18.1.3&apos; Reader: &apos;LLVM 17.0.6&apos;)</short_desc>
          <delta_ts>2024-04-24 14:57:07 +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>llvm17.0</component>
          <version>unstable</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Chikunov">vt</reporter>
          <assigned_to name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</assigned_to>
          <cc>arseny</cc>
    
    <cc>grenka</cc>
    
    <cc>nenderus</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>245272</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2024-04-24 09:59:30 +0300</bug_when>
    <thetext>При сборке пакета требующего llvm-17 возникает такая ошибка:

  error: /usr/lib/llvm-17.0/lib64/liblldMinGW.a(Driver.cpp.o): Unknown attribute kind (91) (Producer: &apos;LLVM18.1.3&apos; Reader: &apos;LLVM 17.0.6&apos;)

Ну разбирался углублённо, но, похоже, что статическая либа от LLVM 17 (/usr/lib/llvm-17.0/lib64/liblldMinGW.a) собрана системным (на момент её сборки) llvm-ar (т.е. llvm-ar-18).

Из-за этого невозможно собрать пакет чистым llvm-17 тулчейном.

Проблема началась 2024-04-23 когда был обновлён llvm17.0-17.0.6-alt4.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245285</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2024-04-24 10:30:40 +0300</bug_when>
    <thetext>Я думаю часть проблемы в том, что у нас по BR clang17.0-devel так же приезжает весь тулчейн от 18 (по зависимости на clang-devel) и утилиты от 18 оказываются по умолчанию.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245312</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-04-24 13:30:04 +0300</bug_when>
    <thetext>llvm17.0-17.0.6-alt4.2 -&gt; sisyphus:

 Wed Apr 24 2024 L.A. Kostis &lt;lakostis@altlinux.ru&gt; 17.0.6-alt4.2
 - Built with the llvm-17/clang-17 (closes #50137).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245324</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2024-04-24 14:57:07 +0300</bug_when>
    <thetext>Спасибо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>