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

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

    <bug>
          <bug_id>35026</bug_id>
          
          <creation_ts>2018-06-13 03:59:00 +0300</creation_ts>
          <short_desc>luajit: lld: string table non-null terminated</short_desc>
          <delta_ts>2018-06-13 12:32:48 +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>luajit</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>35018</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Chikunov">vt</reporter>
          <assigned_to name="cow@altlinux.org">cow</assigned_to>
          <cc>cow</cc>
    
    <cc>glebfm</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>171839</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2018-06-13 03:59:00 +0300</bug_when>
    <thetext>Невозможно собрать пакеты использующие luajit линкером lld из llvm/clang:

Пример ошибки:

cd /usr/src/RPM/BUILD/bcc-v0.5.0/BUILD/src/lua &amp;&amp; /usr/bin/cmake -E
cmake_link_script CMakeFiles/bcc-lua.dir/link.txt --verbose=1
/usr/bin/clang -pipe -Wall -g -O2 -Wall -O2 -g -DNDEBUG  -fuse-ld=lld -rdynamic
CMakeFiles/bcc-lua.dir/src/main.c.o bcc.o  -o bcc-lua -lluajit-5.1 -nopie
/usr/bin/ld.lld: error: bcc.o: string table non-null terminated
clang-6.0: error: linker command failed with exit code 1 (use -v to see
invocation)

Баг известен и исправлен в upstream 16 ноября 2017:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223688
https://github.com/LuaJIT/LuaJIT/pull/366</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171848</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-06-13 12:32:48 +0300</bug_when>
    <thetext>luajit-2.1-alt6 -&gt; sisyphus:

Wed Jun 13 2018 Vladimir Didenko &lt;cow@altlinux&gt; 2.1-alt6
- git20180605 (closes: #35026)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>