Alan, Thanks for the clue.
In SunStudio12, to use C99, you have to have "-xc99" in the CFLAGS. I am wondering if binutils has this restriction for C99, why configure is not catching this. Bill -----Original Message----- From: Alan Modra [mailto:amo...@gmail.com] Sent: Wednesday, 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 +0000, 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/solarisstudio12.3/include -I. -I. -I../bfd -I./../bfd -I./../include > -DLOCALEDIR="\"/appl/local-201501ss/share/locale\"" > -Dbin_dummy_emulation=bin_vanilla_emulation -I/appl/local-201501ss/include > -I/opt/solarisstudio12.3/include -I/appl/local-201501ss/include > -I/opt/solarisstudio12.3/include -c dwarf.c > "dwarf.c", line 1618: zero or negative subscript > "dwarf.c", line 2193: zero or negative subscript > "dwarf.c", line 2275: zero or negative subscript > "dwarf.c", line 2645: zero or negative subscript > "dwarf.c", line 3586: zero or negative subscript > "dwarf.c", line 3803: zero or negative subscript > "dwarf.c", line 4673: zero or negative subscript > "dwarf.c", line 5459: zero or negative subscript > "dwarf.c", line 5571: zero or negative subscript > "dwarf.c", line 6205: zero or negative subscript > cc: acomp failed for dwarf.c > make[4]: *** [dwarf.o] Error 2 dwarf_vma on your system is only a 32-bit type. Investigate why this is so. -- Alan Modra Australia Development Lab, IBM _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils