Summary: | grub-0.94-r1 fails to compile with gcc-3.4.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Moss (RETIRED) <robmoss> |
Component: | [OLD] GCC Porting | Assignee: | Please assign to toolchain <gcc-porting> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Ebuild for grub-0.95 CVS snapshot
0.94-gcc-3.4.patch |
Description
Robert Moss (RETIRED)
2004-04-30 17:46:01 UTC
Created attachment 30420 [details] Ebuild for grub-0.95 CVS snapshot Source currently hosted at http://home.jesus.ox.ac.uk/~rmoss/portage/ - it would be nice to get this somewhere else instead. Note: the bootsplash patch is not attached; it is within the ebuild with an updated SRC_URI. I have now been running this successfully without errors of any sort for nearly a week. Updates from others with regards to any problems that have been found would be nice. Otherwise, I'll have to assume that my lack of problems, and everyone else's apparent similar situation, means that all is well... Created attachment 30708 [details, diff]
0.94-gcc-3.4.patch
Robert Moss' cvs version works without any problems here too.
However, I decided to check what the relevant changes between the two versions
were, just in case someone wants to keep using the 0.94 version. I found this:
* stage2/char_io.c [!GRUB_UTIL] (memcpy): New function. It is
defined as an alias of grub_memmove. This is copied from GRUB 2.
When copying this function to the old file, grub 0.94 compiles and runs fine
too. I made a patch for 0.94 to add the function.
Even better, just use that. CVS snapshots aren't really the way to go with bootloaders... any idea as to what the new memcpy function does to everything else? Seeing as they seem to use it a lot, it could be an idea to check through to see whether this breaks anything. thanks for the patch, now in portage |