Skip to contentSkip to conversation

grub-2.02-164-gc79ebcd grub-core/lib/i386/relocator64.S

DISCUSSION Gabor Z. Papp 1 participant 1 message Aug 2, 2018

lore
Share & tools
lore
#0 lore raw

lo lo,

I'm trying to compile grub-2.02-164-gc79ebcd on i686 linux, and getting the following error message:

grub-core/lib/i386/relocator64.S: Assembler messages:
grub-core/lib/i386/relocator64.S:66: Error: unknown pseudo-op: .code64' grub-core/lib/i386/relocator64.S:74: Error: bad register name %rax' grub-core/lib/i386/relocator64.S:98: Error: bad register name %rax' grub-core/lib/i386/relocator64.S:132: Error: bad register name %rip)' make[3]: *** [Makefile:29636: lib/i386/relocator_module-relocator64.o] Error 1

[kernel]
Linux gzpLinux 4.14.14-gzpLinux #1 SMP Tue Jan 30 18:08:30 CET 2018 i686 GNU/Linux

[glibc]
GNU C Library (GNU libc) stable release version 2.24, by Roland McGrath et al. Compiled by GNU CC version 4.9.4.
Native POSIX Threads Library by Ulrich Drepper et al

[gcc]
gcc (GCC) 4.9.4

[binutils]
GNU ld (GNU Binutils) 2.27

[autoconf]
autoconf (GNU Autoconf) 2.69

[automake]
automake (GNU automake) 1.14.1

[libtool]
libtool (GNU libtool) 2.4.6