[Bug 223229] arm64 pre-build environment (kernel-toolchain) does not provide stdint.h
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 24 20:34:38 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223229
Bug ID: 223229
Summary: arm64 pre-build environment (kernel-toolchain) does
not provide stdint.h
Product: Base System
Version: CURRENT
Hardware: arm64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: arm
Assignee: freebsd-arm at FreeBSD.org
Reporter: bugs.freebsd.asc at schwarzes.net
"make buildkernel" fails, because the temporary build environment does not
provide a stdint.h.
cc -target aarch64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp
-B/usr/obj/usr/src/tmp/usr/bin -c -O3 -pipe -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/PINE64-ASC/opt_global.h -I. -I/usr/src/sys -fno-common
-fPIC -I/usr/obj/usr/src/sys/PINE64-ASC -ffixed-x18 -ffreestanding -fwrapv
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -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-error-shift-negative-value -Wno-error-address-of-packed-member
-std=iso9899:1999 -Werror -march=armv8-a+crypto
/usr/src/sys/crypto/armv8/armv8_crypto_wrap.c
In file included from /usr/src/sys/crypto/armv8/armv8_crypto_wrap.c:46:
/usr/lib/clang/5.0.0/include/arm_neon.h:31:10: fatal error: 'stdint.h' file not
found
#include <stdint.h>
^~~~~~~~~~
1 error generated.
*** Error code 1
Stop.
make[4]: stopped in /usr/src/sys/modules/armv8crypto
*** Error code 1
Stop.
make[3]: stopped in /usr/src/sys/modules
*** Error code 1
Stop.
make[2]: stopped in /usr/obj/usr/src/sys/PINE64-ASC
*** Error code 1
Stop.
make[1]: stopped in /usr/src
*** Error code 1
Stop.
make: stopped in /usr/src
root at pinelot:/usr/src # ls -l
/usr/obj/usr/src/tmp/usr/lib/clang/5.0.0/include/stdint.h
ls: /usr/obj/usr/src/tmp/usr/lib/clang/5.0.0/include/stdint.h: No such file or
directory
root at pinelot:/usr/src # uname -a
FreeBSD pinelot.schwarzes.net 12.0-CURRENT FreeBSD 12.0-CURRENT #2 r324720: Thu
Oct 19 09:37:31 UTC 2017
root at pinelot.schwarzes.net:/usr/obj/usr/src/sys/PINE64-ASC arm64
root at pinelot:/usr/src # svnlite info
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 324948
Node Kind: directory
Schedule: normal
Last Changed Author: ae
Last Changed Rev: 324947
Last Changed Date: 2017-10-24 10:39:05 +0200 (Tue, 24 Oct 2017)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-arm
mailing list