When build sys-boot/grub-2.00_p5107-r2 with static USE flag, fail to link. Reproducible: Always Steps to Reproduce: 1. emerge grub-2.00_p5107-r2 with use flag 'device-mapper multislot nls static truetype', GRUB_PLATFORMS="efi-64 pc' Actual Results: grub fail to build. Expected Results: grub build success When I remove 'static' USE flag, grub build sucess.
Created attachment 362830 [details] output of emerge --info '=sys-boot/grub-2.00_p5107-r2::gentoo'
Created attachment 362832 [details] buid log
The png failures should be fixed in freetype-2.5.0.1. 24 Oct 2013; Mark Wright <gienah@gentoo.org> freetype-2.5.0.1.ebuild: if use png, then sed freetype2.pc to add the png lib, to fix bug 487646. Since modern udev does not support static libs, you will need to disable the device-mapper use flag if you want to build static grub.