[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: powerpc/sparc problems
From: |
Bean |
Subject: |
Re: powerpc/sparc problems |
Date: |
Mon, 12 Oct 2009 18:31:12 +0800 |
On Mon, Oct 12, 2009 at 6:14 PM, David Miller <address@hidden> wrote:
> From: Bean <address@hidden>
> Date: Mon, 12 Oct 2009 17:58:42 +0800
>
>> Try my branch, it includes the libgcc functions in grub instead of
>> rely on external library. It builds and run properly for
>> powerpc-ieee1275 last time I check.
>
> Good luck when the compiler changes the interface and/or semantics of
> these routines in a future version. Will you enumerate your in-tree
> copies by gcc version with ifdefs or similar?
>
> That's why gcc and it's libgcc are distributed together, and gcc
> configures itself to link with a specific libgcc and only that libgcc.
>
> This whole things perfectly fine in GRUB when I implemented the
> necessary machinery to find if these routines exist in libgcc at
> configure time and to reference them properly in the build.
>
> They've merely been broken meanwhile and someone just needs to rectify
> that regression.
>
Hi,
To use the libgcc, we need to link the object file, this doesn't work
in system that use non ELF format like mach-o. And actually, the int
function rarely changed, and some project like openbios also include
the libgcc function directly.
--
Bean
gitgrub home: http://github.com/grub/grub/
my fork page: http://github.com/bean123/grub/
- Re: powerpc/sparc problems, (continued)
- Re: powerpc/sparc problems, David Miller, 2009/10/16
- Re: powerpc/sparc problems, Pavel Roskin, 2009/10/16
- Re: powerpc/sparc problems, Pavel Roskin, 2009/10/16
- Re: powerpc/sparc problems, Vladimir 'phcoder' Serbinenko, 2009/10/17
- Re: powerpc/sparc problems, Robert Millan, 2009/10/17
- [PATCH] auto-generate libgcc.h, Robert Millan, 2009/10/20
- Re: [PATCH] auto-generate libgcc.h, Vladimir 'phcoder' Serbinenko, 2009/10/21
- Re: [PATCH] auto-generate libgcc.h, rubisher, 2009/10/21
- Re: [PATCH] auto-generate libgcc.h, Vladimir 'phcoder' Serbinenko, 2009/10/21
- Re: [PATCH] auto-generate libgcc.h, rubisher, 2009/10/23
- Re: powerpc/sparc problems,
Bean <=
- Re: powerpc/sparc problems, David Miller, 2009/10/12
- Re: powerpc/sparc problems, Bean, 2009/10/12
- Re: powerpc/sparc problems, Robert Millan, 2009/10/14
Re: powerpc/sparc problems, rubisher, 2009/10/21
Re: powerpc/sparc problems, Felix Zielcke, 2009/10/28
Re: powerpc/sparc problems, rubisher, 2009/10/22