From owner-freebsd-stable@FreeBSD.ORG Fri Mar 28 02:19:25 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B6CB106566B for ; Fri, 28 Mar 2008 02:19:25 +0000 (UTC) (envelope-from ranceh@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 476918FC16 for ; Fri, 28 Mar 2008 02:19:24 +0000 (UTC) (envelope-from ranceh@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so33839wfa.7 for ; Thu, 27 Mar 2008 19:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=njeNhVD9OHhKwBYmKyH9Q8VSjEE5/IQf9TYlRktdpT0=; b=B8YsR4EunShyjJ3hFkgzhpBxpxViHDQemnvav0zyKzV4OX5ymlE+CO6N6qNaQxLl3pyaFC32vybfXgVFGLzvCn7EpZT3otckUH0v8ny08zndx+lWlyKwP2IAwOoEI1VkTiwB0+CecG9T21TaYd/Rk6Co/3aQKN3U9cY06KZNN0o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Wqm/Is3BPDIduD0uzJ9a1DhF/n8LW9Xi6J2PpOuSKLgWFe1EsPeTKdovY9dt+0QpkeaSXm2fCaBHdRdzgLt0uadObuPDaT2bMNCLPitaaA4HeQ0PJAXo/1AR9QTPN7dyvpCOcc3K/jzF2eR8rNGMHuuCNGiJO9s99EvLxmocisk= Received: by 10.142.242.8 with SMTP id p8mr1894452wfh.212.1206670764563; Thu, 27 Mar 2008 19:19:24 -0700 (PDT) Received: by 10.142.242.18 with HTTP; Thu, 27 Mar 2008 19:19:24 -0700 (PDT) Message-ID: <845c0f80803271919i18172cbdk4855c47067fcb312@mail.gmail.com> Date: Thu, 27 Mar 2008 21:19:24 -0500 From: "Rance Hall" To: freebsd-stable@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <845c0f80803261123j6e18e611r7b481fabb2f11ecf@mail.gmail.com> <845c0f80803261848h7dd72076n40ff9cc1ffd5cb4c@mail.gmail.com> <845c0f80803270359m63b2ae7dw48fa7b967ef23f2e@mail.gmail.com> <845c0f80803271452v1e08b9e0u35d16ca9d3b270c4@mail.gmail.com> Subject: Re: compile error while building kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 02:19:25 -0000 On Thu, Mar 27, 2008 at 8:16 PM, walt wrote: > > Hm. Well, I just compiled GENERIC using the 'old' method. Your missing > symbols are defined in assym.s, which is generated during the compile by > genassym.sh right at the beginning: > > root@k9/usr/src/sys/i386/compile/GENERIC #make > cc -c -O -pipe -march=athlon-xp -std=c99 -g -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. > -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 > -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding > ../../../i386/i386/genassym.c > NM='nm' sh ../../../kern/genassym.sh genassym.o > assym.s > > Do you see something different at your end? > I never noticed before but since you have mentioned that the values are supposed to be set in assym.s in the step right before my failure I went back and looked and I get this: [/usr/src/sys/i386/compile/GENERIC] root@rance-freebsd# make cc -c -o -pipe -march=athlon-mp -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding ../../../i386/i386/genassym.c NM='nm' sh ../../../kern/genassym.sh genassym.o > assym.s nm: 'genassym.o': No such file which must be the problem. If there is no genassym.o file then assym.s doesnt get created. Then when assym.s doesnt get created the rest of the build will fail miserably ok, so I know what the problem is. Wonder what to do about it?