On Thu, Jul 11, 2019 at 12:59 PM Seth Arnold <1570...@bugs.launchpad.net> wrote: > > While we're here, what's this do? :) > > # Bumping this up to >= GCC5 will require the replacing the pre-compiled > # liblto*.a binaries that we strip from our orig.tar.xz. > EDK2_TOOLCHAIN = GCC49 > > from debian/rules
What it does /not/ do is change which compiler we actually use - we build with the default Ubuntu gcc. Rather, GCC49, GCC5, CLANG35, etc are toolchain templates. The build system uses templates to tweak parameters to suit the toolchain in-use. In the GCC5 recipe, upstream started taking advantage of link-time optimization. But doing so required adding some "glue binaries" to the source tree: https://github.com/tianocore/edk2/commit/e1458aaded8e34b0c74c1a17ac1dc3765d97c082 We strip those binaries out, so we need to disable LTO, and specifying the GCC49 template is an easy way to accomplish that. -dann -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570617 Title: [MIR] edk2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1570617/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs