[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    Re: [PATCH 1/3] build: avoid build failure on some sparc systems
From:       Jim Meyering <jim () meyering ! net>
Date:       2012-10-23 12:17:07
Message-ID: 871ugpv0vw.fsf () rho ! meyering ! net
[Download RAW message or body]

Pádraig Brady wrote:
> * src/longlong.h: Restrict some sparc assembly variants
> to sparc V9. This was seen to be an issue with newer
> sparc systems with default gcc CPU options.
> ---
>  src/longlong.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/longlong.h b/src/longlong.h
> index 510f40e..173afb9 100644
> --- a/src/longlong.h
> +++ b/src/longlong.h
> @@ -1745,7 +1745,7 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype *, UWtype, UWtype, UWtype);
>  #endif /* udiv_qrnnd */
>  #endif /* __sparc__ */
>
> -#if defined (__sparc__) && W_TYPE_SIZE == 64
> +#if (defined (__sparc_v9) || defined (__sparc_v9__)) && W_TYPE_SIZE == 64

Nice work.  Thank you.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic