Date: Tue, 2 Aug 2011 17:12:41 -0700 From: Kevin Oberman <kob6558@gmail.com> To: maestro something <maestro82@gmail.com> Cc: Kostik Belousov <kostikbel@gmail.com>, freebsd-stable@freebsd.org, Andriy Gapon <avg@freebsd.org> Subject: Re: dtrace ustack kernel panic Message-ID: <CAN6yY1tC4-zAb1TGDCfLAyNhkN_RZeuhsj=C9M=LtyHMKOPDkg@mail.gmail.com> In-Reply-To: <CAJ_JOqvmDMe5m1=cpoS95qJfCqX7EwuDqYGjLv4kbBPKCF=r2Q@mail.gmail.com> References: <CAJ_JOqvEmXBTBABhUcJ66=bh9%2B8S%2BC9v30hXxVZiCXuEpGPJ1A@mail.gmail.com> <4E2E9F60.1060808@FreeBSD.org> <CAJ_JOqszViwLi6TeQxAxeX2Mte5eBPsGJpjQPVOQs2BOwAq9JQ@mail.gmail.com> <4E33B7CF.90200@FreeBSD.org> <CAJ_JOqt4VdgJm3NnB1KUf1RFuk75nu6-Rh=Bqb53h5TAEzB0%2BA@mail.gmail.com> <4E344D15.1040508@FreeBSD.org> <CAJ_JOqvCDE1Zcv4jz14rtZu5_NmqfY04tz91uy76WnaW2trO7Q@mail.gmail.com> <CAJ_JOqu2SR2n1Cm__3x3rfcJpYY=ihnoE9oyuKeNmKGuUGgnGA@mail.gmail.com> <20110730192646.GC17489@deviant.kiev.zoral.com.ua> <CAJ_JOqtofEjt-jiZBiLKW--fY0sdiHvF36baS3Qxc8ubmQMazg@mail.gmail.com> <CAJ_JOqtsrOr7Uq0Jo-Mb8kKnucjUarJxKrgzNEbMxTcGP7OCAw@mail.gmail.com> <CAJ_JOqsWNDeh_2SW5cz1PDewALJoANhuW81d4TjxWSK1w=nAjw@mail.gmail.com> <4E386636.2000507@FreeBSD.org> <4E386741.5030801@FreeBSD.org> <CAJ_JOqvmDMe5m1=cpoS95qJfCqX7EwuDqYGjLv4kbBPKCF=r2Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 2, 2011 at 3:46 PM, maestro something <maestro82@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tC4-zAb1TGDCfLAyNhkN_RZeuhsj=C9M=LtyHMKOPDkg>