On Wed, Jul 08, 2015 at 10:43:38PM +0200, Laszlo Ersek wrote:

> I think it would make a difference if -flto *actually* worked, but from
> a quick google search, I think it either doesn't work with gcc-4.8 at
> all, *or* the edk2 build system would have to use FLTO-aware binutils
> and linker wrappers (or parameters). I have no clue how to set that up.
> So for now we'll have to stick with MDEPKG_NDEBUG I guess.

I've been trying to get -flto working this week, but without success (yet!).
I'm currently running into a problem of ld (built from source) apparently not
knowing about the lto plugin (and passing the liblto.so file via -plugin causes
an assert failure), but I'll keep trying.

Also, in terms of edk2-related resources, if anyone's interested I've been
running doxygen on the sources and putting the results in
http://bluestop.org/edk2/docs - the log files contain the tons of warnings the
tool generates, while the directories (http://bluestop.org/edk2/docs/trunk, 
http://bluestop.org/edk2/docs/UDK2014.SP1 etc.)
contain the API docs themselves.  I started generating them since I noticed
feishare.com hadn't been updated for a couple of years and wasn't aware of any
other sites hosting a copy.

-- 
Bruce

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to