IncludeOS icon indicating copy to clipboard operation
IncludeOS copied to clipboard

Consider LTO (Link Time Optimization) builds for everything

Open alfreb opened this issue 10 years ago • 2 comments

  • IncludeoS, os.a
  • libc++
  • newlib

alfreb avatar Sep 09 '15 10:09 alfreb

Currently (v0.6.3) compiling with "-flto" causes ld to fail due to unrecognized file format. It's possible that we need to switch to LLVM's linker, lld for this to work.

alfreb avatar Nov 04 '15 13:11 alfreb

We will be using thinLTO, but for that to happen we need to build (absolutely) everything with clang, and then link with gold or lld, both of which are very capable these days.

fwsGonzo avatar Feb 04 '17 19:02 fwsGonzo