]> sourceware.org Git - systemtap.git/commit
configury: make systemtap buildable with gcc -flto
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 15 Jul 2020 22:34:33 +0000 (18:34 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 15 Jul 2020 22:34:33 +0000 (18:34 -0400)
commitce0fa621eb35d47247ebb54742b486adf64588c8
tree6a3b8da3658f5ed9133e52c77e3de56bcc146be0
parente5a63d9c000ac8987680dac351f477db373a1ce0
configury: make systemtap buildable with gcc -flto

Two problems corrected:

1 - Some of the stap object files compiled the interned_string type
    differently based on whether config.h was #included early enough
    or not.  Now they all do it at the top.

2 - The staprun/libstrfloctime.a pseudo-archive (added in commit
    0a5f4aa83e5b4 to work around an autoconf limitation), needs a
    -Wl,--whole-archive wrapper around it for lto linking purposes.

Now also stap builds on f32 both with and without:

  make CXX="g++ -flto" CC="gcc -flto"
coveragedb.cxx
java/Makefile.in
python/Makefile.in
stap-exporter/Makefile.in
staprun/Makefile.am
staprun/Makefile.in
tapset-been.cxx
This page took 0.027613 seconds and 5 git commands to generate.