Subject: Re: pkg/15626: devel/gdb -- gdb-4.18 won't build on NetBSD-1.5W i386 or sparc
To: None <tron@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 02/18/2002 02:05:52
[ On , February 17, 2002 at 19:47:57 (-0000), tron@netbsd.org wrote: ]
> Subject: Re: pkg/15626
>
> Synopsis: devel/gdb -- gdb-4.18 won't build on NetBSD-1.5W i386 or sparc
GDB-5.1.1 does build and seems to work well enough to do stack
backtraces of dynamic-linked binaries on both i386 and sparc, at least
under NetBSD-1.5W (2001/06/24 sources). I'm even able to dig further
into emacs-21 cores than I ever was before with gdb-4.17!
It appears a great deal of effort has gone into GDB-5.1.1 and I wouldn't
be surprised to find it works fine on all the platforms fully supported
by pkgsrc.
Index: Makefile
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/devel/gdb/Makefile,v
retrieving revision 1.3
diff -c -r1.3 Makefile
*** Makefile 16 Feb 2001 14:38:25 -0000 1.3
--- Makefile 18 Feb 2002 06:29:58 -0000
***************
*** 1,15 ****
# $NetBSD: Makefile,v 1.3 2001/02/16 14:38:25 wiz Exp $
#
! DISTNAME= gdb-4.18
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=gdb/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gdb/gdb.html
COMMENT= symbolic debugger for multiple language frontends
-
- ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system
MAKE_ENV+= CPPFLAGS=
INFO_FILES= gdb.info gdbint.info stabs.info bfd.info
--- 1,13 ----
# $NetBSD: Makefile,v 1.3 2001/02/16 14:38:25 wiz Exp $
#
! DISTNAME= gdb-5.1.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=gdb/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gdb/gdb.html
COMMENT= symbolic debugger for multiple language frontends
MAKE_ENV+= CPPFLAGS=
INFO_FILES= gdb.info gdbint.info stabs.info bfd.info
Index: PLIST
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/devel/gdb/PLIST,v
retrieving revision 1.1
diff -c -r1.1 PLIST
*** PLIST 1 Nov 2001 01:23:38 -0000 1.1
--- PLIST 18 Feb 2002 06:52:17 -0000
***************
*** 3,16 ****
include/bfd.h
include/ansidecl.h
include/bfdlink.h
@unexec install-info --delete %D/info/standards.info %D/info/dir
@unexec install-info --delete %D/info/mmalloc.info %D/info/dir
@unexec install-info --delete %D/info/bfd.info %D/info/dir
@unexec install-info --delete %D/info/gdb.info %D/info/dir
@unexec install-info --delete %D/info/gdbint.info %D/info/dir
@unexec install-info --delete %D/info/stabs.info %D/info/dir
- info/standards.info
- info/mmalloc.info
info/bfd.info
info/bfd.info-1
info/bfd.info-2
--- 3,15 ----
include/bfd.h
include/ansidecl.h
include/bfdlink.h
+ @unexec install-info --delete %D/info/configure.info %D/info/dir
@unexec install-info --delete %D/info/standards.info %D/info/dir
@unexec install-info --delete %D/info/mmalloc.info %D/info/dir
@unexec install-info --delete %D/info/bfd.info %D/info/dir
@unexec install-info --delete %D/info/gdb.info %D/info/dir
@unexec install-info --delete %D/info/gdbint.info %D/info/dir
@unexec install-info --delete %D/info/stabs.info %D/info/dir
info/bfd.info
info/bfd.info-1
info/bfd.info-2
***************
*** 18,26 ****
--- 17,35 ----
info/bfd.info-4
info/bfd.info-5
info/bfd.info-6
+ info/bfd.info-7
+ info/configure.info
+ info/configure.info-1
+ info/configure.info-2
+ info/configure.info-3
info/gdb.info
info/gdb.info-1
info/gdb.info-10
+ info/gdb.info-11
+ info/gdb.info-12
+ info/gdb.info-13
+ info/gdb.info-14
+ info/gdb.info-15
info/gdb.info-2
info/gdb.info-3
info/gdb.info-4
***************
*** 33,49 ****
info/gdbint.info-1
info/gdbint.info-2
info/gdbint.info-3
info/stabs.info
info/stabs.info-1
info/stabs.info-2
info/stabs.info-3
info/stabs.info-4
! @exec install-info %D/info/standards.info %D/info/dir
! @exec install-info %D/info/mmalloc.info %D/info/dir
! @exec install-info %D/info/bfd.info %D/info/dir
! @exec install-info %D/info/gdb.info %D/info/dir
! @exec install-info %D/info/gdbint.info %D/info/dir
! @exec install-info %D/info/stabs.info %D/info/dir
lib/libbfd.la
lib/libiberty.a
lib/libbfd.a
--- 42,56 ----
info/gdbint.info-1
info/gdbint.info-2
info/gdbint.info-3
+ info/gdbint.info-4
+ info/gdbint.info-5
+ info/mmalloc.info
info/stabs.info
info/stabs.info-1
info/stabs.info-2
info/stabs.info-3
info/stabs.info-4
! info/standards.info
lib/libbfd.la
lib/libiberty.a
lib/libbfd.a
Index: distinfo
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/devel/gdb/distinfo,v
retrieving revision 1.2
diff -c -r1.2 distinfo
*** distinfo 21 Apr 2001 00:44:18 -0000 1.2
--- distinfo 18 Feb 2002 06:33:21 -0000
***************
*** 1,5 ****
$NetBSD: distinfo,v 1.2 2001/04/21 00:44:18 wiz Exp $
! SHA1 (gdb-4.18.tar.gz) = 4b8abe282a62e581ceb95dd8bf5e467a4521d971
! Size (gdb-4.18.tar.gz) = 11657032 bytes
! SHA1 (patch-aa) = a256a6a9e0fe126462ea92c8a5c8a3864333bb67
--- 1,4 ----
$NetBSD: distinfo,v 1.2 2001/04/21 00:44:18 wiz Exp $
! SHA1 (gdb-5.1.1.tar.gz) = 0e6e7e8d2c336fd0081d44f48ac1350ce4ee3486
! Size (gdb-5.1.1.tar.gz) = 13874218 bytes
--
Greg A. Woods
+1 416 218-0098; <gwoods@acm.org>; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>