Date: Mon, 07 Jul 2014 07:11:55 -0400 From: George Mitchell <george+freebsd@m5p.com> To: freebsd-arm@freebsd.org Subject: Re: official packages for arm? Message-ID: <53BA807B.9080304@m5p.com> In-Reply-To: <201407070811.s678B3V3055729@mech-cluster241.men.bris.ac.uk>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On 07/07/14 04:11, Anton Shterenlikht wrote:
>>From imp@bsdimp.com Sun Jul 6 18:56:54 2014
>>> =20
>>> Biggest issue is simply that key ports still
>>> don't build on ARM. For example, a default
>>> build of git breaks because libgcrypt requires
>>> GCC 4.7 port, which doesn't build on ARM.
>>
>> I have forward ports of our patches that could help this.
>
> devel/binutils does not build:
>
> checking for cos in -lm... yes
> *** BFD does not support target armv6-portbld-freebsd10.0.
> *** Look in bfd/config.bfd for supported targets.
> gmake[3]: *** [configure-bfd] Error 1
> gmake[3]: Leaving directory `/usr/ports/devel/binutils/work/binutils-2.24'
>
> Anton
> [...]
By an interesting coincidence, I came across this yesterday. Add the
two attached files to /usr/ports/devel/binutils/files and build again.
-- George
[-- Attachment #2 --]
--- bfd/config.bfd.orig 2013-11-04 10:33:37.000000000 -0500
+++ bfd/config.bfd 2014-07-06 18:15:06.000000000 -0400
@@ -331,8 +331,8 @@
targ_defvec=bfd_elf32_littlearm_vec
targ_selvecs=bfd_elf32_bigarm_vec
;;
- arm-*-elf | arm-*-freebsd* | arm*-*-linux-* | arm*-*-conix* | \
- arm*-*-uclinux* | arm-*-kfreebsd*-gnu | \
+ arm-*-elf | arm*-*-freebsd* | arm*-*-linux-* | arm*-*-conix* | \
+ arm*-*-uclinux* | arm*-*-kfreebsd*-gnu | \
arm*-*-eabi* )
targ_defvec=bfd_elf32_littlearm_vec
targ_selvecs=bfd_elf32_bigarm_vec
[-- Attachment #3 --]
--- ld/configure.tgt 2014-07-06 20:28:51.000000000 -0400
+++ ld/configure.tgt.orig 2013-11-26 06:37:33.000000000 -0500
@@ -81,7 +81,7 @@
arm-*-aout | armel-*-aout) targ_emul=armaoutl ;;
armeb-*-aout) targ_emul=armaoutb ;;
arm-*-coff) targ_emul=armcoff ;;
-arm*-*-freebsd* | arm*-*-kfreebsd*-gnu)
+arm-*-freebsd* | arm-*-kfreebsd*-gnu)
targ_emul=armelf_fbsd
targ_extra_emuls="armelf" ;;
armeb-*-netbsdelf*) targ_emul=armelfb_nbsd;
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53BA807B.9080304>
