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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to