Hello, Sorry for the delay.
I got the same error as you, I discover a missing configuration in binutils, grub is working fine now. If you want to give a try, I suggest a fresh sync of the repo -- getting the latest sources... Thanks for the report. :-) On Tue, 27 Feb 2018 20:20:16 -0300 Matias Fonzo <[email protected]> wrote: > On Tue, 27 Feb 2018 10:32:23 +0000 > Tom Lukeywood <[email protected]> wrote: > > > My computer has just finished building core.order with qi -o > > /usr/src/qi/recipes/core.order | qi -b -j2 -i - > > and has given me a make 2 error: > > So close to finish the core.order... > > I will try to reproduce it building for i586. > > > gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -DGRUB_MACHINE_PCBIOS=1 > > -DGRUB_MACHINE=I386_PC -m32 -nostdinc -isystem > > /usr/pkg/gcc-7.3.0-i686+1/usr/bin/../lib32/gcc/i586-linux-musl/7.3.0/include > > > > -I../include -I../include -DGRUB_FILE=\"lib/i386/relocator64.S\" -I. > > -I. -I.. -I.. -I../include -I../include > > -I../grub-core/lib/libgcrypt-grub/src/ -D_FILE_OFFSET_BITS=64 -g > > -m32 -msoft-float -DGRUB_FILE=\"lib/i386/relocator64.S\" -I. -I. > > -I.. -I.. -I../include -I../include > > -I../grub-core/lib/libgcrypt-grub/src/ -DASM_FILE=1 -g0 -Os > > -march=i586 -mtune=i686 -MT lib/i386/relocator_module-relocator64.o > > -MD -MP -MF lib/i386/.deps-core/relocator_module-relocator64.Tpo -c > > -o lib/i386/relocator_module-relocator64.o `test -f > > 'lib/i386/relocator64.S' || echo './'`lib/i386/relocator64.S > > lib/i386/relocator64.S: Assembler messages: > > lib/i386/relocator64.S:66: Error: unknown pseudo-op: `.code64' > > lib/i386/relocator64.S:74: Error: bad register name `%rax' > > lib/i386/relocator64.S:98: Error: bad register name `%rax' > > lib/i386/relocator64.S:132: Error: bad register name `%rip)' > > make[3]: *** [Makefile:28996: > > lib/i386/relocator_module-relocator64.o] Error 1 > > make[3]: *** Waiting for unfinished jobs.... > > mv -f lib/.deps-core/crypto_module-crypto.Tpo > > lib/.deps-core/crypto_module-crypto.Po > > make[3]: Leaving directory '/usr/src/qi/build/grub-2.02/grub-core' > > make[2]: *** [Makefile:23531: all] Error 2 > > make[2]: Leaving directory '/usr/src/qi/build/grub-2.02/grub-core' > > make[1]: *** [Makefile:10904: all-recursive] Error 1 > > make[1]: Leaving directory '/usr/src/qi/build/grub-2.02' > > make: *** [Makefile:3130: all] Error 2 > > Return status = 2 > > > > Thanks for the report. > >
