Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2017 16:31:26 -0500
From:      Jon Brawn <jon@brawn.org>
To:        bugzilla-noreply@freebsd.org
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: [Bug 223229] arm64 pre-build environment (kernel-toolchain) does not provide stdint.h
Message-ID:  <AB028330-2FAF-491E-B3F3-93D130D6F313@brawn.org>
In-Reply-To: <bug-223229-7@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223229-7@https.bugs.freebsd.org/bugzilla/>

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

> On Oct 24, 2017, at 3:34 PM, bugzilla-noreply@freebsd.org wrote:
>=20
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223229
>=20
>            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
>=20
> "make buildkernel" fails, because the temporary build environment does =
not
> provide a stdint.h.

Do a =E2=80=98buildworld=E2=80=99 first. I fell over this a few days =
ago.

>=20
> 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-prototypes
> -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-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=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
>=20
> Stop.
> make[4]: stopped in /usr/src/sys/modules/armv8crypto
> *** Error code 1
>=20
> Stop.
> make[3]: stopped in /usr/src/sys/modules
> *** Error code 1
>=20
> Stop.
> make[2]: stopped in /usr/obj/usr/src/sys/PINE64-ASC
> *** Error code 1
>=20
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/src
>=20
>=20
> 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
>=20
>=20
> 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
> root@pinelot.schwarzes.net:/usr/obj/usr/src/sys/PINE64-ASC  arm64
>=20
> 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
> --=20
> You are receiving this mail because:
> You are the assignee for the bug.
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AB028330-2FAF-491E-B3F3-93D130D6F313>