Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2018 08:34:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 230886] 12-ALPHA3 r338309: nooptions INET6 causes kernel build error in al_eth.c
Message-ID:  <bug-230886-7@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: ohartmann@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 =3D 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.

--=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-230886-7>