RFC: sysutils/u-boot-beaglebone-eabi

Paul Mather paul at gromit.dlib.vt.edu
Sun Aug 4 02:12:37 UTC 2013


On Jul 31, 2013, at 11:45 PM, Tim Kientzle <kientzle at freebsd.org> wrote:

> I (finally) got this port committed and would appreciate feedback.

I have problems building this on my build system, which runs FreeBSD/amd64 10.0-CURRENT (r253579) as a virtual machine under KVM. It fails when building math/gmp:

=====
[...]
checking for assembler .type directive... .type $1,@$2
checking for assembler .size directive... .size $1,$2
checking for assembler local label prefix... .L
checking for assembler byte directive... .byte
checking how to define a 32-bit word... .long
checking if .align assembly directive is logarithmic... no
checking size of void *... 8
checking size of unsigned short... 2
checking size of unsigned... 4
checking size of unsigned long... 8
checking size of mp_limb_t... 8
configure: error: Oops, mp_limb_t is 64 bits, but the assembler code
in this configuration expects 32 bits.
You appear to have set $CFLAGS, perhaps you also need to tell GMP the
intended ABI, see "ABI and ISA" in the manual.
===>  Script "configure" failed unexpectedly.
Please report the problem to ale at FreeBSD.org [maintainer] and attach the
"/usr/ports/math/gmp/work/gmp-5.1.2/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/math/gmp
*** Error code 1

Stop.
make: stopped in /usr/ports/math/gmp
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/arm-eabi-gcc
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/arm-eabi-gcc
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/u-boot-beaglebone-eabi
=====

It does manage to install arm-eabi-binutils-2.23.2.  I have this in /etc/src.conf:

=====
WITHOUT_APM=yes
WITHOUT_ATM=yes
WITHOUT_BIND_DNSSEC=yes
WITHOUT_BLUETOOTH=yes
WITHOUT_CALENDAR=yes
WITHOUT_CTM=yes
WITHOUT_CVS=yes
WITHOUT_FORTRAN=yes
WITHOUT_FREEBSD_UPDATE=yes
WITHOUT_GPIB=yes
WITHOUT_HTML=yes
WITHOUT_I4B=yes
WITHOUT_IPFILTER=yes
WITHOUT_IPFW=yes
WITHOUT_IPX=yes
WITHOUT_NDIS=yes
WITHOUT_NCP=yes
WITHOUT_PC_SYSINSTALL=yes
WITHOUT_PPP=yes
WITHOUT_PROFILE=yes
WITHOUT_RCMDS=yes
WITHOUT_RCS=yes
WITHOUT_SHAREDOCS=yes
WITHOUT_SYSINSTALL=yes
WITHOUT_WIRELESS=yes # No wireless cards
WITHOUT_WPA_SUPPLICANT_EAPOL=yes
WITHOUT_ZFS=yes
=====

These are the only active settings I have in /etc/make.conf:

=====
RUBY_DEFAULT_VER=1.9
SVN_UPDATE=yes
SVN=/usr/local/bin/svn
#MALLOC_PRODUCTION=yes
WITH_PKGNG=yes
# added by use.perl 2013-06-13 21:54:13
PERL_VERSION=5.16.3
=====

Am I doing anything obviously wrong?

Cheers,

Paul.


More information about the freebsd-arm mailing list