gcc-4.6.0-10.fc15.x86_64 breaks grub-0.97-71.fc15 and later

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've been testing with grub and found an interesting problem. When I
install the package
http://kojipkgs.fedoraproject.org/packages/grub/0.97/71.fc15/x86_64/grub-0.97-71.fc15.x86_64.rpm
everything is fine and grub works as it should:

[root@localhost x86_64-redhat]# grub
Probing devices to guess BIOS drives. This may take a long time.


    GNU GRUB  version 0.97-71.fc15  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.]
grub> root (hd0,1)
root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  26 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+26 p
(hd0,1)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded
Done.
grub> quit
quit
[root@localhost x86_64-redhat]#


When I recompile the grub-rpm and reinstall it I get this:

[root@localhost x86_64-unknown]# grub



Probing devices to guess BIOS drives. This may take a long time.


    GNU GRUB  version 0.97-71.fc15  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.]
grub> root (hd0,1)
root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  31 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+31 p
(hd0,1)/boot/grub/stage2 /boot/grub/grub.conf"... failed

Error 6rd: Mismatched or corrupt version of stage1/stage2
grub> quit
quit
[root@localhost x86_64-unknown]#

---------------
As you can see the difference is in the following lines:
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  26 sectors are
embedded. (with the downloaded package)
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  31 sectors are
embedded. (with the recompiled package)

All newer packages result in the same error "Error 6rd: Mismatched or
corrupt version of stage1/stage2" and grub reports that 31 sectors
have been embedded.
So why does the gcc-4.6.0-10.fc15.x86_64 breaks my package???
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux