Bug 35026 - luajit: lld: string table non-null terminated
Summary: luajit: lld: string table non-null terminated
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: luajit (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P3 normal
Assignee: cow@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 35018
  Show dependency tree
 
Reported: 2018-06-13 03:59 MSK by Vitaly Chikunov
Modified: 2018-06-13 12:32 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)