NetBSD Problem Report #51679
From martin@aprisoft.de Thu Dec 1 08:42:57 2016
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id A37D87A343
for <gnats-bugs@gnats.NetBSD.org>; Thu, 1 Dec 2016 08:42:57 +0000 (UTC)
Message-Id: <20161201084248.A18525CC761@emmas.aprisoft.de>
Date: Thu, 1 Dec 2016 09:42:48 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: gdb can't run threaded programs
X-Send-Pr-Version: 3.95
>Number: 51679
>Category: port-sparc64
>Synopsis: gdb can't run threaded programs
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-sparc64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 01 08:45:00 +0000 2016
>Originator: Martin Husemann
>Release: NetBSD 7.99.43
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 7.99.43 NetBSD 7.99.43 (WHOEVER) #37: Tue Nov 29 17:18:56 CET 2016 martin@martins.aprisoft.de:/ssd/src/sys/arch/sparc64/compile/WHOEVER sparc64
Architecture: sparc64
Machine: sparc64
>Description:
Trying to run a pthreaded program under gdb fails:
[~] martin@whoever-brings-the-night > gdb dig
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from dig...Reading symbols from /usr/libdata/debug//usr/bin/dig.debug...done.
done.
(gdb) run
Starting program: /usr/bin/dig
Program received signal SIGILL, Illegal instruction.
0xfffffffff595a344 in ?? ()
>How-To-Repeat:
s/a
>Fix:
n/a
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.