This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: GCC 3.2 + binutils on SPARC/Solaris?
- From: Dimitri PAPADOPOULOS-ORFANOS <papadopo at shfj dot cea dot fr>
- To: binutils at sources dot redhat dot com
- Date: Wed, 6 Nov 2002 19:40:01 +0100 (MET)
- Subject: Re: GCC 3.2 + binutils on SPARC/Solaris?
- Reply-to: Dimitri PAPADOPOULOS-ORFANOS <papadopo at shfj dot cea dot fr>
Hi,
> Please try binutils 2.13.1pre1 from
> ftp://sources.redhat.com/pub/binutils/snapshots/.
>
> I think I'll be releasing 2.13.1 tomorrow...
Building binutils-2.13.1pre1 on Solaris 8 using the
Sun ONE Studio 7 compiler, I get the following warnings.
Most of them are really innocuous. You may want to fix
these about "implicit function declaration". It's just
a question of including <stdlib.h> for exit(), free(),
malloc(), and realloc(), and <stdio.h> for getc_unlocked().
--------------------
bfd/coffgen.c
--------------------
"coffgen.c", line 1221: warning: argument #3 is incompatible with prototype:
prototype: pointer to unsigned long long : "coffgen.c", line 1035
argument : pointer to long long
"coffgen.c", line 1228: warning: argument #3 is incompatible with prototype:
prototype: pointer to unsigned long long : "coffgen.c", line 1103
argument : pointer to long long
--------------------
bfd/libbfd.c
--------------------
"libbfd.c", line 1155: warning: integer overflow detected: op "<<"
"libbfd.c", line 1155: warning: integer overflow detected: op "<<"
"libbfd.c", line 1178: warning: integer overflow detected: op "<<"
"libbfd.c", line 1178: warning: integer overflow detected: op "<<"
--------------------
bfd/srec.c
--------------------
"srec.c", line 1017: warning: argument #4 is incompatible with prototype:
prototype: pointer to const unsigned char : "srec.c", line 946
argument : pointer to const char
"srec.c", line 1017: warning: argument #5 is incompatible with prototype:
prototype: pointer to const unsigned char : "srec.c", line 946
argument : pointer to const char
--------------------
bfd/merge.c
--------------------
"merge.c", line 560: warning: argument #2 is incompatible with prototype:
prototype: pointer to const char : "merge.c", line 291
argument : pointer to unsigned char
"merge.c", line 592: warning: argument #2 is incompatible with prototype:
prototype: pointer to const char : "merge.c", line 291
argument : pointer to unsigned char
"merge.c", line 605: warning: argument #2 is incompatible with prototype:
prototype: pointer to const char : "merge.c", line 291
argument : pointer to unsigned char
"merge.c", line 931: warning: argument #2 is incompatible with prototype:
prototype: pointer to const char : "merge.c", line 156
argument : pointer to unsigned char
--------------------
bfd/elf.c
--------------------
"elf.c", line 5274: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char
--------------------
bfd/elf-eh-frame.c
--------------------
"elf-eh-frame.c", line 259: warning: argument #1 is incompatible with prototype:
prototype: pointer to const char : "/usr/include/iso/string_iso.h", line
65
argument : pointer to unsigned char
"elf-eh-frame.c", line 259: warning: argument #2 is incompatible with prototype:
prototype: pointer to const char : "/usr/include/iso/string_iso.h", line
65
argument : pointer to unsigned char
"elf-eh-frame.c", line 260: warning: argument #1 is incompatible with prototype:
prototype: pointer to const char : "/usr/include/iso/string_iso.h", line
65
argument : pointer to unsigned char
"elf-eh-frame.c", line 492: warning: argument #1 is incompatible with prototype:
prototype: pointer to const char : "/usr/include/iso/string_iso.h", line
70
argument : pointer to unsigned char
"elf-eh-frame.c", line 495: warning: argument #1 is incompatible with prototype:
prototype: pointer to char : "/usr/include/iso/string_iso.h", line 66
argument : pointer to unsigned char
"elf-eh-frame.c", line 495: warning: argument #2 is incompatible with prototype:
prototype: pointer to const char : "/usr/include/iso/string_iso.h", line
66
argument : pointer to unsigned char
"elf-eh-frame.c", line 496: warning: argument #1 is incompatible with prototype:
prototype: pointer to const char : "/usr/include/iso/string_iso.h", line
113
argument : pointer to unsigned char
"elf-eh-frame.c", line 496: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char
"elf-eh-frame.c", line 507: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "elf-eh-frame.c", line 116
argument : pointer to unsigned char
"elf-eh-frame.c", line 508: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "elf-eh-frame.c", line 145
argument : pointer to unsigned char
"elf-eh-frame.c", line 509: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "elf-eh-frame.c", line 116
argument : pointer to unsigned char
"elf-eh-frame.c", line 520: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "elf-eh-frame.c", line 116
argument : pointer to unsigned char
"elf-eh-frame.c", line 660: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "elf-eh-frame.c", line 116
argument : pointer to unsigned char
"elf-eh-frame.c", line 971: warning: argument #1 is incompatible with prototype:
prototype: pointer to const char : "/usr/include/iso/string_iso.h", line
113
argument : pointer to unsigned char
"elf-eh-frame.c", line 971: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char
"elf-eh-frame.c", line 972: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "elf-eh-frame.c", line 116
argument : pointer to unsigned char
"elf-eh-frame.c", line 973: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "elf-eh-frame.c", line 145
argument : pointer to unsigned char
"elf-eh-frame.c", line 974: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "elf-eh-frame.c", line 116
argument : pointer to unsigned char
"elf-eh-frame.c", line 977: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "elf-eh-frame.c", line 116
argument : pointer to unsigned char
--------------------
binutils/stabs.c
--------------------
"stabs.c", line 1814: warning: integer overflow detected: op "<<"
--------------------
binutils/arlex.l
--------------------
"lex.yy.c", line 1750: warning: implicit function declaration: exit
"lex.yy.c", line 1813: warning: implicit function declaration: malloc
"lex.yy.c", line 1831: warning: implicit function declaration: realloc
"lex.yy.c", line 1841: warning: implicit function declaration: free
--------------------
binutils/strings.c
--------------------
"strings.c", line 443: warning: implicit function declaration: getc_unlocked
--------------------
binutils/readelf.c
--------------------
"readelf.c", line 3919: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char
"readelf.c", line 4123: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char
"readelf.c", line 6928: warning: argument #2 is incompatible with prototype:
prototype: pointer to int : "readelf.c", line 6052
argument : pointer to unsigned int
"readelf.c", line 6930: warning: argument #2 is incompatible with prototype:
prototype: pointer to int : "readelf.c", line 6052
argument : pointer to unsigned int
"readelf.c", line 6942: warning: argument #2 is incompatible with prototype:
prototype: pointer to int : "readelf.c", line 6052
argument : pointer to unsigned int
"readelf.c", line 6944: warning: assignment type mismatch:
pointer to const char "=" pointer to unsigned char
"readelf.c", line 6950: warning: argument #2 is incompatible with prototype:
prototype: pointer to int : "readelf.c", line 6052
argument : pointer to unsigned int
"readelf.c", line 6952: warning: assignment type mismatch:
pointer to const char "=" pointer to unsigned char
"readelf.c", line 6961: warning: argument #2 is incompatible with prototype:
prototype: pointer to int : "readelf.c", line 6052
argument : pointer to unsigned int
"readelf.c", line 6963: warning: assignment type mismatch:
pointer to const char "=" pointer to unsigned char
"readelf.c", line 8383: warning: assignment type mismatch:
pointer to char "=" pointer to unsigned char
"readelf.c", line 8384: warning: argument #1 is incompatible with prototype:
prototype: pointer to const char : "/usr/include/iso/string_iso.h", line
113
argument : pointer to unsigned char
"readelf.c", line 8384: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char
"readelf.c", line 8439: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char
--------------------
gas/app.c
--------------------
"app.c", line 154: warning: assignment type mismatch:
pointer to char "=" pointer to const char
"app.c", line 159: warning: assignment type mismatch:
pointer to char "=" pointer to const char
"app.c", line 164: warning: assignment type mismatch:
pointer to char "=" pointer to const char
--------------------
gas/dwarf2dbg.c
--------------------
"dwarf2dbg.c", line 233: warning: initializer does not fit or is out of range:
-1
"dwarf2dbg.c", line 234: warning: initializer does not fit or is out of range:
-1
--------------------
gas/read.c
--------------------
"read.c", line 4477: warning: argument #2 is incompatible with prototype:
prototype: pointer to unsigned int : "as.h", line 606
argument : pointer to int
--------------------
gas/stabs.c
--------------------
"stabs.c", line 592: warning: initializer does not fit or is out of range: -1
--------------------
gas/config/tc-sparc.c
--------------------
"./config/tc-sparc.c", line 162: warning: initialization type mismatch
"./config/tc-sparc.c", line 340: warning: statement not reached
--------------------
gas/config/obj-elf.c
--------------------
"./config/obj-elf.c", line 2073: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char
--------------------
gprof/basic_blocks.c
--------------------
"basic_blocks.c", line 132: warning: argument #2 is incompatible with prototype:
prototype: pointer to unsigned int : "gmon_io.h", line 50
argument : pointer to int
--------------------
gprof/gmon_io.c
--------------------
"gmon_io.c", line 56: warning: argument #1 is incompatible with prototype:
prototype: pointer to const unsigned char : "unknown", line 0
argument : pointer to char
"gmon_io.c", line 69: warning: argument #1 is incompatible with prototype:
prototype: pointer to const unsigned char : "unknown", line 0
argument : pointer to char
"gmon_io.c", line 121: warning: argument #2 is incompatible with prototype:
prototype: pointer to unsigned char : "unknown", line 0
argument : pointer to char
"gmon_io.c", line 134: warning: argument #2 is incompatible with prototype:
prototype: pointer to unsigned char : "unknown", line 0
argument : pointer to char
"gmon_io.c", line 380: warning: argument #2 is incompatible with prototype:
prototype: pointer to unsigned int : "gmon_io.c", line 49
argument : pointer to int
"gmon_io.c", line 389: warning: argument #2 is incompatible with prototype:
prototype: pointer to unsigned int : "gmon_io.c", line 49
argument : pointer to int
"gmon_io.c", line 397: warning: argument #2 is incompatible with prototype:
prototype: pointer to unsigned int : "gmon_io.c", line 49
argument : pointer to int
--------------------
gprof/hist.c
--------------------
"hist.c", line 93: warning: argument #2 is incompatible with prototype:
prototype: pointer to unsigned int : "gmon_io.h", line 50
argument : pointer to int
"hist.c", line 94: warning: argument #2 is incompatible with prototype:
prototype: pointer to unsigned int : "gmon_io.h", line 50
argument : pointer to int
--------------------
gprof/alpha.c
--------------------
"alpha.c", line 127: warning: integer overflow detected: op "<<"
"alpha.c", line 150: warning: integer overflow detected: op "<<"
--------------------
gprof/mips.c
--------------------
"mips.c", line 79: warning: argument #1 is incompatible with prototype:
prototype: pointer to const unsigned char : "unknown", line 0
argument : pointer to char
--------------------
ld/ldwrite.c
--------------------
"ldwrite.c", line 250: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char
--------------------
ld/ldexp.c
--------------------
"ldexp.c", line 1121: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char