From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla at busybox.net Date: Wed, 22 Sep 2010 19:18:12 +0000 (UTC) Subject: [Buildroot] [Bug 2629] New: Segmentation faults and division by zero in Grub on ext2 Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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.