ctfconvert again

Pedro Giffuni pfg at FreeBSD.org
Tue Jan 15 03:56:47 UTC 2013


> 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


More information about the freebsd-current mailing list