official packages for arm?
George Mitchell
george+freebsd at m5p.com
Mon Jul 7 11:12:03 UTC 2014
On 07/07/14 04:11, Anton Shterenlikht wrote:
>>From imp at 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
-------------- next part --------------
--- 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
-------------- next part --------------
--- 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;
More information about the freebsd-arm
mailing list