[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/7028] New: valgrind complaints running ld-elf/header

From: hp at sourceware dot org
Subject: [Bug ld/7028] New: valgrind complaints running ld-elf/header
Date: 12 Nov 2008 21:27:07 -0000

For all the targets above, I see in ld.log:
Executing on host: sh -c {valgrind -q /home/hp/binutils/obj/l/ld/ld-new 
-L/home/hp/binutils/src/ld/testsuite/ld-elf  -T header.t -z max-page-size=0x100
-o tmpdir/dump tmpdir/dump0.o 2>&1}  /dev/null ld.tmp (timeout = 300)
==2996== Syscall param write(buf) points to uninitialised byte(s)
==2996==    at 0x875F73: __write_nocancel (in /lib/libc-2.8.so)
==2996==    by 0x8121F6: _IO_do_write@@GLIBC_2.1 (in /lib/libc-2.8.so)
==2996==    by 0x811BCF: _IO_file_overflow@@GLIBC_2.1 (in /lib/libc-2.8.so)
==2996==    by 0x812F08: _IO_switch_to_get_mode (in /lib/libc-2.8.so)
==2996==    by 0x8115C7: _IO_file_seekoff@@GLIBC_2.1 (in /lib/libc-2.8.so)
==2996==    by 0x807D7F: _IO_seekoff_unlocked (in /lib/libc-2.8.so)
==2996==    by 0x80F004: fseeko64 (in /lib/libc-2.8.so)
==2996==    by 0x806B407: bfd_seek (bfdio.c:365)
==2996==    by 0x809F1CE: elf_link_flush_output_syms (elflink.c:8153)
==2996==    by 0x80AAB97: bfd_elf_final_link (elflink.c:10619)
==2996==    by 0x805E193: ldwrite (ldwrite.c:567)
==2996==    by 0x805D5D3: main (ldmain.c:462)
==2996==  Address 0x400c020 is not stack'd, malloc'd or (recently) free'd
succeeded with: <(repeated)>, expected: <>
(the above repeated again for unknown reasons)
FAIL: ld-elf/header

Looks like a target-independent bug; something or other is left uninitialized.

           Summary: valgrind complaints running ld-elf/header
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hp at sourceware dot org
                CC: bug-binutils at gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: cris-axis-linux-gnu, arm-unknown-linux-gnu, i686-pc-


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]