From imp at bsdimp.com Mon Sep 1 23:45:14 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Mon Sep 1 23:45:20 2008 Subject: svn commit: r182619 - head/usr.bin In-Reply-To: <200809011803.m81I39MN024450@svn.freebsd.org> References: <200809011803.m81I39MN024450@svn.freebsd.org> Message-ID: <20080901.174500.-1665080334.imp@bsdimp.com> In message: <200809011803.m81I39MN024450@svn.freebsd.org> "David E. O'Brien" writes: : Author: obrien : Date: Mon Sep 1 18:03:09 2008 : New Revision: 182619 : URL: http://svn.freebsd.org/changeset/base/182619 : : Log: : Truss and gprof doesn't build for MIPS. What's the error? gprof at least is building in the p4 tree. Warner From obrien at FreeBSD.org Tue Sep 2 16:03:18 2008 From: obrien at FreeBSD.org (David O'Brien) Date: Tue Sep 2 16:03:24 2008 Subject: svn commit: r182619 - head/usr.bin In-Reply-To: <20080901.174500.-1665080334.imp@bsdimp.com> References: <200809011803.m81I39MN024450@svn.freebsd.org> <20080901.174500.-1665080334.imp@bsdimp.com> Message-ID: <20080902153554.GB70214@dragon.NUXI.org> On Mon, Sep 01, 2008 at 05:45:00PM -0600, M. Warner Losh wrote: > In message: <200809011803.m81I39MN024450@svn.freebsd.org> > "David E. O'Brien" writes: > : Author: obrien > : Date: Mon Sep 1 18:03:09 2008 > : New Revision: 182619 > : URL: http://svn.freebsd.org/changeset/base/182619 > : > : Log: > : Truss and gprof doesn't build for MIPS. > > What's the error? gprof at least is building in the p4 tree. You have me the impression that 'make TARGET_ARCH=mips buildworld' worked in SVN trunk as long as the four patches in ~gonzo/public_html/mips2 were applied. I guess not. $ grep gprof ~gonzo/public_html/mips2/* /home/gonzo/public_html/mips2/cc.diff:+ %{p:%nconsider using `-pg' instead of `-p' with gprof(1) } \ $ cd usr.bin/gprof $ ls i386.h sparc64.h powerpc.h ia64.h arm.h mips.h ls: mips.h: No such file or directory arm.h i386.h ia64.h powerpc.h sparc64.h I've now added the missing 'mips.h'. -- David From imp at bsdimp.com Fri Sep 19 20:51:11 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Fri Sep 19 20:51:15 2008 Subject: FreeBSD/mips update Message-ID: <20080919.144909.-1967687376.imp@bsdimp.com> I've spent the last few days slashing through merging changes from svn into p4 and vice versa. The results of this hacking, as well as David O'Brien's work in svn for gcc support, are the following patches: http://people.freebsd.org/~imp/MipsSvn.diff they are only 42k now. We're getting close. I'm also investigating other changes in p4 to bring in to fix bugs. You can find some more info at my blog on this as well. http://bsdimp.blogspot.com/ Warner