From owner-svn-src-head@FreeBSD.ORG Mon Aug 23 06:32:01 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C13A91065694; Mon, 23 Aug 2010 06:32:01 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 358958FC16; Mon, 23 Aug 2010 06:32:00 +0000 (UTC) Received: by qwg5 with SMTP id 5so5383201qwg.13 for ; Sun, 22 Aug 2010 23:32:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SKPP4JdBMQVw1dwZ/sDPaFuBO1TAcJZxP+qkcib4rNU=; b=Pb9rDloaXUDVnWhJVak8ZQipDDGcG/4u70xQag7Bxard07/81eoYUY6zxzxGheHGtk gR2uWwXTilHlNAreofWwnXE9CESJGJw7AqJa6S67buA7XdSSazlUEoPjpdmrA9fTfzed ve1gF49kBWRXxYnS0lNnqfKHJIZCkwy0wx1g4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Viq7AcoeiSSHcEE++44TWQMjMyJsj09Dzj8uDicNNCU9EBY7o6yQtTAnDsjywZ+ZF4 tU1mc0PTcpHenHXK3rFKS4LPOG4fs3TVD7bCegXcPrKD8eW56/kRl7Dcm056H26xgDtk VUa6+bKAtNFhTf+yhzYzPhDh639eN/VW4RkXs= MIME-Version: 1.0 Received: by 10.229.249.200 with SMTP id ml8mr3248897qcb.115.1282545120346; Sun, 22 Aug 2010 23:32:00 -0700 (PDT) Received: by 10.229.26.81 with HTTP; Sun, 22 Aug 2010 23:32:00 -0700 (PDT) In-Reply-To: <201008230622.o7N6MZnT029820@svn.freebsd.org> References: <201008230622.o7N6MZnT029820@svn.freebsd.org> Date: Mon, 23 Aug 2010 10:32:00 +0400 Message-ID: From: pluknet To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r211695 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2010 06:32:01 -0000 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 > > Log: > =A0This should really be MACHINE not MACHINE_ARCH, and is this Makefile e= ven used? > Hi. I wrote this letter almost 2.5y ago with no response. Hope this helps. %%% 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-Lit= e paths, that never ever being in FreeBSD CVS or was dropped years ago. So ma= ke links exits with error. It looks very odd: 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); do= ne 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 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. 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. 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 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? %%% --=20 wbr, pluknet