LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-06-2012, 10:11 AM   #1
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,263

Rep: Reputation: 539Reputation: 539Reputation: 539Reputation: 539Reputation: 539Reputation: 539
Slackware's grub - whassup?


I'm compiling the extra/source/grub stuff by running the supplied SlackBuild, and it's barfing at an early stage. I'm using an installed Slackware 14 to do it.
Code:
make[2]: Entering directory `/tmp/grub-0.97/netboot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/grub-0.97/netboot'
Making all in stage2
make[2]: Entering directory `/tmp/grub-0.97/stage2'
gcc  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 
-DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 
-DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 
-DUSE_MD5_PASSWORDS=1 -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall 
-Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 
-falign-loops=1 -falign-functions=1 -Wundef -m32 -O2 -c -o pre_stage2_exec-asm.o 
`test -f 'asm.S'
|| echo './'`asm.S
asm.S: Assembler messages:
asm.S:1852: Error: operand type mismatch for `and'
asm.S:1854: Error: operand type mismatch for `and'
make[2]: *** [pre_stage2_exec-asm.o] Error 1
make[2]: Leaving directory `/tmp/grub-0.97/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/grub-0.97'
make: *** [all] Error 2
The assembler seems ok, at least 'and' appears ok in that context.
Code:
longmode:
        mov     $0x2BADB002, %eax

        mov     %rsi, %rbx
        and     $0xffffffff, %rsi  #line 1852

        and     $0xffffffff, %rdi  #line 1854
        call    *%rdi
        /* NOTREACHED */
        call    EXT_C(stop)
Did this go out broken and is there a handy fix?
 
Old 12-06-2012, 10:36 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,263

Original Poster
Rep: Reputation: 539Reputation: 539Reputation: 539Reputation: 539Reputation: 539Reputation: 539
http://docs.slackware.com/howtos:sla...based_hardware

It's OK. That was grub-0.97, and I need grub2 for uefi based hardware.

Might as well take the pain now and sort it once and for all. The curse of the seven snotty oprphans on this uefi stuff anyhow.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
[SOLVED] Skype Symbol Lookup error - Whassup? business_kid Slackware 8 08-06-2012 12:08 PM
[SOLVED] whassup w/ this package...? Alexvader General 1 09-23-2010 04:26 AM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
Help with Slackware and grub? BajaNick Linux - Distributions 1 07-31-2003 04:58 AM


All times are GMT -5. The time now is 04:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration