andzai1995

Results 26 comments of andzai1995

It looks like a bug appeared after release of binutils 2.36.1. See https://www.linuxfromscratch.org/lfs/view/stable/chapter08/grub.html , maybe the fix of issue in the beginning of this step will be useful.

> I'll try that and check the those images Try to use binutils LD instead of LLVM ld.lld if images wouldn't be correct

> > Try to use binutils LD instead of LLVM ld.lld if images wouldn't be correct > > Good point. I haven't tried that. Will do first Fix an issue...

> Prefixing `configure` with `CC=gcc.gnu CXX=g++.gnu AR=llvm-ar AS=llvm-as` yielded the same wrong file sizes Well, we have to use dear old GCC+Binutils toolchain for GRUB2 again. At least, we tried...

> Oops. I did: GCC+binutils also generated wrong files sizes. My progress in building of final system is 34-flex for now. But I have found very small mistake on this...

Well, I have built and installed GRUB 2.06. It builds fine, installation works fine as well. Generation of config fails due to disabled os-prober. I have built my GRUB for...

> Hmmm... I am working another project using MLFS as base and using optimizations from Clear Linux. I just finished building GCC (version 11.2.0!) and binutils (version 2.37) for the...

There is an error when we build GRUB 2.06 with clang: ![Снимок экрана от 2021-08-11 21-51-12](https://user-images.githubusercontent.com/10092024/129086723-13265f80-cb1c-447b-8941-37dada31a48f.png)

> Yes, i did notice that last time i built grub with clang I found the way to surpass this error. Create config.cache with cached yes for __bss_start and some...

I have successfully built GRUB 2.06 with clang, installed it to system, and successfully installed bootloader. Process of build: 1. Apply patches: ``` patch -Np1 -i ../patches/grub-alpine/lang-C.UTF-8.patch && \ patch...