summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorJohn <jpsinthemix@verizon.net>2014-06-04 17:45:42 +0200
committerKay Sievers <kay@vrfy.org>2014-06-04 17:47:20 +0200
commit235c6e628199221b7885f159367614b7105547cf (patch)
treee45f7e1eaf03a2a08409e756a56965217d10f177 /rules
parentc221efb2de9a9d8500c0c6baf943bff0d8f87e7f (diff)
build-sys: accommodate gcc-4.9.0 link-time optimization (LTO) changes
systemd fails to build (symbols not found/resolved during cgls link step) under gcc-4.9.0 due to link-time optimization (lto) changes, in particular from gcc-4.9.0/NEWS: + When using a linker plugin, compiling with the -flto option now generates slim objects files (.o) which only contain intermediate language representation for LTO. Use -ffat-lto-objects to create files which contain additionally the object code. To generate static libraries suitable for LTO processing, use gcc-ar and gcc-ranlib; to list symbols from a slim object file use gcc-nm. (Requires that ar, ranlib and nm have been compiled with plugin support.) Both -flto and -ffat-lto-objects are now needed when building and linking against static libs w/LTO.
Diffstat (limited to 'rules')
0 files changed, 0 insertions, 0 deletions