bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binutils 2.25 dwarf.c error during compile on Solaris 10 with SunStu


From: Alan Modra
Subject: Re: binutils 2.25 dwarf.c error during compile on Solaris 10 with SunStudio12.
Date: Thu, 5 Feb 2015 12:54:02 +1030
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Feb 05, 2015 at 02:02:49AM +0000, JONES, BILL wrote:
> Defining CFLAGS="-xc99 $CFLAGS" for all binutils causes other issues for 
> other parts of binutils package.
> 
> #if __STDC_VERSION__ >= 199901L || (defined(__GNUC__) && __GNUC__ >= 2)
> /* We can't use any bfd types here since readelf may define BFD64 and
>    objdump may not.  */
> #define HOST_WIDEST_INT long long
> #else
> #define HOST_WIDEST_INT long
> #endif
> typedef unsigned HOST_WIDEST_INT elf_vma;
> 
> This code block is specifically looking for C99 or GNU C which to determine 
> how to make a uint64_t happen for HOST_WIDEST_INT
> 
> This is causing a conflict.

Fixed on master binutils with git commit 4c219c2e.
https://sourceware.org/ml/binutils/2014-12/msg00112.html

-- 
Alan Modra
Australia Development Lab, IBM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]