Date: Mon, 16 Feb 2004 15:33:12 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: heath@cng.fr, ru@FreeBSD.org Cc: freebsd-current@FreeBSD.org Subject: Re: buildworld fails at boot2 Message-ID: <p0602041bbc56d829cedc@[128.113.24.47]> In-Reply-To: <1076944120.4030dcf8ac6dc@webmail.cng.fr> References: <20040216063529.GA34675@chihiro.leafy.idv.tw> <1076919826.85778.7.camel@ares.internetservice.cz> <20040216160106.N761@pukruppa.net> <1076944120.4030dcf8ac6dc@webmail.cng.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
At 4:08 PM +0100 2/16/04, heath@cng.fr wrote: >[This problem] 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). > > > > - - - - - - - - Logfile of problem buildworld - - - - > > > ===> sys/boot/i386/boot2 > > > ...skipping along... > > > 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 > > > - - - - - - - - - - - - - - - - - - - - - - - - - - - I'm glad to see someone else reporting this. I ran into the same errors while testing my 'make realclean' target, and I couldn't imagine why it would be effecting me but nobody else. Perhaps the build works fine if there are files left over from a previous buildworld. Ruslan, has anyone mentioned this to you yet? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0602041bbc56d829cedc>