[Bug 212014] Unable to build non-SMP kernel since r303776

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 20 17:46:55 UTC 2016


            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 at FreeBSD.org
          Reporter: glyn at 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=c99 -g -Wall -Wredundant-decls
-Wnested-externs -Wstrict
-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -f
format-extensions  -Wmissing-include-dirs -fdiagnostics-show-option 
 -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
ION_HEADERS -include opt_global.h  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -mno-aes -mn
o-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float 
-ffreestanding -fstack-protector -gdwarf-2 -Werror  /usr/src/sys/x86/xen/hvm.c
/usr/src/sys/x86/xen/hvm.c:398:7: error: use of undeclared identifier
                    msix_disable_migration == -1) {
/usr/src/sys/x86/xen/hvm.c:409:4: error: use of undeclared identifier
                        msix_disable_migration = 1;
2 errors generated.
*** Error code 1


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. 

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 unfortunately
I'm not in a position to test a build on a completely fresh install at present.
While I think I have eliminated all likely sources of user meddling, my
apologies in advance if this isn't the case.

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

More information about the freebsd-bugs mailing list