Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2017 00:28:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217969] Recent buildfailures with Raspberry Pi 2 crossbuilds
Message-ID:  <bug-217969-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 217969
           Summary: Recent buildfailures with Raspberry Pi 2 crossbuilds
           Product: Base System
           Version: CURRENT
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: xmj@FreeBSD.org

Created attachment 181018
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181018&action=
=3Dedit
Raspberry Pi 2 Build failure fixes

Crossbuilding world and kernel for RaspberryPi, I noticed the following (see
patch attached):


1. CloudABI failed, due to a missing include. edje@ helped fix this by poin=
ting
me to <sys/systm.h>

2. sys/cddl/dev/fbt/arm/fbt_isa.c fails likewise, not having a definition f=
or
the `struct trapframe`. Grepping through the kernel sources pointed me to t=
he
"sys/arm/include/frame.h" header, which can be included with <machine/frame=
.h>.

Patch attached fixes these.

3. Installworld by default fails, but this can be worked around with

make TARGET_ARCH=3Darmv6 UBLDR_LOADADDR=3D0x2000000 LOCAL_ITOOLS=3D"cc uude=
code ls
bzip2 dd" DESTDIR=3D/mnt/rpi2 installworld

I haven't come up with a good way to patch the build tools to fix 3. yet, o=
pen
for suggestions.

--=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-217969-8>