Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2017 20:34:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 223229] arm64 pre-build environment (kernel-toolchain) does not provide stdint.h
Message-ID:  <bug-223229-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223229

            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@FreeBSD.org
          Reporter: bugs.freebsd.asc@schwarzes.net

"make buildkernel" fails, because the temporary build environment does not
provide a stdint.h.

cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/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-prototy=
pes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-comp=
are
-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=3Diso9899:1999  -Werror   -march=3Darmv8-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@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@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=20=20=20=20
root@pinelot.schwarzes.net:/usr/obj/usr/src/sys/PINE64-ASC  arm64

root@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)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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