Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2013 22:53:19 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        freebsd-current@FreeBSD.org
Subject:   Re: ctfconvert again
Message-ID:  <50F4D2AF.2020700@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
> So I updated my FreeBSD machine to 9.1-RELEASE in the hope of getting
> past the ctfconvert problem that causes a build of 10-CURRENT to say:
>
> ERROR: ctfconvert: failed to initialize DWARF: Unimplemented code at
> [dwarf_init_attr(400)]
>
> while compiling every kernel source file.  Then I checked out head as
> of 245422 into a different partition and tried "make buildworld" (ran
> okay) and "make buildkernel" (failed with the same error as before).
>
> Do I have to build an early version of head before I can build the
> current version of head?                          -- George Mitchell
>
FWIW;

While looking at NetBSD's Dtrace enhancements I found that
this is caused[1] by a known bug in gcc. It was fixed in our base gcc
recently and MFC'd.

Last time I looked, upstream gcc hasn't fixed it, and I am trying
to get the illumos guys to review the NetBSD workaround before
we adopt it.

cheers,

Pedro.

[1] 
https://github.com/jsonn/src/commit/924b243eee68869ee5ed48f2b2fab9815c4f4e82



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F4D2AF.2020700>