This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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]

[Bug gdb/15700] New: Undefiend reference to "std_section"


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

            Bug ID: 15700
           Summary: Undefiend reference to "std_section"
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: ray_linn at hotmail dot com

I am using GCC 4.8.1 (MinGW-W64 2.0.8) to compile the GDB 7.6 under Windows 7
X64, 

the configuration options is as 

./configure --build=x86_64-w64-mingw32 --enable-libada --enable-libssp
--enable-objc-gc --enable-lto CFLAGS='-I/usr/local/include -DMS_WIN64
-Dffs=__builtin_ffs' LDFLAGS=-L/usr/local/lib


and while making, undefined reference appears when link the gdb.exe, error
message is 
....
tils.o buffer.o ptid.o gdb-dlfcn.o common-agent.o format.o registry.o btrace.o
r
ecord-btrace.o inflow.o    init.o \
                   ../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libb
fd.a /usr/local/lib/libintl.a /usr/local/lib/libiconv.a
../libiberty/libiberty.a
 ../libdecnumber/libdecnumber.a    -lz -lm   -liconv -Lc:/Python27/libs
-lpython
27 /usr/local/lib/libexpat.a /usr/local/lib/liblzma.a -lpthread
../libiberty/lib
iberty.a -lws2_32 build-gnulib/import/libgnu.a
elfread.o:elfread.c:(.text+0x89d): undefined reference to `std_section'
elfread.o:elfread.c:(.text+0xb26): undefined reference to `std_section'
elfread.o:elfread.c:(.text+0xb56): undefined reference to `std_section'
elfread.o:elfread.c:(.text+0xf4d): undefined reference to `std_section'
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw3
2/bin/ld.exe: elfread.o: bad reloc address 0x0 in section `.pdata'
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw3
2/bin/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status


Before GDB 7.6 , I success in GDB 7.5 serials, what is the matter?

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


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