public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/15420] New: Thread support broken on 64-bit Solaris/x86
@ 2013-04-30 14:56 ro at TechFak dot Uni-Bielefeld.DE
  2013-05-01  6:43 ` [Bug tdep/15420] " brobecker at gnat dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ro at TechFak dot Uni-Bielefeld.DE @ 2013-04-30 14:56 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 15420
           Summary: Thread support broken on 64-bit Solaris/x86
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tdep
        AssignedTo: unassigned@sourceware.org
        ReportedBy: ro@TechFak.Uni-Bielefeld.DE
                CC: brobecker@adacore.com
    Classification: Unclassified
              Host: amd64-pc-solaris2.1[01]
            Target: amd64-pc-solaris2.1[01]
             Build: amd64-pc-solaris2.1[01]


This report is about gdb 7.6, but bugzilla doesn't yet provide that version.

When I start gdb, configured on Solaris 10/x86 with

configure CFLAGS='-g -O2 -m64' --prefix=/vol/gcc --disable-nls --without-python

I get this warning:

[GDB will not be able to debug user-mode threads: ld.so.1: gdb-7.6: fatal:
relocation error: file /lib/64/libthread_db.so.1: symbol ps_lgetxregsize:
referenced symbol not found]

This is a regression from gdb 7.5 where this worked and the function (required
by libthread_db.so.1) was provided by the gdb binary.  This is obviously due to
this change:

2012-09-27  Joel Brobecker  <brobecker@adacore.com>

        * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
        Move these functions to sparc-sol-thread.c.
        * sparc-sol-thread.c: New file.
        * configure.ac: Add sparc-sol-thread.o to CONFIG_OBS and
        sparc-sol-thread.c to CONFIG_SRCS for sparc-solaris native
        configurations.
        * configure: Regenerate.

The functions are incorrectly taken to be sparc-specific.  If I add
sparc-sol-thread.c to the Solaris/x86 build by editing configure, gdb starts
again as expected.

  Rainer

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

end of thread, other threads:[~2021-09-22 17:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-30 14:56 [Bug tdep/15420] New: Thread support broken on 64-bit Solaris/x86 ro at TechFak dot Uni-Bielefeld.DE
2013-05-01  6:43 ` [Bug tdep/15420] " brobecker at gnat dot com
2013-05-06 11:35 ` brobecker at gnat dot com
2013-05-06 11:48 ` ro at CeBiTec dot Uni-Bielefeld.DE
2013-05-06 12:12 ` brobecker at gnat dot com
2013-05-10 12:10 ` cvs-commit at gcc dot gnu.org
2013-05-10 12:30 ` cvs-commit at gcc dot gnu.org
2013-05-10 12:37 ` brobecker at gnat dot com
2021-09-10 19:35 ` mehmetgelisin at aol dot com
2021-09-22 16:58 ` mervegunesli at aol dot com
2021-09-22 17:00 ` mark at klomp dot org

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).