Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2015 18:07:34 -0700
From:      Tim Kientzle <tim@kientzle.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        Luiz Otavio O Souza <lists.br@gmail.com>, freebsd-arm <freebsd-arm@freebsd.org>, Ian Lepore <ian@freebsd.org>
Subject:   Re: crochet build fails at ubldr Wandboard-Dual
Message-ID:  <B50604D0-9564-45E2-BBFC-DDC76719612D@kientzle.com>
In-Reply-To: <0DADE75A-8680-4DEB-86AE-8764ACA4504C@cs.huji.ac.il>
References:  <CAFuo_fy5tPjQDbtuSwcBEt4UMuu2tv8zRLLwBrpZPUGcyEMKEA@mail.gmail.com> <CAFuo_fx6Ztb2Rn8dPmZ3HBJniChvkZX54qmF_oaA87LJeHCFFQ@mail.gmail.com> <1429456908.1182.82.camel@freebsd.org> <CAFuo_fzHtCF6F%2B%2BUGqSdhzvbkTjxRtoT8sXFKV%2BCr4UpsGmymQ@mail.gmail.com> <1429458041.1182.86.camel@freebsd.org> <1CA4192E-F6B5-4BD8-8BF8-8F725E1EC7BA@kientzle.com> <CAFuo_fx-uqfThQhutvZugAK16HjY2sxtegRcGydkLu0Si_h6uQ@mail.gmail.com> <32B72D5A-742C-4B58-AD65-EA33B306D30C@kientzle.com> <A6E50B78-8694-4984-8984-12479303361E@dons.net.au> <C90A1604-9018-47BF-9214-CB913EEADD80@kientzle.com> <CAB=2f8yOOqp0bQFrcJ9ZFmXsVLNNm%2B%2Be95OZcB0d8VZ6PzDhbQ@mail.gmail.com> <0DADE75A-8680-4DEB-86AE-8764ACA4504C@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B50604D0-9564-45E2-BBFC-DDC76719612D>