From owner-freebsd-current@FreeBSD.ORG Mon Feb 16 07:08:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BCC816A4CE for ; Mon, 16 Feb 2004 07:08:45 -0800 (PST) Received: from gewurtztraminer.cng.fr (gewurtztraminer.cng.fr [193.50.0.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F83E43D2D for ; Mon, 16 Feb 2004 07:08:45 -0800 (PST) (envelope-from heath@cng.fr) Received: from gewurtztraminer.cng.fr (gewurtztraminer.cng.fr [127.0.0.1]) i1GF8hA6028182; Mon, 16 Feb 2004 16:08:43 +0100 Received: (from apache@localhost) by gewurtztraminer.cng.fr (8.12.8/8.12.8/Submit) id i1GF8edN028179; Mon, 16 Feb 2004 16:08:40 +0100 X-Authentication-Warning: gewurtztraminer.cng.fr: apache set sender to heath@cng.fr using -f Received: from atuileries-104-1-7-179.w81-250.abo.wanadoo.fr (atuileries-104-1-7-179.w81-250.abo.wanadoo.fr [81.250.168.179]) by webmail.cng.fr (IMP) with HTTP for ; Mon, 16 Feb 2004 16:08:40 +0100 Message-ID: <1076944120.4030dcf8ac6dc@webmail.cng.fr> Date: Mon, 16 Feb 2004 16:08:40 +0100 From: heath@cng.fr To: Peter Ulrich Kruppa References: <20040216063529.GA34675@chihiro.leafy.idv.tw> <1076919826.85778.7.camel@ares.internetservice.cz> <20040216160106.N761@pukruppa.net> In-Reply-To: <20040216160106.N761@pukruppa.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 81.250.168.179 cc: Tomas Randa cc: freebsd-current@freebsd.org Subject: Re: buildworld fails at boot2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 16 Feb 2004 15:08:45 -0000 It seems to be caused by the recent change to the Makefiles in sys/boot/i386 on 09/02/2004 by ru. There is no explicit target for sio.o in the boot2/Makefile, and the default target fails to pass SIOSPD and friends to the preprocessor. Adding an edited copy of the boot1.o target for sio.o to the Makefile seemed to work for me (at least I ended up with a boot2 binary identical to my existing /boot/boot2 - I haven't rebooted yet as I'm still building the kernel). Simon > On Mon, 16 Feb 2004, Tomas Randa wrote: > > > Hi, I have same problem, my configuration i Duron 700, VIA KT133A, > > Athlon specified in make.conf > Same problem here in Germany! > > Uli. > > > > > ===> sys/boot/i386/boot2 > > objcopy -S -O binary boot1.out boot1 > > dd if=/dev/zero of=boot2.ldr bs=276 count=1 > > 1+0 records in > > 1+0 records out > > 276 bytes transferred in 0.000292 secs (945002 bytes/sec) > > cc -Os -fno-guess-branch-probability -fomit-frame-pointer > > -mno-align-long-strings -mrtd -DUFS1_AND_UFS2 > > -I/usr/src/sys/boot/i386/boot2/../../common > > -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return > > -Wbad-function-cast -Wcast-align -Wmissing-declarations > > -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow > > -Wstrict-prototypes -Wwrite-strings -ffreestanding > > -mpreferred-stack-boundary=2 -S -o boot2.s.tmp > > /usr/src/sys/boot/i386/boot2/boot2.c > > sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s > > rm -f boot2.s.tmp > > as --defsym FLAGS=0x80 --defsym SIOPRT=0x3f8 --defsym SIOFMT=0x3 > > --defsym SIOSPD=9600 -o boot2.o boot2.s > > cc -Os -fno-guess-branch-probability -fomit-frame-pointer > > -mno-align-long-strings -mrtd -DUFS1_AND_UFS2 > > -I/usr/src/sys/boot/i386/boot2/../../common > > -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return > > -Wbad-function-cast -Wcast-align -Wmissing-declarations > > -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow > > -Wstrict-prototypes -Wwrite-strings -ffreestanding > > -mpreferred-stack-boundary=2 -c /usr/src/sys/boot/i386/boot2/sio.S > > /var/tmp//ccfR9bIu.s: Assembler messages: > > /var/tmp//ccfR9bIu.s:84: Error: undefined symbol `SIOSPD' in operation > > setting `SIO_DIV' > > /var/tmp//ccfR9bIu.s:35: Error: undefined symbol `SIO_FMT' in operation > > /var/tmp//ccfR9bIu.s:39: Error: value of 115200 too large for field of 2 > > bytes at 13 > > *** Error code 1 > > > > Stop in /usr/src/sys/boot/i386/boot2. > > *** Error code 1 > > > > Stop in /usr/src/sys/boot/i386. > > *** Error code 1 > > > > Stop in /usr/src/sys/boot. > > *** Error code 1 > > > > Stop in /usr/src/sys. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > > > > > > > > > -- > > Tomas Randa > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > +---------------------------+ > | Peter Ulrich Kruppa | > | Wuppertal | > | Germany | > +---------------------------+ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >