FYI, I also tried to see if I could drop the gcc-3.4 dependency.
However, grub built with gcc-4.1 segfaults at various places due to the
sporty use of pointer arithmetic in several functions with variable
arguments, maybe because the optimization makes for some surprises. I
inserted proper va_arg handling instead and that worked fine AFAICS.
However, there might be many other places things can go wrong in the
same fashion, so I think it's safer to stay with gcc-3.4. I attach the
patch here anyway if anyone is interested.

I think it's time to switch to grub2...

** Attachment added: "ubuntu-gcc-va_arg.diff"
   http://launchpadlibrarian.net/8178550/ubuntu-gcc-va_arg.diff

-- 
please merge grub 0.97-28 from Debian unstable
https://bugs.launchpad.net/bugs/119675
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to