Bug#629172: binutils: ld crash cause of invalid size in free()se
Jonathan Nieder jrnie...@gmail.com writes: Christian Marillat wrote: I removed -Wall in bfd/configure and now the ld crash is gone. Excellent --- most likely this is the same as Bug#628916 (fixed by Properly warn relocation in readonly section in a shared object, 2010-06-01) after all. A new package is scheduled for when ? Christian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629172: binutils: ld crash cause of invalid size in free()se
Hi Christian, Christian Marillat wrote: A new package is scheduled for when ? You can test with http://mentors.debian.net/debian/pool/main/b/binutils/binutils_2.21.51.20110605-0.1.dsc if you'd like. Matthias, thoughts welcome as always (e.g., I hope the upstream tarball is correct --- it was made with 0. umask 022 1. check out the upstream source using cvs --- the last upstream change was the daily bump 2. GZIP='-n --rsyncable' tar -zcf binutils_...orig.tar.gz \ --owner=root --group=root --numeric-owner --exclude=CVS \ binutils-... ). -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629172: binutils: ld crash cause of invalid size in free()se
Jonathan Nieder jrnie...@gmail.com writes: Hi Christian, Christian Marillat wrote: A new package is scheduled for when ? You can test with Thanks but, I'm waiting for an official package. Christian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629172: binutils: ld crash cause of invalid size in free()se
forcemerge 628916 629172 quit Hi Christian, Christian Marillat wrote: ld crash in an included ffmpeg version in avidemux 2.5.4 (also in 2.5.5 released today) ld crash. LDlibavcodec/libADM5avcodec.so.52 *** glibc detected *** /usr/bin/ld: free(): invalid size: 0x08339378 *** See http://bugs.debian.org/628916. I'm optimistically merging with that bug, but I'd be glad to test if given a minimal, self-contained testcase (as explained in that bug). Thanks for reporting, Jonathan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629172: binutils: ld crash cause of invalid size in free()se
Christian Marillat wrote: See the attached tarball. The command-line is in the command-line.txt file. Thanks. Tell me if I forget a file. After moving around files a little, I get $ sh command-line.txt ld.bfd: cannot find /usr/lib/gcc/i486-linux-gnu/4.6.1/../../../../lib/crti.o: No such file or directory ld.bfd: cannot find /usr/lib/gcc/i486-linux-gnu/4.6.1/crtbeginS.o: No such file or directory ld.bfd: cannot find -lgcc so I suppose those are missing. I copied in some files from a gcc 4.4 i386 installation and it complained about a few more in the same vein. Until: $ sh command-line.txt $ echo $? 0 This happens with binutils 2.21.51.20110523-1 (from sid) or 2.21.51.20110601-1 (from experimental). Any idea what I am doing wrong? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629172: binutils: ld crash cause of invalid size in free()se
Jonathan Nieder jrnie...@gmail.com writes: [...] $ sh command-line.txt $ echo $? 0 This happens with binutils 2.21.51.20110523-1 (from sid) or 2.21.51.20110601-1 (from experimental). Any idea what I am doing wrong? No, but I did a new tarball. This tarball is a pbuider chroot without the proc sys dev and var directories. The avidemeux build is in tmp/buildd/avidemux-2.5.4 and ld fail in tmp/buildd/avidemux-2.5.4/build/lib/ffmpeg Beware the tarball is big 285 MB. http://www.debian-multimedia.org/tests/binutils-bug-629172-chroot.tar.bz2 Christian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629172: binutils: ld crash cause of invalid size in free()se
Christian Marillat wrote: No, but I did a new tarball. This tarball is a pbuider chroot without the proc sys dev and var directories. [...] Beware the tarball is big 285 MB. Yikes. Is it not possible to make a smaller demonstration of the problem? Alternatively, could you test with binutils from upstream, like so? git clone git://sources.redhat.com/git/binutils.git cd binutils ./configure --prefix=$HOME/opt/binutils; # or whereever make make install PATH=$HOME/opt/binutils/bin:$PATH LD_LIBRARY_PATH=$HOME/opt/binutils/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH ... build package ... -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629172: binutils: ld crash cause of invalid size in free()se
Jonathan Nieder jrnie...@gmail.com writes: [...] PATH=$HOME/opt/binutils/bin:$PATH LD_LIBRARY_PATH=$HOME/opt/binutils/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH ... build package ... First the build fail with : , | libtool: compile: gcc -DHAVE_CONFIG_H -I. -DTRAD_CORE -I. -I. -I./../include -DHAVE_bfd_elf32_i386_vec -DHAVE_i386linux_vec -DHAVE_i386pei_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -DBINDIR=\/home/marillat/opt/binutils/bin\ -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT trad-core.lo -MD -MP -MF .deps/trad-core.Tpo -c trad-core.c -o trad-core.o | trad-core.c: In function ‘trad_unix_core_file_p’: | trad-core.c:123:5: error: implicit declaration of function ‘__sysconf’ [-Werror=implicit-function-declaration] | cc1: all warnings being treated as errors ` I removed -Wall in bfd/configure and now the ld crash is gone. Christian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629172: binutils: ld crash cause of invalid size in free()se
Christian Marillat wrote: I removed -Wall in bfd/configure and now the ld crash is gone. Excellent --- most likely this is the same as Bug#628916 (fixed by Properly warn relocation in readonly section in a shared object, 2010-06-01) after all. Thanks for checking and sorry for the trouble. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org