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

2015-02-04 Thread Alan Modra
On Thu, Feb 05, 2015 at 02:02:49AM +, 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

RE: binutils 2.25 dwarf.c error during compile on Solaris 10 with SunStudio12.

2015-02-04 Thread JONES, BILL
inal Message- From: JONES, BILL Sent: Wednesday, February 04, 2015 8:44 PM To: 'Alan Modra' Cc: bug-binutils@gnu.org Subject: RE: binutils 2.25 dwarf.c error during compile on Solaris 10 with SunStudio12. Alan, Thanks for the clue. In SunStudio12, to use C99, you have to have &qu

RE: binutils 2.25 dwarf.c error during compile on Solaris 10 with SunStudio12.

2015-02-04 Thread JONES, BILL
, February 04, 2015 5:22 PM To: JONES, BILL Cc: bug-binutils@gnu.org Subject: Re: binutils 2.25 dwarf.c error during compile on Solaris 10 with SunStudio12. On Wed, Feb 04, 2015 at 06:59:23PM +, JONES, BILL wrote: > binutils team... > > I am compiling on a Sun T5220 with Solaris

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

2015-02-04 Thread Alan Modra
On Wed, Feb 04, 2015 at 06:59:23PM +, JONES, BILL wrote: > binutils team... > > I am compiling on a Sun T5220 with Solaris 10 and SunStudio12. > Version: > cc: Sun C 5.12 SunOS_sparc 2011/11/16 > > dwarf.c is blowing up. > > > cc -DHAVE_CONFIG_H -I. -I/appl/local-201501ss/include > -I/opt/