This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binutils 2.18 available


On Wed, Aug 29, 2007 at 09:19:43AM +0100, Jan Beulich wrote:
> Thanks, Daniel. Nevertheless, a question: is it known that on (at least) i386-linux
> ld's selective[456] tests produce an assertion failure, causing two unexpected
> failures (which seems not really nice for a release and a pretty important
> architecture):

They do not for me.  However, they are somewhat sensitive to the
compiler in use.

> gcc  -B/home/jbeulich/build/binutils/2.18-base/ld/tmpdir/gas/ -I/usr/local/src/binutils-2.18/ld/testsuite/ld-selective -g -O2   -L/home/jbeulich/build/binutils/2.18-base/./ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -c /usr/local/src/binutils-2.18/ld/testsuite/ld-selective/3.cc -o tmpdir/3.o
> /home/jbeulich/build/binutils/2.18-base/ld/ld-new  -o tmpdir/3.x --gc-sections -Bstatic  tmpdir/3.o
> /home/jbeulich/build/binutils/2.18-base/ld/ld-new: BFD (GNU Binutils) 2.18 assertion fail /usr/local/src/binutils-2.18/bfd/elf32-i386.c:1273

          /* This relocation describes the C++ object vtable
	  hierarchy.
             Reconstruct it for later use during GC.  */
        case R_386_GNU_VTINHERIT:
          BFD_ASSERT (h != NULL);
          if (h != NULL
              && !bfd_elf_gc_record_vtinherit (abfd, sec, h,
	      rel->r_offset))
            return FALSE;
          break;

How on earth did you get an R_386_GNU_VTINHERIT?  You must be using a
much older compiler than I am.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]