From owner-svn-src-all@FreeBSD.ORG Mon Aug 23 11:29:54 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2325210656A3; Mon, 23 Aug 2010 11:29:54 +0000 (UTC) (envelope-from rpaulo@lavabit.com) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id D30658FC13; Mon, 23 Aug 2010 11:29:53 +0000 (UTC) Received: from d.earth.lavabit.com (d.earth.lavabit.com [192.168.111.13]) by karen.lavabit.com (Postfix) with ESMTP id DA88311B9C6; Mon, 23 Aug 2010 05:59:03 -0500 (CDT) Received: from 10.0.10.3 (54.81.54.77.rev.vodafone.pt [77.54.81.54]) by lavabit.com with ESMTP id RV3N791D9MWF; Mon, 23 Aug 2010 05:59:03 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=lXOnsuHItkw5l8cy0m1ALTkPOMjntmuUu7R1TFK7weO2agKMdERS1H1mFye06NRCan7UPtap6OCe6BGFiLvlg35FqWllAOAa8TQVCL9RGx3Nw52UCWWsh8QadPi7Yot8GxUByUMiJ7N5LFy6cj5/1a+dQ3GiFFwl0sfyoPOFJ2U=; h=Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: Date: Mon, 23 Aug 2010 11:59:00 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <875BFE25-D7A2-4FB5-B1E2-9E90CEB5086C@lavabit.com> References: <201008230622.o7N6MZnT029820@svn.freebsd.org> To: pluknet X-Mailer: Apple Mail (2.1081) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Warner Losh Subject: Re: svn commit: r211695 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2010 11:29:54 -0000 On 23 Aug 2010, at 07:32, pluknet wrote: > On 23 August 2010 10:22, Warner Losh wrote: >> Author: imp >> Date: Mon Aug 23 06:22:35 2010 >> New Revision: 211695 >> URL: http://svn.freebsd.org/changeset/base/211695 >>=20 >> Log: >> This should really be MACHINE not MACHINE_ARCH, and is this Makefile = even used? >>=20 >=20 > Hi. >=20 > I wrote this letter almost 2.5y ago with no response. > Hope this helps. >=20 > %%% > I looked at sys/kern/ Makefile Make.tags.inc. AFAICS they were = partially > abandoned years ago and has broken tags support and even contain = 4.4BSD-Lite > paths, that never ever being in FreeBSD CVS or was dropped years ago. = So make > links exits with error. It looks very odd: >=20 > pl$ make links > rm -f /var/db/sys_tags > ln -s /sys/i386/tags /var/db/sys_tags > for i in conf dev dev/scsi fs fs/deadfs fs/fdescfs fs/fifofs > fs/lofs fs/nullfs fs/portalfs fs/procfs fs/specfs fs/unionfs hp > hp/dev hp/hpux kern libkern net netinet nfs scripts sys ufs ufs/ffs > ufs/lfs ufs/ufs vm; do (cd ../$i && { rm -f tags; ln -s > /var/db/sys_tags tags; }) done > cd: can't cd to ../dev/scsi > cd: can't cd to ../fs/lofs > cd: can't cd to ../fs/specfs > cd: can't cd to ../hp > cd: can't cd to ../hp/dev > cd: can't cd to ../hp/hpux > cd: can't cd to ../scripts > cd: can't cd to ../ufs/lfs > for i in i386; do (cd ../$i && make SYSTAGS=3D/var/db/sys_tags = links); done > for i in /sys/conf /sys/kern /sys/net /sys/netatalk /sys/netatm > /sys/netinet /sys/netinet6 /sys/netipsec /sys/netipx /sys/netnatm > /sys/nfs /sys/pci /sys/vm /sys/sys; do (cd $i && { rm -f tags; ln > -s ../i386/tags tags; }) done > for i in /sys/dev/advansys /sys/dev/aha /sys/dev/aic7xxx > /sys/dev/buslogic /sys/dev/ccd /sys/dev/dec /sys/dev/dpt > /sys/dev/en /sys/dev/hea /sys/dev/hfa /sys/dev/iicbus /sys/dev/isp > /sys/dev/pdq /sys/dev/ppbus /sys/dev/smbus /sys/dev/vn > /sys/dev/vx /sys/fs/deadfs /sys/fs/devfs /sys/fs/fdescfs > /sys/fs/fifofs /sys/fs/msdosfs /sys/fs/nullfs /sys/fs/portalfs > /sys/fs/procfs /sys > /fs/specfs /sys/fs/unionfs /sys/fs/cd9660 /sys/ufs/ffs > /sys/ufs/ufs; do (cd $i && { rm -f tags; ln -s ../../i386/tags tags; > }) done > cd: can't cd to /sys/dev/ccd > cd: can't cd to /sys/dev/dec > cd: can't cd to /sys/dev/hea > cd: can't cd to /sys/dev/vn > cd: can't cd to /sys/fs/specfs > for i in apm i386 ibcs2 include isa linux; do (cd $i && { rm -f tags; > ln -s ../tags tags; }) done > cd: can't cd to apm >=20 > I moved that two files from src and could complete build kernel > without errors, so it > seems they are not referenced by any kernel building tools. >=20 > Yes, there is tags target in src/Makefile, I didn't looked too much > how it interacts with Makefile Make.tags.inc, but by their erroneous > paths I doubt there is any interaction. >=20 > I found this in NetBSD's kern/Makefile: > +# XXX > +# [Note by Perry Metzger, Sept. 1998] > +# As it stands, the tags support below is hopelessly > +# broken. Just look at the names of the architectures it is dealing > +# with and where it expects to find the support for them to see why. > +# I've left the stuff in this Makefile alone in the hope that someone > +# will fix it someday -- I am assuming that it might help that > +# person if they have the old Makefile goo left in place as a = starting > +# point. > +# XXX >=20 > ps. BTW I tried to make tags from src/ (with clean obj, if that > matters) and the target > began to build my gcc (cc/cc_tools) after going through various world = paths. > Is that intended? > %%% Oh, this is great thing to axe then... Regards, -- Rui Paulo