Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2015 13:46:46 -0500
From:      Brett Wynkoop <freebsd-arm@wynn.com>
To:        freebsd-arm@freebsd.org
Subject:   Native Kernel Build Fails BeagleBone
Message-ID:  <20150217134646.495798df@ivory.wynn.com>

next in thread | raw e-mail | index | archive | help
Greeting-

It seems that the same kernel source tree that builds as a cross
compile on my x86 box does not build on the BB.

ln -sf /usr/src/sys/arm/compile/BEAGLEBONE/opt_compat.h opt_compat.h
ln -sf /usr/src/sys/arm/compile/BEAGLEBONE/opt_kstack_pages.h
opt_kstack_pages.h ln -sf /usr/src/sys/arm/compile/BEAGLEBONE/opt_nfs.h
opt_nfs.h ln -sf /usr/src/sys/arm/compile/BEAGLEBONE/opt_hwpmc_hooks.h
opt_hwpmc_hooks.h cc -c -O -pipe -mcpu=arm1176jzf-s -mfloat-abi=softfp
-DDIS_MEM -DSMP -Werror -D_KERNEL -DKLD_MODULE -nostdinc
-I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris
-I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/dev/dtrace
-I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/dev/dtrace/arm
-I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/contrib/opensolaris/uts/common
-I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/contrib/opensolaris/common/util
-I/usr/src/sys/arm/compile/BEAGLEBONE/../../..
-DHAVE_KERNEL_OPTION_HEADERS
-include /usr/src/sys/arm/compile/BEAGLEBONE/opt_global.h -I.
-I/usr/src/sys/arm/compile/BEAGLEBONE/../../..
-I/usr/src/sys/arm/compile/BEAGLEBONE/../../../contrib/altq -g
-I/usr/src/sys/arm/compile/BEAGLEBONE -march=armv7a -ffreestanding
-fwrapv -gdwarf-2 -Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function
-Wno-error-pointer-sign -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-unknown-pragmas
-Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function
-Wno-error-pointer-sign -Wno-parentheses -Wno-uninitialized
-Wno-cast-qual -Wno-unused -mllvm -arm-use-movt=0 -mfpu=none
-std=iso9899:1999
-include /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/debug_compat.h  /usr/src/sys/arm/compile/BEAGLEBONE/../../../arm/arm/genassym.c
cc: error: argument unused during compilation:
'-march=armv7a' [-Werror,-Wunused-command-line-argument] *** Error code
1

Stop.
make[3]: stopped in /usr/src/sys/modules/dtrace/dtrace
*** Error code 1

Stop.
make[2]: stopped in /usr/src/sys/modules/dtrace
*** Error code 1

Stop.
make[1]: stopped in /usr/src/sys/modules
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arm/compile/BEAGLEBONE
root@beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE # 


FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r278741: Sat
Feb 14 06:04:22 EST 2015
wynkoop@prd2.wynn.com:/proj/wynkoop/crochet/crochet-freebsd-master/work/obj/arm.armv6/proj/wynkoop/armsrc/sys/BEAGLEBONE
arm

Ideas?

-Brett

-- 

wynkoop@wynn.com               http://prd4.wynn.com/wynkoop/pgp-keys.txt
917-642-6925
929-272-0000

"If ever a time should come, when vain and aspiring men shall possess
the highest seats in Government, our country will stand in need of its 
experienced patriots to prevent its ruin."

-- Samuel Adams, letter to James Warren (24 October 1780)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150217134646.495798df>