Date: Mon, 14 Jan 2013 20:08:52 -0500 From: George Mitchell <george+freebsd@m5p.com> To: Steven Hartland <killing@multiplay.co.uk> Cc: freebsd-current@freebsd.org Subject: Re: ctfconvert again Message-ID: <50F4AC24.7060401@m5p.com> In-Reply-To: <38C9A294A26F4B3CACC0191DEE722B21@multiplay.co.uk> References: <50F49B50.3080507@m5p.com> <38C9A294A26F4B3CACC0191DEE722B21@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/14/13 19:21, Steven Hartland wrote: > > ----- Original Message ----- From: "George Mitchell" > <george+freebsd@m5p.com> > To: <freebsd-current@freebsd.org> > Sent: Monday, January 14, 2013 11:57 PM > Subject: ctfconvert again > > >> 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 > > I believe the location of ctfconvert which is used is broken so unless > your system has a version of ctfconvert which includes the attr fix > you will always get this :( > > The reason I believe this is:- > make buildenv > Entering world for amd64:amd64 > # which ctfconvert > /usr/bin/ctfconvert > # which cc > /usr/obj/usr/home/smh/freebsd/base/head/tmp/usr/bin/cc > > So where I believe ctfconvert should be being picked up from the > toolchain its not. > > I've had a quick dig in the Makefile's but I don't know them well at > all and so couldn't find an easy fix :( > > The workaround I'm using is: > make -DNO_CTF buildkernel Works like a charm; thanks! -- George Mitchell > > If someone who better knows the make system could suggest a patch > so that ctfconvert (and potentially other tools) are build and > detected in the toolchain that would be most appreciated. > > Regards > Steve > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. and > the person or entity to whom it is addressed. In the event of > misdirection, the recipient is prohibited from using, copying, printing > or otherwise disseminating it or any information contained in it. > In the event of misdirection, illegible or incomplete transmission > please telephone +44 845 868 1337 > or return the E.mail to postmaster@multiplay.co.uk.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F4AC24.7060401>