Fwd: Re: Fail to use Dtrace on FreeBSD 8.1-STABLE

Jeremy Chadwick freebsd at jdc.parodius.com
Wed Nov 24 05:28:51 UTC 2010

On Tue, Nov 23, 2010 at 10:20:52PM -0600, Zhihao Yuan wrote:
> As I posted in another email, the gcc crashes in latest RELENG_8. Another
> explanation is that buildworld WITH_CTF=1 can crashes the gcc. I overwrote
> the gcc with the version in 8.1_RELEASE, and I'm rebuilding everything.
> I just want to know whether I'm supposed to be able to use Dtrace just with
> a CTF-enabled kernel. And, if so, what should I do to make it actually
> works. Thanks... guys.
> On Tue, Nov 23, 2010 at 4:50 PM, Zhihao Yuan <lichray at gmail.com> wrote:
> > Can not rebuild kernel. As you known, I installed the latest kernel last
> > night. This afternoon, I installed the latest 'world', which makes the
> > 'world' and the kernel a little bit de-synchronized. And, I found that the
> > devd can not be started, s I tried to build the kernel again.
> >
> > Here I met the biggest problem: I can not rebuild the kernel now! For each
> > time the make process stopped at stage 2.3, and gives me a core dump
> > finally. What's wrong?
> >
> > On Tue, Nov 23, 2010 at 2:52 PM, Zhihao Yuan <lichray at gmail.com> wrote:
> >
> >> That's what I have done. I did not used WITH_CTF=1 on buildworld. Anyway,
> >> I;m using it to rebuild the world, which takes some time.
> >>
> >> On Tue, Nov 23, 2010 at 2:48 PM, Andriy Gapon <avg at freebsd.org> wrote:
> >>
> >>> on 23/11/2010 22:45 Jeremy Chadwick said the following:
> >>> > make buildkernel WITH_CTF=1
> >>>
> >>> I believe the above to be necessary and sufficient part (for using DTrace
> >>> on
> >>> kernel).

I don't have this problem (re: gcc crashing on buildworld, with or
without WITH_CTF=1).  If gcc is crashing with signal 11:

Kindly requested: please apply some focus to a single issue or start
separate threads for the problems you're experiencing (though I
understand how some can be related to one another).  So far there's been
3 or 4 separate topics/items mentioned during the course of this thread
(how to get DTrace working, problems with devd, and now gcc crashing),
and it's becoming more and more difficult to follow what's going on.

| Jeremy Chadwick                                   jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |

More information about the freebsd-stable mailing list