From owner-freebsd-stable Sat Jan 27 11: 2:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from tao.ca (tao.ca [198.96.117.188]) by hub.freebsd.org (Postfix) with ESMTP id BEB1137B400 for ; Sat, 27 Jan 2001 11:02:06 -0800 (PST) Received: (from anarcat@localhost) by tao.ca (Collective/TAO6) id f0RJ23x26543; Sat, 27 Jan 2001 14:02:03 -0500 Date: Sat, 27 Jan 2001 14:02:03 -0500 From: anarcat To: Kent Stewart Cc: anarcat , freebsd-stable@freebsd.org Subject: Re: Can't build kernel under stable-2000.12.31 Message-ID: <20010127140203.A26460@dojo.tao.ca> References: <20010126201248.A1832@dojo.tao.ca> <3A723980.DEDEE04E@urx.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A723980.DEDEE04E@urx.com>; from kstewart@urx.com on Fri, Jan 26, 2001 at 06:59:12PM -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ok. I do not understand very clearly why, but: # rm -rf /sys/compile/SHALL and then using the traditional "config" method (config && cd ... && make=20 depend && make && make install) works.=20 Why can't buildkernel do this by itself? thanks. A. On Fri, Jan 26, 2001 at 06:59:12PM -0800, Big Brother made Kent Stewart wri= te: >=20 >=20 > anarcat wrote: > >=20 > > Hi! > >=20 > > (please CC: me, I'm not on the list) > >=20 > > Building a custom kernel under freebsd-stable (cvsup'd and made world on > > 2000-12-31) fails with the following, any idea why? >=20 > This error usually occurs beause you didn't do a buildworld to > populate /usr/obj first. Read /usr/src/UPDATING because the sequence > isn't an option. If you already have a current userland, then the > choice can include the config method. They way it looks, you mixed > your world's and that doesn't work. >=20 > Kent >=20 > >=20 > > shall# make KERNEL=3DSHALL buildkernel installkernel > > ... > > =3D=3D=3D> wi > > @ -> /usr/src/sys > > machine -> /usr/src/sys/i386/include > > perl @/kern/makedevops.pl -h @/kern/device_if.m > > perl @/kern/makedevops.pl -h @/kern/bus_if.m > > rm -f .depend > > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ > > -I@/../include -I/usr/obj/usr/src/i386/usr/include > > /usr/src/sys/modules/wi/../../i386/isa/if_wi.c > > cd /usr/obj/usr/src/sys/SHALL; MAKEOBJDIRPREFIX=3D/usr/obj > > COMPILER_PATH=3D/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386= /usr/bin > > LIBRARY_PATH=3D/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/= lib > > OBJFORMAT_PATH=3D/usr/obj/usr/src/i386/usr/libexec > > PERL5LIB=3D/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 > > DESTDIR=3D/usr/obj/usr/src/i386 INSTALL=3D"sh /usr/src/tools/install.s= h" > > PATH=3D/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/us= r/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > MACHINE=3Di386 make KERNEL=3Dkernel all > > cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar= ith > > -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. > > -I/usr/src/sys -I/usr/src/sys/../include -D_KERNEL -include opt_global= .h > > -elf -mpreferred-stack-boundary=3D2 /usr/src/sys/i386/i386/locore.s > > /tmp/ccO18745.s: Assembler messages: > > /tmp/ccO18745.s:1744: Error: .space specifies non-absolute value > > /tmp/ccO18745.s:2455: Error: undefined symbol L0 in operation setting > > PTmap > > /tmp/ccO18745.s:2455: Error: undefined symbol PDRSHIFT in operation > > setting PTmap > > /tmp/ccO18745.s:1712: Error: undefined symbol L0 in operation > > /tmp/ccO18745.s:1712: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:1713: Error: undefined symbol L0 in operation > > /tmp/ccO18745.s:1713: Error: undefined symbol PDESIZE in operation > > /tmp/ccO18745.s:2455: Error: undefined symbol L0 in operation setting > > APTmap > > /tmp/ccO18745.s:2455: Error: undefined symbol PDRSHIFT in operation > > setting APTmap > > /tmp/ccO18745.s:1721: Error: undefined symbol L0 in operation > > /tmp/ccO18745.s:1721: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:1722: Error: undefined symbol L0 in operation > > /tmp/ccO18745.s:1722: Error: undefined symbol PDESIZE in operation > > /tmp/ccO18745.s:1928: Error: undefined symbol UPAGES in operation > > /tmp/ccO18745.s:1928: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:2316: Error: undefined symbol BI_ESYMTAB in operation > > /tmp/ccO18745.s:2321: Error: undefined symbol BI_SYMTAB in operation > > /tmp/ccO18745.s:2322: Error: undefined symbol BI_ESYMTAB in operation > > /tmp/ccO18745.s:2326: Error: undefined symbol BI_KERNEND in operation > > /tmp/ccO18745.s:2338: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:2338: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:2342: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:2342: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:2346: Error: undefined symbol UPAGES in operation > > /tmp/ccO18745.s:2346: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:2346: Error: undefined symbol UPAGES in operation > > /tmp/ccO18745.s:2346: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:2351: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:2351: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:2354: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:2354: Error: undefined symbol PAGE_SIZE in operation > > /tmp/ccO18745.s:2411: Error: undefined symbol PAGE_SHIFT in operation > > /tmp/ccO18745.s:2427: Error: undefined symbol PAGE_SHIFT in operation > > /tmp/ccO18745.s:2428: Error: undefined symbol PAGE_SHIFT in operation > > /tmp/ccO18745.s:1854: Error: Subtraction of two symbols in different > > sections ".tmpstk" {.data section} - "KERNBASE" {*UND* section} at file > > address 28. > > /tmp/ccO18745.s:1877: Error: Subtraction of two symbols in different > > sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file > > address 38. > > /tmp/ccO18745.s:1878: Error: Subtraction of two symbols in different > > sections "edata" {*UND* section} - "KERNBASE" {*UND* section} at file > > address 43. > > /tmp/ccO18745.s:1890: Error: Subtraction of two symbols in different > > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at > > file address 61. > > /tmp/ccO18745.s:1906: Error: Subtraction of two symbols in different > > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file > > address 81. > > /tmp/ccO18745.s:2115: Error: Subtraction of two symbols in different > > sections "kernelname" {*UND* section} - "KERNBASE" {*UND* section} at f= ile > > address 371. > > /tmp/ccO18745.s:2143: Error: Subtraction of two symbols in different > > sections "bootinfo" {.data section} - "KERNBASE" {*UND* section} at file > > address 411. > > /tmp/ccO18745.s:2163: Error: Subtraction of two symbols in different > > sections "boothowto" {*UND* section} - "KERNBASE" {*UND* section} at fi= le > > address 435. > > /tmp/ccO18745.s:2165: Error: Subtraction of two symbols in different > > sections "bootdev" {*UND* section} - "KERNBASE" {*UND* section} at file > > address 443. > > /tmp/ccO18745.s:2203: Error: Subtraction of two symbols in different > > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file > > address 495. > > /tmp/ccO18745.s:2208: Error: Subtraction of two symbols in different > > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file > > address 511. > > /tmp/ccO18745.s:2209: Error: Subtraction of two symbols in different > > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 521. > > /tmp/ccO18745.s:2210: Error: Subtraction of two symbols in different > > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 531. > > /tmp/ccO18745.s:2211: Error: Subtraction of two symbols in different > > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 541. > > /tmp/ccO18745.s:2212: Error: Subtraction of two symbols in different > > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 551. > > /tmp/ccO18745.s:2231: Error: Subtraction of two symbols in different > > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file > > address 592. > > /tmp/ccO18745.s:2258: Error: Subtraction of two symbols in different > > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 627. > > /tmp/ccO18745.s:2259: Error: Subtraction of two symbols in different > > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 637. > > /tmp/ccO18745.s:2260: Error: Subtraction of two symbols in different > > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 647. > > /tmp/ccO18745.s:2266: Error: Subtraction of two symbols in different > > sections "cpu_high" {.data section} - "KERNBASE" {*UND* section} at file > > address 662. > > /tmp/ccO18745.s:2267: Error: Subtraction of two symbols in different > > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 668. > > /tmp/ccO18745.s:2268: Error: Subtraction of two symbols in different > > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 674. > > /tmp/ccO18745.s:2269: Error: Subtraction of two symbols in different > > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 680. > > /tmp/ccO18745.s:2270: Error: Subtraction of two symbols in different > > sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 686. > > /tmp/ccO18745.s:2274: Error: Subtraction of two symbols in different > > sections "cpu_id" {.data section} - "KERNBASE" {*UND* section} at file > > address 699. > > /tmp/ccO18745.s:2275: Error: Subtraction of two symbols in different > > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at > > file address 705. > > /tmp/ccO18745.s:2282: Error: Subtraction of two symbols in different > > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file > > address 722. > > /tmp/ccO18745.s:2288: Error: Subtraction of two symbols in different > > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file > > address 739. > > /tmp/ccO18745.s:2292: Error: Subtraction of two symbols in different > > sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file > > address 751. > > /tmp/ccO18745.s:2305: Error: Subtraction of two symbols in different > > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at > > file address 762. > > /tmp/ccO18745.s:2313: Error: Subtraction of two symbols in different > > sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file > > address 784. > > /tmp/ccO18745.s:2316: Error: Negative of non-absolute symbol KERNBASE > > /tmp/ccO18745.s:2321: Error: Negative of non-absolute symbol KERNBASE > > /tmp/ccO18745.s:2322: Error: Negative of non-absolute symbol KERNBASE > > /tmp/ccO18745.s:2326: Error: Negative of non-absolute symbol KERNBASE > > /tmp/ccO18745.s:2334: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 843. > > /tmp/ccO18745.s:2335: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 849. > > /tmp/ccO18745.s:2338: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 855. > > /tmp/ccO18745.s:2338: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 867. > > /tmp/ccO18745.s:2339: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 885. > > /tmp/ccO18745.s:2342: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 891. > > /tmp/ccO18745.s:2342: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 903. > > /tmp/ccO18745.s:2343: Error: Subtraction of two symbols in different > > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file > > address 921. > > /tmp/ccO18745.s:2346: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 927. > > /tmp/ccO18745.s:2346: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 939. > > /tmp/ccO18745.s:2347: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 957. > > /tmp/ccO18745.s:2349: Error: Subtraction of two symbols in different > > sections "proc0paddr" {.data section} - "KERNBASE" {*UND* section} at f= ile > > address 969. > > /tmp/ccO18745.s:2351: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 975. > > /tmp/ccO18745.s:2351: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 987. > > /tmp/ccO18745.s:2352: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1005. > > /tmp/ccO18745.s:2354: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1011. > > /tmp/ccO18745.s:2354: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1023. > > /tmp/ccO18745.s:2355: Error: Subtraction of two symbols in different > > sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file > > address 1041. > > /tmp/ccO18745.s:2357: Error: Subtraction of two symbols in different > > sections "vm86paddr" {.data section} - "KERNBASE" {*UND* section} at fi= le > > address 1053. > > /tmp/ccO18745.s:2372: Error: Subtraction of two symbols in different > > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at > > file address 1063. > > /tmp/ccO18745.s:2377: Error: Subtraction of two symbols in different > > sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file > > address 1080. > > /tmp/ccO18745.s:2380: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1103. > > /tmp/ccO18745.s:2383: Error: Subtraction of two symbols in different > > sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file > > address 1125. > > /tmp/ccO18745.s:2389: Error: Subtraction of two symbols in different > > sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at > > file address 1146. > > /tmp/ccO18745.s:2394: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1164. > > /tmp/ccO18745.s:2397: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1183. > > /tmp/ccO18745.s:2400: Error: Subtraction of two symbols in different > > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file > > address 1205. > > /tmp/ccO18745.s:2402: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1224. > > /tmp/ccO18745.s:2405: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1247. > > /tmp/ccO18745.s:2407: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1266. > > /tmp/ccO18745.s:2412: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1308. > > /tmp/ccO18745.s:2415: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1331. > > /tmp/ccO18745.s:2417: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1350. > > /tmp/ccO18745.s:2423: Error: Subtraction of two symbols in different > > sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file > > address 1392. > > /tmp/ccO18745.s:2429: Error: Subtraction of two symbols in different > > sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file > > address 1434. > > /tmp/ccO18745.s:2435: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1457. > > /tmp/ccO18745.s:2438: Error: Subtraction of two symbols in different > > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file > > address 1473. > > /tmp/ccO18745.s:2441: Error: Subtraction of two symbols in different > > sections ".data" {.data section} - "KERNBASE" {*UND* section} at file > > address 1496. > > /tmp/ccO18745.s:2444: Error: Subtraction of two symbols in different > > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file > > address 1515. > > /tmp/ccO18745.s:2447: Error: Subtraction of two symbols in different > > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file > > address 1538. > > /tmp/ccO18745.s:2450: Error: Subtraction of two symbols in different > > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file > > address 1557. > > *** Error code 1 > >=20 > > Stop in /u/obj/usr/src/sys/SHALL. > > *** Error code 1 > >=20 > > Stop in /usr/src. > > *** Error code 1 > >=20 > > Stop in /usr/src. > > shall# > >=20 > > ---------------------------------------------------------------------- > > Name: SHALL > > SHALL Type: Plain Text (text/plain) > > Encoding: quoted-printable > >=20 > > Part 1.2Type: application/pgp-signature >=20 > --=20 > Kent Stewart > Richland, WA >=20 > mailto:kstewart@3-cities.com > http://kstewart.urx.com/kstewart/index.html --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.0 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjpzGyoACgkQ7uV99pHLOSIZbQCfbZZtOk4NgJjpr7Px8Sgij9Mo 6pMAn0TmswaHNMhbnRrS3kplye7l0vYV =pssw -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message