Bug 35026

Summary: luajit: lld: string table non-null terminated
Product: Sisyphus Reporter: Vitaly Chikunov <vt>
Component: luajitAssignee: cow <cow>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: cow, glebfm
Version: unstable   
Hardware: x86_64   
OS: Linux   
Bug Depends on:    
Bug Blocks: 35018    

Description Vitaly Chikunov 2018-06-13 03:59:00 MSK
Невозможно собрать пакеты использующие luajit линкером lld из llvm/clang:

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

cd /usr/src/RPM/BUILD/bcc-v0.5.0/BUILD/src/lua && /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
Comment 1 Repository Robot 2018-06-13 12:32:48 MSK
luajit-2.1-alt6 -> sisyphus:

Wed Jun 13 2018 Vladimir Didenko <cow@altlinux> 2.1-alt6
- git20180605 (closes: #35026)