[Bug 230886] 12-ALPHA3 r338309: nooptions INET6 causes kernel build error in al_eth.c

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 25 08:34:26 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230886

            Bug ID: 230886
           Summary: 12-ALPHA3 r338309: nooptions INET6 causes kernel build
                    error in al_eth.c
           Product: Base System
           Version: CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm at FreeBSD.org
          Reporter: ohartmann at walstatt.org

I'm trying to build a kernel for PINE64 (aarch64) and I run into this error
while
building a customised kernel:

[...]
al_eth.c:1262:14: error: invalid application of 'sizeof' to an incomplete
type 'struct ip6_hdr' ip_hlen = sizeof(struct ip6_hdr)

when "nooptions INET6" is given in the kernel config file.

Leaving "options INET6" as it is from GENERIC or disabling al_eth via

nodevice al_eth

in the kernel config solves the problem.

Build system is FreeBSD 12.0-ALPHA3 #455 r338309: Sat Aug 25 07:10:45 CEST 2018
amd64, sources are at r338309.

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


More information about the freebsd-arm mailing list