[Tarantool-patches] [PATCH] cmake: add LTO support for building luajit

Olga Arkhangelskaia arkholga at tarantool.org
Thu Jul 9 08:13:42 MSK 2020


08.07.2020 15:38, Alexander Turenko пишет:
> BTW, just found that we don't test LTO on Mac OS X :(
>
> https://gitlab.com/tarantool/tarantool/-/jobs/627735445
>
> jobs name: osx_15_release_lto
>
>  From logs:
>
>> -- Enabling LTO: FALSE
> Olga, do you test LTO on Mac OS X manually? If so, it is not blocker.

Hey! I have tested LTO in Mojave 10.14.1 (my macbook).

With DENABLE_LTO=ON

cflags: 
-Wno-unknown-pragmas-fexceptions-funwind-tables-fno-omit-frame-pointer-fno-stack-protector-fno-common-msse2-Wno-parentheses-equality-Wno-tautological-compare-Wno-varargs-Wno-implicit-fallthrough-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk-flto=thin

third_party/luajit/src/lib_aux.o: LLVM bitcode, wrapper x86_64

Without DENABLE_LTO=ON

third_party/luajit/src/lib_aux.o: Mach-O 64-bit object x86_64

>
> Alexander will look at the problem with CI (CCed).
>
> WBR, Alexander Turenko.


More information about the Tarantool-patches mailing list