bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/15864] New: incremental linking: segfault i386::first_plt_entr


From: address@hidden
Subject: [Bug gold/15864] New: incremental linking: segfault i386::first_plt_entry_offset
Date: Tue, 20 Aug 2013 17:07:46 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=15864

            Bug ID: 15864
           Summary: incremental linking: segfault
                    i386::first_plt_entry_offset
           Product: binutils
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ian at airs dot com
          Reporter: address@hidden
                CC: ccoutant at google dot com

(gdb) run --incremental --wrap _printf --wrap _fdprintf --wrap _vprintf --wrap
_vfdprintf -X -N -e _sysInit -Ttext 0x0012a000 $(cat
../objs/main/7xxx-i386-both/both.data.padstart)
../objs/main/7xxx-i386-both/both.o ../objs/main/7xxx-i386-both/symTbl.o
../objs/main/7xxx-i386-both/ctdt.o -o ../bin/7xxx-i386/both.st --defsym
__edata=0x0 --defsym __end=0x0
Starting program: /jasmets/gnu/gcc462/binutils-2.23.2/gold/ld-new --incremental
--wrap _printf --wrap _fdprintf --wrap _vprintf --wrap _vfdprintf -X -N -e
_sysInit -Ttext 0x0012a000 $(cat
../objs/main/7xxx-i386-both/both.data.padstart)
../objs/main/7xxx-i386-both/both.o ../objs/main/7xxx-i386-both/symTbl.o
../objs/main/7xxx-i386-both/ctdt.o -o ../bin/7xxx-i386/both.st --defsym
__edata=0x0 --defsym __end=0x0
[Thread debugging using libthread_db enabled]
the link might take longer: cannot perform incremental link: no incremental
data from previous build
linking with --incremental-full

Program received signal SIGSEGV, Segmentation fault.
(anonymous namespace)::Target_i386::first_plt_entry_offset (this=<value
optimized out>) at i386.cc:1485
1485      return this->plt_->first_plt_entry_offset();
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6.x86_64
libgcc-4.4.7-3.el6.x86_64 libstdc++-4.4.7-3.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0  (anonymous namespace)::Target_i386::first_plt_entry_offset (this=<value
optimized out>) at i386.cc:1485
#1  0x00000000004e58ee in gold::Output_section_incremental_inputs<32,
false>::write_got_plt (this=0x6c04950, pov=0x7fffddfff4c4 "", view_size=<value
optimized out>) at incremental.cc:1950
#2  0x00000000005558e0 in gold::Output_section::do_write (this=0x6c04ac0,
of=0x6c06150) at output.cc:3613
#3  0x00000000005004b7 in write (this=0x7fffffffd0e0, of=0x6c06150) at
output.h:241
#4  gold::Layout::write_sections_after_input_sections (this=0x7fffffffd0e0,
of=0x6c06150) at layout.cc:5036
#5  0x00000000005ed9d4 in gold::Workqueue::find_and_run_task
(this=0x7fffffffda80, thread_number=0) at workqueue.cc:319
#6  0x00000000005edd3a in gold::Workqueue::process (this=0x7fffffffda80,
thread_number=0) at workqueue.cc:495
#7  0x00000000004055d6 in main (argc=25, argv=0x7fffffffdc88) at main.cc:252

Let me know if there is any more data I can gather for you. I can not send you
the object file. 
No exotic link script is used, a regular link works fine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

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