On 2013-01-15 00:57, George Mitchell wrote:
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).

This is because clang outputs dwarf attributes which libdwarf did not
understand before r239872.  However, that fix to libdwarf did not make
it into 9.1-RELEASE, unfortunately.

To fix it locally, you can apply r239872 to your local source tree, and
then rebuild and reinstall libdwarf.

The proper solution would be to make ctfconvert a bootstrap tool for the
kernel build, but it is more complicated...
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to