Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 2629] New: Segmentation faults and division by zero in Grub on ext2
@ 2010-09-22 19:18 bugzilla at busybox.net
  2014-01-07  7:40 ` [Buildroot] [Bug 2629] " bugzilla at busybox.net
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at busybox.net @ 2010-09-22 19:18 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=2629

              Host: i686
            Target: i686
             Build: i686
           Summary: Segmentation faults and division by zero in Grub on
                    ext2
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: kdebjp at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 2533
  --> https://bugs.busybox.net/attachment.cgi?id=2533
Patch to be applied on top of buildroot-2010.08

This report covers two issues found in buildroot 2010.08, which relies on
grub_0.97.orig.tar.gz with patches from grub_0.97-35.diff.gz (both available
from http://snapshot.debian.net/archive/2008/03/29/debian/pool/main/g/grub/):

1) A segmentation fault occurred in the grub command line utility due to the
use of var_args in a way that was incompatible with the code generated by GCC
4.3.5:
The grub code was using its own var_args parsing mechanism in order to avoid
linking to the C standard library. However, this code was apparently
incompatible with the var_args related code generated by GCC 4.3.5.

2) A floating point exception occurred both in the grub command line utility
and in the ext2 file system handling of the boot loader:
This issue has been reported and fixed elsewhere as well (see, e.g.,
http://bugs.gentoo.org/show_bug.cgi?id=220687).

Both problems have been fixed in the attached patch.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 2629] Segmentation faults and division by zero in Grub on ext2
  2010-09-22 19:18 [Buildroot] [Bug 2629] New: Segmentation faults and division by zero in Grub on ext2 bugzilla at busybox.net
@ 2014-01-07  7:40 ` bugzilla at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla at busybox.net @ 2014-01-07  7:40 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=2629

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2014-01-07 07:40:09 UTC ---
Since this report, we've updated the Debian revision of the Grub we're using in
Buildroot. It contains the fix for the problem (2) you mention. I haven't
checked for problem (1), but Grub runs fine here, tested under Qemu with an
ext2 filesystem.

Marking the bug as fixed. Don't hesitate to reopen if you're still having
problems with Grub on 2013.11.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

end of thread, other threads:[~2014-01-07  7:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-22 19:18 [Buildroot] [Bug 2629] New: Segmentation faults and division by zero in Grub on ext2 bugzilla at busybox.net
2014-01-07  7:40 ` [Buildroot] [Bug 2629] " bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox