grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* "Illegal Instruction" error in grub_script_comments
@ 2016-10-17 18:34 tedheadster
  2016-10-17 22:32 ` Colin Watson
  2016-10-18 19:12 ` Lennart Sorensen
  0 siblings, 2 replies; 8+ messages in thread
From: tedheadster @ 2016-10-17 18:34 UTC (permalink / raw)
  To: grub-devel; +Cc: Matthew Whitehead

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

I am building the older grub2-1.98+20100804 under the similarly old Debian
'squeeze' distribution. However, I bet the error persists with newer
version. This is because I am building it on a true Intel 80486 and I don't
thing the compiler is building for the correct architecture. Here is the
output:

./config.status --file=-:tests/grub_script_dollar.in | sed -e
's,@pkglib_DATA@,efiemu32.o efiemu64.o moddep.lst command.lst fs.lst
partmap.lst parttool.lst handler.lst vi\
deo.lst crypto.lst terminal.lst,g' > grub_script_dollar
chmod +x grub_script_dollar

./config.status --file=-:tests/grub_script_comments.in | sed -e
's,@pkglib_DATA@,efiemu32.o efiemu64.o moddep.lst command.lst fs.lst
partmap.lst parttool.lst handler.lst \
video.lst crypto.lst terminal.lst,g' > grub_script_comments
chmod +x grub_script_comments

Illegal instruction

./grub_script_echo1: GRUB and BASH outputs did not match (see diff -u
/tmp/tmp.tP7l8uR3SD /tmp/tmp.wYCFOK2zor)
make[2]: *** [check] Error 1
make[2]: Leaving directory `/root/grub2-1.98+20100804/build/grub-pc'
dh_auto_test: make -j1 check returned exit code 2
make[1]: *** [build/stamps/build-grub-pc] Error 29
make[1]: Leaving directory `/root/grub2-1.98+20100804'
make: *** [build] Error 2

Is there a file I can modify to pass in -march=i486 or something similar?

- Matthew

[-- Attachment #2: Type: text/html, Size: 1771 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-10-31  3:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-17 18:34 "Illegal Instruction" error in grub_script_comments tedheadster
2016-10-17 22:32 ` Colin Watson
2016-10-18 19:12 ` Lennart Sorensen
2016-10-19 15:32   ` Matthew Whitehead
2016-10-19 19:06     ` Lennart Sorensen
2016-10-19 19:16       ` Matthew Whitehead
2016-10-31  3:17       ` Matthew Whitehead
2016-10-20 17:34     ` Andrei Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).