From owner-freebsd-stable@FreeBSD.ORG Wed Aug 3 00:12:42 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFEA7106566C for ; Wed, 3 Aug 2011 00:12:42 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 534748FC1A for ; Wed, 3 Aug 2011 00:12:41 +0000 (UTC) Received: by gxk28 with SMTP id 28so244413gxk.13 for ; Tue, 02 Aug 2011 17:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Nq5CTp4Ff6TeGf5wgVKgIeS1n13b81kkKqV7eZw7BQ8=; b=rUB6APEi4F84cH3/BHaWJeY6Nkm/1XmbJw+z72vLb0na9nmp0H6aiZ5pVHI8/rbMk3 4rkf+IWdKHA5CkPiBwJYH2BXKACevkfBGZGJw7b6vS0MJfVxLqU5aU5Ui1tzRGjBLv8q u7HTwFGjVEkEKx0i+QCPabonPJv1+lz4FC0Kk= MIME-Version: 1.0 Received: by 10.151.39.11 with SMTP id r11mr2277347ybj.411.1312330361471; Tue, 02 Aug 2011 17:12:41 -0700 (PDT) Received: by 10.150.97.3 with HTTP; Tue, 2 Aug 2011 17:12:41 -0700 (PDT) In-Reply-To: References: <4E2E9F60.1060808@FreeBSD.org> <4E33B7CF.90200@FreeBSD.org> <4E344D15.1040508@FreeBSD.org> <20110730192646.GC17489@deviant.kiev.zoral.com.ua> <4E386636.2000507@FreeBSD.org> <4E386741.5030801@FreeBSD.org> Date: Tue, 2 Aug 2011 17:12:41 -0700 Message-ID: From: Kevin Oberman To: maestro something Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Kostik Belousov , freebsd-stable@freebsd.org, Andriy Gapon Subject: Re: dtrace ustack kernel panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 00:12:42 -0000 On Tue, Aug 2, 2011 at 3:46 PM, maestro something wro= te: > Hi, > > diff --git a/lib/libproc/proc_create.c b/lib/libproc/proc_create.c >> index c372a47..9bd24a2 100644 >> --- a/lib/libproc/proc_create.c >> +++ b/lib/libproc/proc_create.c >> @@ -79,12 +79,11 @@ proc_attach(pid_t pid, int flags, struct proc_handle >> **pphdl) >> =A0 =A0 =A0 =A0else >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0phdl->status =3D PS_STOP; >> >> +out: >> =A0 =A0 =A0 =A0if (error) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0proc_free(phdl); >> =A0 =A0 =A0 =A0else >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0*pphdl =3D phdl; >> -out: >> - =A0 =A0 =A0 proc_free(phdl); >> =A0 =A0 =A0 =A0return (error); >> =A0} >> > > What do I have to recompile for the patch to be picked up? > make libproc in /usr/src/lib > works but > make install libproc > fails the following way: > > fb90i386# make install libproc > =3D=3D=3D> csu/i386-elf (install) > install -o root -g wheel =A0-m 444 crti.o crtn.o gcrt1.o crt1.o Scrt1.o > /usr/lib > =3D=3D=3D> libc (install) > install -C -o root -g wheel -m 444 =A0 libc.a /usr/lib > install: libc.a: No such file or directory > *** Error code 71 > > Stop in /usr/src/lib/libc. > *** Error code 1 > > Stop in /usr/src/lib. Did you remember to 'make obj'? If you didn't, the library would be left in the wrong place where 'make install' would not find it. make obj make depend (possibly a no-op) make make install --=20 R. Kevin Oberman, Network Engineer - Retired E-mail: kob6558@gmail.com