Skip to content

Building U-Boot not supported out-of-the-box on 11.0-CURRENT #22

Closed
@jbirch

Description

@jbirch

Naively sucking down ftp://ftp.denx.de/pub/u-boot/u-boot-2013.04.tar.bz2 and attempting to run a BeagleBone build fails on a fresh[1] install of 11.0-CURRENT (r256489).

The build fails on building U-boot, and _.uboot.build.log is littered with "gcc: not found". This makes sense, as gcc isn't around anymore -- but I've seen discussions on freebsd-arm@ that discuss how it's perfectly possible to build U-boot with Clang. The last few lines, retyped-by-hand-so-take-exactness-with-a-grain-of-salt, are...

gmake -C tools all
gcc: not found
gmake[1]: Entering directory `/root/crochet-freebsd/u-boot-2013.04/tools'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -include /root/crochet-freebsd/u-boot-2013.04/include/libfdt_env.h -idirafter /root/crochet-freebsd/u-boot-2013.04/include -idirafter /root/crochet-freebsd/u-boot-2013.04/include2 -idirafter /root/crochet-freebsd/u-boot-2013.04/include -I /root/crochet-freebsd/u-boot-2013.04/lib/libfdt -I /root/crochet-freebsd/u-boot-2013.04/tools -DCONFIG_SYS_TEXT_BASE=0x80800000 -DUSEHOSTCC -D__KERNEL_STRICT_NAMES -pedantic  -o gen_eth_addr.o gen_ath_addr.c -c
gcc: not found
gmake [1]: *** [gen_eth_addre.0] Error 127
gmake [1]: Leaving directory `/root/crochet-freebsd/u-boot-2013.04/tools'
gmake : *** [tools] Error 2

[1] Well, fresh + gsed + gmake + git.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions