[Bug 217969] Recent buildfailures with Raspberry Pi 2 crossbuilds
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 21 00:28:23 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217969
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 at FreeBSD.org
Reporter: xmj at FreeBSD.org
Created attachment 181018
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181018&action=edit
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 pointing
me to <sys/systm.h>
2. sys/cddl/dev/fbt/arm/fbt_isa.c fails likewise, not having a definition for
the `struct trapframe`. Grepping through the kernel sources pointed me to the
"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=armv6 UBLDR_LOADADDR=0x2000000 LOCAL_ITOOLS="cc uudecode ls
bzip2 dd" DESTDIR=/mnt/rpi2 installworld
I haven't come up with a good way to patch the build tools to fix 3. yet, open
for suggestions.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list