[Bug 257549] ld: error: undefined symbol: xen_clock_init

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 02 Aug 2021 02:24:48 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257549

            Bug ID: 257549
           Summary: ld: error: undefined symbol: xen_clock_init
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs_at_FreeBSD.org
          Reporter: andy_at_neu.net

FreeBSD  14.0-CURRENT FreeBSD 14.0-CURRENT #1 main-n247142-441e69e419e: Thu Jun
 3 05:18:45 EDT 2021     root_at_:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL  amd64
1400018

cc -target x86_64-unknown-freebsd14.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe  -fno-strict-aliasing 
-g -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common    -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer 
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare
-Wno-error=empty-body -Wno-error=parentheses-equality
-Wno-error=unused-function -Wno-error=pointer-sign
-Wno-error=shift-negative-value -Wno-address-of-packed-member
-Wno-format-zero-length   -mno-aes -mno-avx  -std=iso9899:1999 -Werror vers.c
ctfconvert -L VERSION -g vers.o
--- kernel.full ---
linking kernel.full
ld: error: undefined symbol: xen_clock_init
>>> referenced by pv.c
>>>               pv.o:(xen_pvh_init_ops)

ld: error: undefined symbol: xen_delay
>>> referenced by pv.c
>>>               pv.o:(xen_pvh_init_ops)
*** [kernel.full] Error code 1

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/MYKERNEL
1 error

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/MYKERNEL
     1452.14 real      2663.46 user       185.09 sys

make[1]: stopped in /usr/src

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Aug 02 2021 - 02:24:48 UTC

Original text of this message