From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11921 invoked by alias); 22 Dec 2004 21:09:45 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 11874 invoked from network); 22 Dec 2004 21:09:38 -0000 Received: from unknown (HELO av1-1-sn4.m-sp.skanova.net) (81.228.10.116) by sourceware.org with SMTP; 22 Dec 2004 21:09:38 -0000 Received: by av1-1-sn4.m-sp.skanova.net (Postfix, from userid 502) id A175138144; Wed, 22 Dec 2004 22:09:37 +0100 (CET) Received: from smtp4-1-sn4.m-sp.skanova.net (smtp4-1-sn4.m-sp.skanova.net [81.228.10.181]) by av1-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 9297837FB9 for ; Wed, 22 Dec 2004 22:09:37 +0100 (CET) Received: from fw.j-son.org (c83-250-25-212.bredband.comhem.se [83.250.25.212]) by smtp4-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 7D1C337E45 for ; Wed, 22 Dec 2004 22:09:37 +0100 (CET) Received: from fw.j-son.org (fw.j-son.org [127.0.0.1]) by fw.j-son.org (8.13.1/8.13.1) with ESMTP id iBML9aV3023385 for ; Wed, 22 Dec 2004 22:09:36 +0100 Received: (from chj@localhost) by fw.j-son.org (8.13.1/8.13.1/Submit) id iBML9a7E023384 for binutils@sources.redhat.com; Wed, 22 Dec 2004 22:09:36 +0100 Date: Wed, 22 Dec 2004 21:09:00 -0000 From: Christian Joensson To: binutils Subject: Quite some waring using gcc4... [Was: Results for 2.15.94 20041222 testsuite on i686-pc-linux-gnu] Message-ID: <20041222210936.GA23378@fw.j-son.org> Mail-Followup-To: binutils References: <20041222210810.GA23368@fw.j-son.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041222210810.GA23368@fw.j-son.org> User-Agent: Mutt/1.4.1i X-SW-Source: 2004-12/txt/msg00285.txt.bz2 On Wed, Dec 22, 2004 at 10:08:10PM +0100, Christian Joensson wrote: > Fedora Core release 3 (Heidelberg) ia32 pentium III dual i686: > > binutils-2.15.92.0.2-5 > bison-1.875c-2 > dejagnu-1.4.4-2 > expect-5.42.1-1 > gcc-3.4.2-6.fc3 > gcc4-4.0.0-0.8 > glibc-2.3.4-2.fc3 > glibc-headers-2.3.4-2.fc3 > glibc-kernheaders-2.4-9.1.87 > kernel-2.6.9-1.681_FC3 > kernel-smp-2.6.9-1.681_FC3 > tcl-8.4.7-2 > > LAST_UPDATED: Wed Dec 22 20:47:53 UTC 2004 > > Native configuration is i686-pc-linux-gnu > version: 2.15.94 20041222 > Platform: i686-pc-linux-gnu > configure flags: --enable-__cxa_atexit --enable-shared > Counting all warnings, > there are 136 warnings in stage0 of this bootstrap. > > Number of warnings per file: > 34 /usr/local/src/trunk/src/bfd/elf-eh-frame.c > 22 /usr/local/src/trunk/src/bfd/peicode.h > 14 /usr/local/src/trunk/src/binutils/readelf.c > 10 /usr/local/src/trunk/src/binutils/bucomm.c > 8 /usr/local/src/trunk/src/bfd/merge.c > 6 /usr/local/src/trunk/src/ld/ldexp.c > 5 libiberty/concat.c > 4 /usr/local/src/trunk/src/gprof/gmon_io.c > 4 /usr/local/src/trunk/src/bfd/opncls.c > 4 /usr/local/src/trunk/src/bfd/elf.c > 3 /usr/local/src/trunk/src/bfd/dwarf2.c > 3 libiberty/regex.c > 2 /usr/local/src/trunk/src/gprof/hist.c > 2 /usr/local/src/trunk/src/bfd/srec.c > 2 /usr/local/src/trunk/src/bfd/elf-strtab.c > 2 /usr/local/src/trunk/src/bfd/cofflink.c > 2 /usr/local/src/trunk/src/bfd/coffgen.c > 1 /usr/local/src/trunk/src/ld/ldwrite.c > 1 /usr/local/src/trunk/src/gprof/basic_blocks.c > 1 /usr/local/src/trunk/src/gas/read.c > 1 /usr/local/src/trunk/src/gas/config/obj-elf.c > 1 /usr/local/src/trunk/src/binutils/objdump.c > 1 /usr/local/src/trunk/src/bfd/elfcode.h > 1 libiberty/pex-unix.c > 1 lex.yy.c > 1 include/xregex2.h > > Number of warning types: > 25 pointer targets in assignment differ in signedness > 20 pointer targets in passing argument 1 of 'strlen' differ in signedness > 10 the use of \`???' is dangerous, better use \`???' > 8 pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness > 6 pointer targets in passing argument 2 of 'read_unsigned_leb128' differ in signedness > 6 pointer targets in passing argument 2 of 'gmon_io_read_32' differ in signedness > 6 pointer targets in initialization differ in signedness > 5 traditional C rejects ISO C style function definitions > 5 pointer targets in passing argument 2 of 'read_leb128' differ in signedness > 4 pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness > 3 signed and unsigned type in conditional expression > 3 pointer targets in passing argument 3 of 'pe_ILF_make_a_symbol' differ in signedness > 3 pointer targets in passing argument 2 of 'sec_merge_add' differ in signedness > 3 pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness > 2 pointer targets in passing argument 2 of 'read_signed_leb128' differ in signedness > 2 pointer targets in passing argument 2 of 'bfd_calc_gnu_debuglink_crc32' differ in signedness > 2 pointer targets in passing argument 1 of 'strcpy' differ in signedness > 2 pointer targets in passing argument 1 of 'byte_get' differ in signedness > 1 'yyunput' defined but not used > 1 variable 'out' might be clobbered by 'longjmp' or 'vfork' > 1 'strtab' may be used uninitialized in this function > 1 'result\$value' is used uninitialized in this function > 1 'result\$valid_p' may be used uninitialized in this function > 1 'result\$str' is used uninitialized in this function > 1 'result\$section' is used uninitialized in this function > 1 pointer targets in return differ in signedness > 1 pointer targets in passing argument 5 of 'srec_write_record' differ in signedness > 1 pointer targets in passing argument 4 of 'srec_write_record' differ in signedness > 1 pointer targets in passing argument 3 of 'coff_write_native_symbol' differ in signedness > 1 pointer targets in passing argument 3 of 'coff_write_alien_symbol' differ in signedness > 1 pointer targets in passing argument 3 of 'bfd_simple_get_relocated_section_contents' differ in signedness > 1 pointer targets in passing argument 2 of 'strcpy' differ in signedness > 1 pointer targets in passing argument 2 of 'sec_merge_hash_lookup' differ in signedness > 1 pointer targets in passing argument 2 of 'check_eh_frame' differ in signedness > 1 pointer targets in passing argument 1 of 'strrchr' differ in signedness > 1 'new\$str' is used uninitialized in this function > 1 ISO C90 does not support 'static' or type qualifiers in parameter array declarators > 1 'hdr\$length' may be used uninitialized in this function > 1 'count' may be used uninitialized in this function Is this something someone wants more info about? Cheers, /ChJ