bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/2750] New: ld has problem with -shared, and GDB, SUN solaris 10


From: tan at absolute-eda dot com
Subject: [Bug ld/2750] New: ld has problem with -shared, and GDB, SUN solaris 10 X86 (amd)
Date: 10 Jun 2006 00:41:49 -0000

the program I have work fine in older version of gcc,ld and GDB.  However, with
gdb 3.3+, it has the folowing behavior:

if I link the exec called medusa, which has a capability to dynamically link in
a library :
    medusa --lib=my.so

where code in my.so calls some functions in medusa.

if I link medusa with this ld, I can run GDB on medusa, but when I run 
    medusa --lib=libpli.so,

it complains
"ld.so.1: medusa: fatal: relocation error: file
    ./libpli.so: symbol ttf_io_printf: referenced symbol not found"

If I link medusa using th SUN packaged ld, then medusa --lib=libpli.so work just
fine, but I can not run GDB, the error is
  "DW_FORM_strp point outside of ....."

any suggestion ?

-- 
           Summary: ld has problem with -shared, and GDB, SUN solaris 10 X86
                    (amd)
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: tan at absolute-eda dot com
                CC: bug-binutils at gnu dot org


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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