Hallo,

I have a suspicion that grub 2.02 cannot be compiled with gcc 7.3.
grub is step 127 in the jhalfs Makefile so I assume gcc is working in
general, I'm well into ch. 6 of the LFS-svn book.

gcc -DHAVE_CONFIG_H -I. -I..  -Wall -W  -DGRUB_MACHINE_PCBIOS=1
-DGRUB_MACHINE=I386_PC -m32 -nostdinc -isystem
/usr/lib/gcc/i686-pc-linux-gnu/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     -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]: Leaving directory '/sources/8.x/grub-2.02/grub-core'
make[2]: *** [Makefile:23531: all] Error 2
make[2]: Leaving directory '/sources/8.x/grub-2.02/grub-core'
make[1]: *** [Makefile:10904: all-recursive] Error 1
make[1]: Leaving directory '/sources/8.x/grub-2.02'
make: *** [Makefile:3130: all] Error 2


Tschau...Thomas
-- 
"Do you wanna be a legend or a passing footprint on the sands of time?"

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to