Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Aug 2016 17:46:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212014] Unable to build non-SMP kernel since r303776
Message-ID:  <bug-212014-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212014

            Bug ID: 212014
           Summary: Unable to build non-SMP kernel since r303776
           Product: Base System
           Version: 10.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: glyn@grinstead.org

Since r303776 I'm unable to build a custom kernel with "nooptions SMP"
specified. The kernel conf I'm using consists of:

    include GENERIC
    nooptions SMP

make.conf is empty.

The last excerpt from the compilation is:

cc  -c -O2 -pipe -fno-strict-aliasing  -std=3Dc99 -g -Wall -Wredundant-decls
-Wnested-externs -Wstrict
-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wu=
ndef
-Wno-pointer-sign -f
format-extensions  -Wmissing-include-dirs -fdiagnostics-show-option=20
-Wno-error-tautological-compare
 -Wno-error-empty-body  -Wno-error-parentheses-equality
-Wno-error-unused-function   -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt
-D_KERNEL -DHAVE_KERNEL_OPT
ION_HEADERS -include opt_global.h  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -mno-aes -mn
o-avx -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float=20
-fno-asynchronous-unwind-tables
-ffreestanding -fstack-protector -gdwarf-2 -Werror  /usr/src/sys/x86/xen/hv=
m.c
/usr/src/sys/x86/xen/hvm.c:398:7: error: use of undeclared identifier
'msix_disable_migration'
                    msix_disable_migration =3D=3D -1) {
                    ^
/usr/src/sys/x86/xen/hvm.c:409:4: error: use of undeclared identifier
'msix_disable_migration'
                        msix_disable_migration =3D 1;
                        ^
2 errors generated.
*** Error code 1

Stop.

The build above is from a system running 10.3-STABLE #0 r303775 amd64, but =
it
appears to affect i386 with a similar configuration as well.=20

The same or very similar error appears to be produced when building against
both r303776 and r304519 (the last I've tested against).

I believe all relevant local changes have been rolled back, but unfortunate=
ly
I'm not in a position to test a build on a completely fresh install at pres=
ent.
While I think I have eliminated all likely sources of user meddling, my
apologies in advance if this isn't the case.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212014-8>