RASPBERRY PI: VFP, error during compilation of freebsd-head
fabiodive
fabiodive at gmail.com
Sun Sep 1 10:13:47 UTC 2013
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?= core2
CC=clang
CXX=clang++
CPP=clang-cpp
WITH_CLANG=yes
WITH_CLANG_IS_CC=yes
# This setting to build world without -Werror:
NO_WERROR=
# # This setting to build kernel without -Werror:
WERROR=
#
#
CFLAGS?= -Ofast -fno-strict-aliasing -pipe -march=armv6zk -mfpu=vfp -mtune=arm1176jzf-s -mfloat-abi=hard
COPTFLAGS?= -Ofast -fno-strict-aliasing -pipe -march=armv6zk -mfpu=vfp -mtune=arm1176jzf-s -mfloat-abi=hard
OPTIMIZED_CFLAGS= YES
BUILD_OPTIMIZED= YES
WITH_CPUFLAGS= YES
WITHOUT_DEBUG= YES
WITH_OPTIMIZED_CFLAGS= YES
NO_PROFILE= YES
#BUILD_STATIC= NO
NO_INET6= YES
WITH_IPV6= NO
WITHOUT_IPV6= YES
WITHOUT_X11= YES
WITH_PKGNG= YES
The exported environment variable:
TARGET_ARCH=armv6
This is the end of the log of the output of crochet:
..
MAKE=/tank/projects/boreview_freebsd/crochet-freebsd/work/obj/tank/projects/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=armv6zk -mfpu=vfp -mtune=arm1176jzf-s -mfloat-abi=hard -std=c99 -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/projects/boreview_freebsd/head/sys/RPI-B
1 error
bmake[1]: stopped in /tank/projects/boreview_freebsd/crochet-freebsd/work/obj/arm.armv6/tank/projects/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.
More information about the freebsd-arm
mailing list