Re: [PATCH] Fix GRUB i386-pc build with Ubuntu gcc

2020-03-25 Thread Daniel Kiper
On Tue, Mar 24, 2020 at 01:29:12PM +, Simon Hardy wrote: > With recent versions of gcc on Ubuntu a very large lzma_decompress.img file is > output. (e.g. 134479600 bytes instead of 2864.) This causes grub-mkimage to > fail with: "error: Decompressor is too big." > > This seems to be caused by a

[PATCH] Fix GRUB i386-pc build with Ubuntu gcc

2020-03-24 Thread Simon Hardy
With recent versions of gcc on Ubuntu a very large lzma_decompress.img file is output. (e.g. 134479600 bytes instead of 2864.) This causes grub-mkimage to fail with: "error: Decompressor is too big." This seems to be caused by a section .note.gnu.property that is placed at an offset such that objc