Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2013 11:13:43 +0100
From:      fabiodive <fabiodive@gmail.com>
To:        "freebsd-arm@FreeBSD.org" <freebsd-arm@freebsd.org>
Subject:   RASPBERRY PI: VFP, error during compilation of freebsd-head
Message-ID:  <9609F3A1-0CF9-49B0-B720-BDF1373E48C8@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello all,

I tried few times to compile an updated freebsd-head with crochet but I =
receive an error.
I had one success few weeks ago, now I am trying to use VFP and =
hardflot.

FreeBSD-head Revision: 255108

My custom make.conf:

CPUTYPE?=3D core2
CC=3Dclang
CXX=3Dclang++
CPP=3Dclang-cpp
WITH_CLANG=3Dyes
WITH_CLANG_IS_CC=3Dyes

# This setting to build world without -Werror:
NO_WERROR=3D
# # This setting to build kernel without -Werror:
WERROR=3D=20
#
#

CFLAGS?=3D -Ofast -fno-strict-aliasing -pipe -march=3Darmv6zk -mfpu=3Dvfp =
-mtune=3Darm1176jzf-s -mfloat-abi=3Dhard
COPTFLAGS?=3D -Ofast -fno-strict-aliasing -pipe -march=3Darmv6zk =
-mfpu=3Dvfp -mtune=3Darm1176jzf-s -mfloat-abi=3Dhard

OPTIMIZED_CFLAGS=3D       YES
BUILD_OPTIMIZED=3D        YES
WITH_CPUFLAGS=3D          YES
WITHOUT_DEBUG=3D          YES
WITH_OPTIMIZED_CFLAGS=3D  YES
NO_PROFILE=3D             YES
#BUILD_STATIC=3D           NO
NO_INET6=3D               YES
WITH_IPV6=3D              NO
WITHOUT_IPV6=3D           YES
WITHOUT_X11=3D		YES
WITH_PKGNG=3D		YES


The exported environment variable:
TARGET_ARCH=3Darmv6


This is the end of the log of the output of crochet:
..
=
MAKE=3D/tank/projects/boreview_freebsd/crochet-freebsd/work/obj/tank/proje=
cts/boreview_freebsd/head/make.amd64/bmake sh =
/tank/projects/boreview_freebsd/head/sys/conf/newvers.sh RPI-B
clang -c -Ofast -fno-strict-aliasing -pipe -march=3Darmv6zk -mfpu=3Dvfp =
-mtune=3Darm1176jzf-s -mfloat-abi=3Dhard  -std=3Dc99  -Wall =
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  =
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef =
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs =
-fdiagnostics-show-option  -Wno-error-tautological-compare =
-Wno-error-empty-body  -Wno-error-parentheses-equality  -nostdinc  -I. =
-I/tank/projects/boreview_freebsd/head/sys =
-I/tank/projects/boreview_freebsd/head/sys/contrib/altq =
-I/tank/projects/boreview_freebsd/head/sys/contrib/libfdt -D_KERNEL =
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -funwind-tables =
-mllvm -arm-enable-ehabi -ffreestanding   vers.c
linking kernel
objcopy --strip-debug kernel
   text	   data	    bss	    dec	    hex	filename
4720280	 225248	 291788	5237316	 4fea44	kernel
ld: ERROR: hack.So uses VFP register arguments, kernel.noheader does not
ld: failed to merge target specific data of file hack.So
*** [kernel] Error code 1

bmake[1]: stopped in =
/tank/projects/boreview_freebsd/crochet-freebsd/work/obj/arm.armv6/tank/pr=
ojects/boreview_freebsd/head/sys/RPI-B
1 error

bmake[1]: stopped in =
/tank/projects/boreview_freebsd/crochet-freebsd/work/obj/arm.armv6/tank/pr=
ojects/boreview_freebsd/head/sys/RPI-B
*** [buildkernel] Error code 2

bmake: stopped in /tank/projects/boreview_freebsd/head
1 error

bmake: stopped in /tank/projects/boreview_freebsd/head
*** [buildkernel] Error code 2
1 error


If somebody has got any idea I'll really appreciate it.

thank you again, have a nice day,
f.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9609F3A1-0CF9-49B0-B720-BDF1373E48C8>