[OpenBIOS] [PATCH] Darwin/ppc host needs fake int128_t for sparc64

Blue Swirl blauwirbel at gmail.com
Sun Oct 3 08:54:55 CEST 2010


Thanks, applied as r876.

On Sun, Sep 19, 2010 at 9:39 AM, Andreas Färber <andreas.faerber at web.de> wrote:
> Otherwise it chokes on ducell in include/kernel/stack.h.
>
> Signed-off-by: Andreas Färber <andreas.faerber at web.de>
> ---
>  It seems I only mentioned this on the list but never sent a proper patch.
>  http://www.openfirmware.info/pipermail/openbios/2009-November/004192.html
>
>  Not sure about Linux/ppc or Darwin/x86, so I've limited it to Darwin/ppc for now.
>
>  Regards,
>  Andreas
>
>  config/scripts/switch-arch |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch
> index c1158fa..8b6563d 100755
> --- a/config/scripts/switch-arch
> +++ b/config/scripts/switch-arch
> @@ -71,6 +71,8 @@ crosscflags()
>
>     if test "$host" = "x86" -a "$targetlongbits" = "64"; then
>         cflags="$cflags -DNEED_FAKE_INT128_T"
> +    elif test "$host" = "ppc" -a "$targetlongbits" = "64" -a `uname -s` = "Darwin"; then
> +        cflags="$cflags -DNEED_FAKE_INT128_T"
>     fi
>
>     CROSSCFLAGS=$cflags
> --
> 1.7.0.4
>
>
> --
> OpenBIOS                 http://openbios.org/
> Mailinglist:  http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you



More information about the OpenBIOS mailing list