Date: Thu, 9 Aug 2018 10:21:54 +0200 From: Per olof Ljungmark <peo@nethead.se> To: freebsd-arm@freebsd.org Subject: Re: cross compile for rpi3 help needed Message-ID: <d7a57efe-676e-a33c-b5b4-141a22596154@nethead.se> In-Reply-To: <75a71863-800a-6449-1bea-ea2dd0aa678a@nethead.se> References: <9d91c7f3-c41f-7ce0-4c79-0bc31aaa4331@nethead.se> <75a71863-800a-6449-1bea-ea2dd0aa678a@nethead.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/8/18 11:12 PM, Per olof Ljungmark wrote: > On 8/8/18 5:47 PM, Per olof Ljungmark wrote: >> In the process of learning arm I have set up a testing platform with >> 12-CURRENT r336739 and reading release(7). >> >> The only change made to src is >> SRCBRANCH="base/head@r337160" >> in RPI3.conf >> >> /etc/make.conf and src.conf are empty >> >> command is >> >> sh release.sh -c arm64/RPI3.conf >> >> The build goes on for a while and stops with >> ... >> --- installconfig_subdir_usr.bin/ofed/libibverbs/ud_pingpong --- >> ===> usr.bin/ofed/libibverbs/ud_pingpong (installconfig) >> --- installconfig_subdir_share --- >> --- installconfig_subdir_share/vt --- >> ===> share/vt (installconfig) >> --- installconfig_subdir_share/zoneinfo --- >> ===> share/zoneinfo (installconfig) >> --- installconfig_subdir_share/vt --- >> --- installconfig_subdir_share/vt/fonts --- >> ===> share/vt/fonts (installconfig) >> --- installconfig_subdir_share/vt/keymaps --- >> ===> share/vt/keymaps (installconfig) >> chroot: /etc/rc.d/ldconfig: Exec format error >> >> What am I missing here? > > Replying to myself: Apparently I started release.sh from the wrong place > - next try went well. But the next failed again - twice - looks like this command is the problem: cd /scratch/usr/src; MACHINE_ARCH=aarch64 MACHINE=arm64 CPUTYPE= CC="cc -target aarch64-unknown-freebsd12.0 --sysroot=/scratch/tmp/obj/scratch/usr/src/arm64.aarch64/tmp -B/scratch/tmp/obj/scratch/usr/src/arm64.aarch64/tmp/usr/bin" CXX="c++ -target aarch64-unknown-freebsd12.0 --sysroot=/scratch/tmp/obj/scratch/usr/src/arm64.aarch64/tmp -B/scratch/tmp/obj/scratch/usr/src/arm64.aarch64/tmp/usr/bin" CPP="cpp -target aarch64-unknown-freebsd12.0 --sysroot=/scratch/tmp/obj/scratch/usr/src/arm64.aarch64/tmp -B/scratch/tmp/obj/scratch/usr/src/arm64.aarch64/tmp/usr/bin" AS="as" AR="ar" LD="ld" LLVM_LINK="" NM=nm OBJCOPY="objcopy" RANLIB=ranlib STRINGS= SIZE="size" PATH=/scratch/tmp/obj/scratch/usr/src/arm64.aarch64/tmp/legacy/usr/sbin:/scratch/tmp/obj/scratch/usr/src/arm64.aarch64/tmp/legacy/usr/bin:/scratch/tmp/obj/scratch/usr/src/arm64.aarch64/tmp/legacy/bin:/scratch/tmp/obj/scratch/usr/src/arm64.aarch64/tmp/usr/sbin:/scratch/tmp/obj/scratch/usr/src/arm64.aarch64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 METALOG= MK_TESTS=no installconfig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7a57efe-676e-a33c-b5b4-141a22596154>