Bug#457491: Fwd: grub2: FTBFS on powerpc (__floatundisf in ls is not defined)
Robert Millan
rmh at aybabtu.com
Sun Jan 13 12:19:03 UTC 2008
On Wed, Dec 26, 2007 at 10:21:16AM +0100, Robert Millan wrote:
> diff -ur grub2-1.95+20071101/include/grub/powerpc/libgcc.h grub2-1.95+20071101.new/include/grub/powerpc/libgcc.h
> --- grub2-1.95+20071101/include/grub/powerpc/libgcc.h 2007-07-21 23:32:24.000000000 +0000
> +++ grub2-1.95+20071101.new/include/grub/powerpc/libgcc.h 2007-12-26 08:42:49.000000000 +0000
> @@ -26,19 +26,12 @@
> void EXPORT_FUNC (__floatsidf) (void);
> void EXPORT_FUNC (__floatsisf) (void);
> void EXPORT_FUNC (__lshrdi3) (void);
> -void EXPORT_FUNC (__make_dp) (void);
> -void EXPORT_FUNC (__make_fp) (void);
> void EXPORT_FUNC (__muldf3) (void);
> void EXPORT_FUNC (__mulsf3) (void);
> -void EXPORT_FUNC (__pack_d) (void);
> -void EXPORT_FUNC (__pack_f) (void);
> void EXPORT_FUNC (__subdf3) (void);
> void EXPORT_FUNC (__subsf3) (void);
> -void EXPORT_FUNC (__thenan_df) (void);
> -void EXPORT_FUNC (__thenan_sf) (void);
> void EXPORT_FUNC (__trampoline_setup) (void);
> void EXPORT_FUNC (__truncdfsf2) (void);
> -void EXPORT_FUNC (__unpack_d) (void);
> -void EXPORT_FUNC (__unpack_f) (void);
> void EXPORT_FUNC (__floatdisf) (void);
> +void EXPORT_FUNC (__floatundisf) (void);
> void EXPORT_FUNC (__cmpdi2) (void);
>
> Is there any way we can preserve compatibility with gcc 3.x ? Perhaps obtain
> a list of symbols dynamicaly, but maybe this would bloat the kernel too much.
This is becoming a nightmare. I think it's better if we just exclude symbols
starting with __ from our checks. They aren't really meant for us to mess
with.
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
More information about the Pkg-grub-devel
mailing list