From owner-freebsd-arm@FreeBSD.ORG Mon Apr 27 01:07:58 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98F86367; Mon, 27 Apr 2015 01:07:58 +0000 (UTC) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5DC6317E7; Mon, 27 Apr 2015 01:07:57 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id t3R17ZDb059724; Mon, 27 Apr 2015 01:07:35 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.105] (192.168.1.65 [192.168.1.65]) by kientzle.com with SMTP id ssrcwgtbnfape4j9m5ukrj58tw; Mon, 27 Apr 2015 01:07:34 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: multipart/mixed; boundary="Apple-Mail=_22B47940-102A-483C-BD71-FF71E53847A5" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: crochet build fails at ubldr Wandboard-Dual From: Tim Kientzle In-Reply-To: <0DADE75A-8680-4DEB-86AE-8764ACA4504C@cs.huji.ac.il> Date: Sun, 26 Apr 2015 18:07:34 -0700 Cc: Luiz Otavio O Souza , freebsd-arm , Ian Lepore Message-Id: References: <1429456908.1182.82.camel@freebsd.org> <1429458041.1182.86.camel@freebsd.org> <1CA4192E-F6B5-4BD8-8BF8-8F725E1EC7BA@kientzle.com> <32B72D5A-742C-4B58-AD65-EA33B306D30C@kientzle.com> <0DADE75A-8680-4DEB-86AE-8764ACA4504C@cs.huji.ac.il> To: Daniel Braniss X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Apr 2015 01:07:58 -0000 --Apple-Mail=_22B47940-102A-483C-BD71-FF71E53847A5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > the addition of efi is causing other problems too. > I first tried crochet for arm/current, and kept hitting the libstand.a = issue, > so I tried cd ..src/ and make with all the flags (including -j16), and = succeeded > but failed in install. > i use 10.1 to cross compile for arm/current, so I commented out efi = in Makefile.arm, and it installed ok. Please try this patch and let us know if it fixes it for you. I=E2=80=99v= e gone through Crochet builds for both BeagleBone and RaspberryPi with = this and it seems to fix the issue. Index: src/sys/boot/efi/loader/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- src/sys/boot/efi/loader/Makefile (revision 281985) +++ src/sys/boot/efi/loader/Makefile (working copy) @@ -101,6 +101,7 @@ -j .rela.dyn -j .reloc -j .eh_frame -j set_Xcommand_set = \ --output-target=3D${EFI_TARGET} ${.ALLSRC} ${.TARGET} =20 +LIBSTAND=3D ${.OBJDIR}/../../../../lib/libstand/libstand.a LIBEFI=3D ${.OBJDIR}/../libefi/libefi.a =20 DPADD=3D ${LIBFICL} ${LIBEFI} ${LIBFDT} ${LIBEFI_FDT} = ${LIBSTAND} \ --Apple-Mail=_22B47940-102A-483C-BD71-FF71E53847A5 Content-Disposition: attachment; filename=fix_efi_loader_build.patch Content-Type: application/octet-stream; name="fix_efi_loader_build.patch" Content-Transfer-Encoding: 7bit Index: src/sys/boot/efi/loader/Makefile =================================================================== --- src/sys/boot/efi/loader/Makefile (revision 281985) +++ src/sys/boot/efi/loader/Makefile (working copy) @@ -101,6 +101,7 @@ -j .rela.dyn -j .reloc -j .eh_frame -j set_Xcommand_set \ --output-target=${EFI_TARGET} ${.ALLSRC} ${.TARGET} +LIBSTAND= ${.OBJDIR}/../../../../lib/libstand/libstand.a LIBEFI= ${.OBJDIR}/../libefi/libefi.a DPADD= ${LIBFICL} ${LIBEFI} ${LIBFDT} ${LIBEFI_FDT} ${LIBSTAND} \ --Apple-Mail=_22B47940-102A-483C-BD71-FF71E53847A5 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail=_22B47940-102A-483C-BD71-FF71E53847A5--