From owner-freebsd-current@FreeBSD.ORG Thu Dec 24 23:56:48 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85A8D1065676; Thu, 24 Dec 2009 23:56:48 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 397958FC23; Thu, 24 Dec 2009 23:56:48 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NNxXv-0006nG-Ss; Thu, 24 Dec 2009 23:56:47 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NNxXu-0000rh-Rm; Thu, 24 Dec 2009 23:56:43 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBONugkm001889; Thu, 24 Dec 2009 23:56:42 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBONugS5001888; Thu, 24 Dec 2009 23:56:42 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 24 Dec 2009 23:56:42 +0000 From: Anton Shterenlikht To: Anton Shterenlikht Message-ID: <20091224235642.GA1867@mech-cluster241.men.bris.ac.uk> References: <20091224174732.GA1868@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091224174732.GA1868@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.1 X-Spam-Level: ----- Cc: freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: buildkernel failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 23:56:48 -0000 On Thu, Dec 24, 2009 at 05:47:32PM +0000, Anton Shterenlikht wrote: > today's src: > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-pr > ototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wn > o-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/ > contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-c > ommon -finline-limit=15000 --param inline-unit-growth=100 --param large-function > -growth=1000 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Wer > ror vers.c > linking kernel.debug > scvidctl.o(.text+0x68): In function `sc_render_match': > /usr/src/sys/dev/syscons/scvidctl.c:880: undefined reference to `__start_set_scr > ndr_set' > scvidctl.o(.text+0x6c):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere > nce to `__start_set_scrndr_set' > scvidctl.o(.text+0x74):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere > nce to `__start_set_scrndr_set' > scvidctl.o(.text+0x7c):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere > nce to `__start_set_scrndr_set' > scvidctl.o(.text+0x80):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere > nce to `__stop_set_scrndr_set' > scvidctl.o(.text+0x84):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere > nce to `__stop_set_scrndr_set' > scvidctl.o(.text+0x8c):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere > nce to `__stop_set_scrndr_set' > scvidctl.o(.text+0x94):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere > nce to `__stop_set_scrndr_set' > scvidctl.o(.text+0xa0):/usr/src/sys/dev/syscons/scvidctl.c:880: undefined refere > nce to `__start_set_scrndr_set' > scvidctl.o(.text+0xfc):/usr/src/sys/dev/syscons/scvidctl.c:871: undefined refere > nce to `__start_set_scrndr_set' > scvidctl.o(.text+0x104):/usr/src/sys/dev/syscons/scvidctl.c:871: undefined refer > ence to `__start_set_scrndr_set' > scvidctl.o(.text+0x10c):/usr/src/sys/dev/syscons/scvidctl.c:871: undefined refer > ence to `__start_set_scrndr_set' > scvidctl.o(.tex > > > fb.o(.text+0x144): In function `vid_configure': > /usr/src/sys/dev/fb/fb.c:288: undefined reference to `__start_set_videodriver_se > t' > fb.o(.text+0x148):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__start_ > set_videodriver_set' > fb.o(.text+0x150):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__start_ > set_videodriver_set' > fb.o(.text+0x158):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__start_ > set_videodriver_set' > fb.o(.text+0x15c):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x160):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x168):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x170):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x180):/usr/src/sys/dev/fb/fb.c:288: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x184):/usr/src/sys/dev/fb/fb.c:288: more undefined references to `__ > stop_set_videodriver_set' follow > > > fb.o(.text+0x644): In function `vid_get_switch': > /usr/src/sys/dev/fb/fb.c:199: undefined reference to `__start_set_videodriver_se > t' > fb.o(.text+0x648):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__start_ > set_videodriver_set' > fb.o(.text+0x650):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__start_ > set_videodriver_set' > fb.o(.text+0x658):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__start_ > set_videodriver_set' > fb.o(.text+0x65c):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x660):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x668):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x670):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x684):/usr/src/sys/dev/fb/fb.c:199: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x688):/usr/src/sys/dev/fb/fb.c:199: more undefined references to `__ > stop_set_videodriver_set' follow > > > fb.o(.text+0x8ec): In function `vid_register': > /usr/src/sys/dev/fb/fb.c:167: undefined reference to `__start_set_videodriver_se > t' > fb.o(.text+0x8f0):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__start_ > set_videodriver_set' > fb.o(.text+0x8f8):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__start_ > set_videodriver_set' > fb.o(.text+0x900):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__start_ > set_videodriver_set' > fb.o(.text+0x904):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x908):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x910):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x918):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x92c):/usr/src/sys/dev/fb/fb.c:167: undefined reference to `__stop_s > et_videodriver_set' > fb.o(.text+0x930):/usr/src/sys/dev/fb/fb.c:167: more undefined references to `__ > stop_set_videodriver_set' follow > *** Error code 1 > 1 error I've built the kernel by removing 'device sc', now I get installworld failure: -------------------------------------------------------------- >>> Installing everything -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install ===> share/info (install) ===> lib (install) ===> lib/csu/sparc64 (install) install -o root -g wheel -m 444 crt1.o crti.o crtn.o Scrt1.o gcrt1.o /usr/lib install: No such file or directory *** Error code 1 Stop in /usr/src/lib/csu/sparc64. *** Error code 1 -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423