[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Re: About gcc-4.6 unmasking
From:       Richard Yao <ryao () cs ! stonybrook ! edu>
Date:       2012-02-21 1:48:42
Message-ID: CABDyM6TtS_6DA293Z-2HcL=Tcx=G+ni1NORoBKLVAB0fTkV+eA () mail ! gmail ! com
[Download RAW message or body]

> I took a look at the problem cited in your bug report. I suggest
> compiling sys-boot/grub with CFLAGS="-O0 -ggdb3", attaching gdb to
> grub-install and then watching what happens in the debugger. If you
> compare runs with a GCC 4.5.3 built stage2 and a GCC 4.6.2 built
> stage2, you should be able to find the bug.

I should add that I was able to use this technique to fix a bug that I
encountered during my initial attempt to port Illumos GRUB a month
ago. The code the introduced the Illumos GRUB bug is not present in
sys-boot/grub, but I imagine that the same technique should work here.

Also, for anyone interested in what happened to the
sys-boot/grub-illumos port I mention, there are issues with the
generated stage2 binary, grub-install is broken (Solaris uses a
separate install-grub tool) and I would prefer to rework the Sun
Microsystems code into a patch for sys-boot/grub, but the diff between
Illumos GRUB and GRUB 0.97 is a few megabytes in size, so that won't
happen this month.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic