On Wed, Jan 10, 2018 at 3:58 PM, Akash Gajjar <gajjar04ak...@gmail.com> wrote: > Hi All, > > Facing compilation issue building pine64 mainline u-boot. > Please see below build log. > > user]$ export CROSS_COMPILE=aarch64-linux-gnu- > > user]$ make pine64_plus_defconfig > HOSTCC scripts/basic/fixdep > HOSTCC scripts/kconfig/conf.o > HOSTCC scripts/kconfig/zconf.tab.o > HOSTLD scripts/kconfig/conf > # > # configuration written to .config > # > > user]$ make > . > . > . > LDS spl/u-boot-spl.lds > LD spl/u-boot-spl > aarch64-linux-gnu-ld.bfd: u-boot-spl section `.rodata' will not fit in > region `.sram' > aarch64-linux-gnu-ld.bfd: region `.sram' overflowed by 6032 bytes > make[1]: *** [spl/u-boot-spl] Error 1 > make: *** [spl/u-boot-spl] Error 2
It works fine for me on Fedora 27 with gcc 7.2.1 on both the latest master head and 2018.01 GA mkdir -p builds/pine64_plus/ cp ~/arm-trusted-firmware/sun50iw1p1/bl31.bin builds/pine64_plus/ make pine64_plus_defconfig V=1 O=builds/pine64_plus/ make CROSS_COMPILE="/usr/bin/aarch64-linux-gnu-" V=1 O=builds/pine64_plus/ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot