Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2000 10:41:59 +0000
From:      jpk28@cam.ac.uk
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/22734: Kernel Compile problem
Message-ID:  <E13uBd9-000Azh-00@spoogle.uglymug.org.uk>

next in thread | raw e-mail | index | archive | help

>Number:         22734
>Category:       kern
>Synopsis:       make buildkernel failed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 10 02:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Julian King
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
Cambridge University
>Environment:
On a recently brought up to date 4.1.1-STABLE system, brought up to
date with cvsup to 4.2-BETA.

>Description:
Having embarrassed myself last time by missing the instructions in
UPDATES that I should be using make buildkernel rather than using config
directly, I updated the machine - now however it is failing again
despite me doing the make buildkernel, and sticking with GENERIC for
the purposes of the trial.  The relevant section of the build appears 
to be (sorry about the length)

-------------- START -------------
@ -> /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/GENERIC;  MAKEOBJDIRPREFIX=/usr/obj  COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin  LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib  OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec  PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503  DESTDIR=/usr/obj/usr/src/i386  INSTALL="sh /usr/src/tools/install.sh"  PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin MACHINE=i386 make KERNEL=kernel all
cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2 /usr/src/sys/i386/i386/locore.s
/tmp/ccD42139.s: Assembler messages:
/tmp/ccD42139.s:1748: Error: .space specifies non-absolute value
/tmp/ccD42139.s:2474: Error: undefined symbol L0 in operation setting PTmap
/tmp/ccD42139.s:2474: Error: undefined symbol PDRSHIFT in operation setting PTmap
/tmp/ccD42139.s:1716: Error: undefined symbol L0 in operation
/tmp/ccD42139.s:1716: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:1717: Error: undefined symbol L0 in operation
/tmp/ccD42139.s:1717: Error: undefined symbol PDESIZE in operation
/tmp/ccD42139.s:2474: Error: undefined symbol L0 in operation setting APTmap
/tmp/ccD42139.s:2474: Error: undefined symbol PDRSHIFT in operation setting APTmap
/tmp/ccD42139.s:1725: Error: undefined symbol L0 in operation
/tmp/ccD42139.s:1725: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:1726: Error: undefined symbol L0 in operation
/tmp/ccD42139.s:1726: Error: undefined symbol PDESIZE in operation
/tmp/ccD42139.s:1932: Error: undefined symbol UPAGES in operation
/tmp/ccD42139.s:1932: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:2335: Error: undefined symbol BI_ESYMTAB in operation
/tmp/ccD42139.s:2340: Error: undefined symbol BI_SYMTAB in operation
/tmp/ccD42139.s:2341: Error: undefined symbol BI_ESYMTAB in operation
/tmp/ccD42139.s:2345: Error: undefined symbol BI_KERNEND in operation
/tmp/ccD42139.s:2357: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:2357: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:2361: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:2361: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:2365: Error: undefined symbol UPAGES in operation
/tmp/ccD42139.s:2365: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:2365: Error: undefined symbol UPAGES in operation
/tmp/ccD42139.s:2365: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:2370: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:2370: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:2373: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:2373: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccD42139.s:2430: Error: undefined symbol PAGE_SHIFT in operation
/tmp/ccD42139.s:2446: Error: undefined symbol PAGE_SHIFT in operation
/tmp/ccD42139.s:2447: Error: undefined symbol PAGE_SHIFT in operation
/tmp/ccD42139.s:1858: Error: Subtraction of two symbols in different sections ".tmpstk" {.data section} - "KERNBASE" {*UND* section} at file address 28.
/tmp/ccD42139.s:1881: Error: Subtraction of two symbols in different sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file address 38.
/tmp/ccD42139.s:1882: Error: Subtraction of two symbols in different sections "edata" {*UND* section} - "KERNBASE" {*UND* section} at file address 43.
/tmp/ccD42139.s:1894: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 61.
/tmp/ccD42139.s:1910: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 81.
/tmp/ccD42139.s:2119: Error: Subtraction of two symbols in different sections "kernelname" {*UND* section} - "KERNBASE" {*UND* section} at file address 375.
/tmp/ccD42139.s:2147: Error: Subtraction of two symbols in different sections "bootinfo" {.data section} - "KERNBASE" {*UND* section} at file address 415.
/tmp/ccD42139.s:2164: Error: Subtraction of two symbols in different sections "nfs_diskless" {*UND* section} - "KERNBASE" {*UND* section} at file address 447.
/tmp/ccD42139.s:2169: Error: Subtraction of two symbols in different sections "nfs_diskless_valid" {*UND* section} - "KERNBASE" {*UND* section} at file address 460.
/tmp/ccD42139.s:2182: Error: Subtraction of two symbols in different sections "boothowto" {*UND* section} - "KERNBASE" {*UND* section} at file address 474.
/tmp/ccD42139.s:2184: Error: Subtraction of two symbols in different sections "bootdev" {*UND* section} - "KERNBASE" {*UND* section} at file address 482.
/tmp/ccD42139.s:2222: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 534.
/tmp/ccD42139.s:2227: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 550.
/tmp/ccD42139.s:2228: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 560.
/tmp/ccD42139.s:2229: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 570.
/tmp/ccD42139.s:2230: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 580.
/tmp/ccD42139.s:2231: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 590.
/tmp/ccD42139.s:2250: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 631.
/tmp/ccD42139.s:2277: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 666.
/tmp/ccD42139.s:2278: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 676.
/tmp/ccD42139.s:2279: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 686.
/tmp/ccD42139.s:2285: Error: Subtraction of two symbols in different sections "cpu_high" {.data section} - "KERNBASE" {*UND* section} at file address 701.
/tmp/ccD42139.s:2286: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 707.
/tmp/ccD42139.s:2287: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 713.
/tmp/ccD42139.s:2288: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 719.
/tmp/ccD42139.s:2289: Error: Subtraction of two symbols in different sections "cpu_vendor" {.data section} - "KERNBASE" {*UND* section} at file address 725.
/tmp/ccD42139.s:2293: Error: Subtraction of two symbols in different sections "cpu_id" {.data section} - "KERNBASE" {*UND* section} at file address 738.
/tmp/ccD42139.s:2294: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 744.
/tmp/ccD42139.s:2301: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 761.
/tmp/ccD42139.s:2307: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 778.
/tmp/ccD42139.s:2311: Error: Subtraction of two symbols in different sections "cpu" {.data section} - "KERNBASE" {*UND* section} at file address 790.
/tmp/ccD42139.s:2324: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 801.
/tmp/ccD42139.s:2332: Error: Subtraction of two symbols in different sections "end" {*UND* section} - "KERNBASE" {*UND* section} at file address 823.
/tmp/ccD42139.s:2335: Error: Negative of non-absolute symbol KERNBASE
/tmp/ccD42139.s:2340: Error: Negative of non-absolute symbol KERNBASE
/tmp/ccD42139.s:2341: Error: Negative of non-absolute symbol KERNBASE
/tmp/ccD42139.s:2345: Error: Negative of non-absolute symbol KERNBASE
/tmp/ccD42139.s:2353: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 882.
/tmp/ccD42139.s:2354: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 888.
/tmp/ccD42139.s:2357: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 894.
/tmp/ccD42139.s:2357: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 906.
/tmp/ccD42139.s:2358: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 924.
/tmp/ccD42139.s:2361: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 930.
/tmp/ccD42139.s:2361: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 942.
/tmp/ccD42139.s:2362: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 960.
/tmp/ccD42139.s:2365: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 966.
/tmp/ccD42139.s:2365: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 978.
/tmp/ccD42139.s:2366: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 996.
/tmp/ccD42139.s:2368: Error: Subtraction of two symbols in different sections "proc0paddr" {.data section} - "KERNBASE" {*UND* section} at file address 1008.
/tmp/ccD42139.s:2370: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1014.
/tmp/ccD42139.s:2370: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1026.
/tmp/ccD42139.s:2371: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1044.
/tmp/ccD42139.s:2373: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1050.
/tmp/ccD42139.s:2373: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1062.
/tmp/ccD42139.s:2374: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1080.
/tmp/ccD42139.s:2376: Error: Subtraction of two symbols in different sections "vm86paddr" {.data section} - "KERNBASE" {*UND* section} at file address 1092.
/tmp/ccD42139.s:2391: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 1102.
/tmp/ccD42139.s:2396: Error: Subtraction of two symbols in different sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file address 1119.
/tmp/ccD42139.s:2399: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1142.
/tmp/ccD42139.s:2402: Error: Subtraction of two symbols in different sections "etext" {*UND* section} - "KERNBASE" {*UND* section} at file address 1164.
/tmp/ccD42139.s:2408: Error: Subtraction of two symbols in different sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 1185.
/tmp/ccD42139.s:2413: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1203.
/tmp/ccD42139.s:2416: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1222.
/tmp/ccD42139.s:2419: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1244.
/tmp/ccD42139.s:2421: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1263.
/tmp/ccD42139.s:2424: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1286.
/tmp/ccD42139.s:2426: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1305.
/tmp/ccD42139.s:2431: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1347.
/tmp/ccD42139.s:2434: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1370.
/tmp/ccD42139.s:2436: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1389.
/tmp/ccD42139.s:2442: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1431.
/tmp/ccD42139.s:2448: Error: Subtraction of two symbols in different sections "vm86pa" {.data section} - "KERNBASE" {*UND* section} at file address 1473.
/tmp/ccD42139.s:2454: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1496.
/tmp/ccD42139.s:2457: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1512.
/tmp/ccD42139.s:2460: Error: Subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address 1535.
/tmp/ccD42139.s:2463: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1554.
/tmp/ccD42139.s:2466: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1577.
/tmp/ccD42139.s:2469: Error: Subtraction of two symbols in different sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address 1596.
*** Error code 1

Stop in /usr/home/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
-------------- END -----------------
I admit that I am worried that this must be me - but I have followed
the same procedure as I used previously, although I have shuffled
directory tree locations around.  However I have waited through several
days cvsup's for this to be fixed - and it hasn't.

Please be gentle when it turns out that I am being a spoon again.
:-(

>How-To-Repeat:
cvsup the latest code, and do a make buildkernel

>Fix:
Don't know.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E13uBd9-000Azh-00>