public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/15700] New: Undefiend reference to "std_section"
@ 2013-06-28  4:56 ray_linn at hotmail dot com
  2013-06-28 10:41 ` [Bug gdb/15700] " ray_linn at hotmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ray_linn at hotmail dot com @ 2013-06-28  4:56 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/15700] Undefiend reference to "std_section"
  2013-06-28  4:56 [Bug gdb/15700] New: Undefiend reference to "std_section" ray_linn at hotmail dot com
@ 2013-06-28 10:41 ` ray_linn at hotmail dot com
  2013-06-28 10:42 ` ray_linn at hotmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ray_linn at hotmail dot com @ 2013-06-28 10:41 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from ray_linn <ray_linn at hotmail dot com> ---
Created attachment 7100
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7100&action=edit
screenshot

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/15700] Undefiend reference to "std_section"
  2013-06-28  4:56 [Bug gdb/15700] New: Undefiend reference to "std_section" ray_linn at hotmail dot com
  2013-06-28 10:41 ` [Bug gdb/15700] " ray_linn at hotmail dot com
@ 2013-06-28 10:42 ` ray_linn at hotmail dot com
  2013-06-28 10:57 ` ray_linn at hotmail dot com
  2013-06-28 11:23 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ray_linn at hotmail dot com @ 2013-06-28 10:42 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from ray_linn <ray_linn at hotmail dot com> ---
Compared with Bintuils, the section.c may result in this problem, please refer
to screenshot

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/15700] Undefiend reference to "std_section"
  2013-06-28  4:56 [Bug gdb/15700] New: Undefiend reference to "std_section" ray_linn at hotmail dot com
  2013-06-28 10:41 ` [Bug gdb/15700] " ray_linn at hotmail dot com
  2013-06-28 10:42 ` ray_linn at hotmail dot com
@ 2013-06-28 10:57 ` ray_linn at hotmail dot com
  2013-06-28 11:23 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ray_linn at hotmail dot com @ 2013-06-28 10:57 UTC (permalink / raw)
  To: gdb-prs

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

ray_linn <ray_linn at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from ray_linn <ray_linn at hotmail dot com> ---
Silly, found it is due to previous gdb lib in LDFLAGS.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/15700] Undefiend reference to "std_section"
  2013-06-28  4:56 [Bug gdb/15700] New: Undefiend reference to "std_section" ray_linn at hotmail dot com
                   ` (2 preceding siblings ...)
  2013-06-28 10:57 ` ray_linn at hotmail dot com
@ 2013-06-28 11:23 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: palves at redhat dot com @ 2013-06-28 11:23 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com
         Resolution|FIXED                       |INVALID

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-28 11:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-28  4:56 [Bug gdb/15700] New: Undefiend reference to "std_section" ray_linn at hotmail dot com
2013-06-28 10:41 ` [Bug gdb/15700] " ray_linn at hotmail dot com
2013-06-28 10:42 ` ray_linn at hotmail dot com
2013-06-28 10:57 ` ray_linn at hotmail dot com
2013-06-28 11:23 ` palves at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).