Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2018 14:20:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 229702] armv8crypto fails to build on 12-current
Message-ID:  <bug-229702-7@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 229702
           Summary: armv8crypto fails to build on 12-current
           Product: Base System
           Version: CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: tech-lists@zyxst.net

The following was on r336134 12-current snapshot, building from 336195 sour=
ces
on a raspberry pi 3+. No src.conf or make.conf is present.=20

RPI3 looks like this:

include GENERIC

ident   RPI3

nooptions       INVARIANTS
nooptions       INVARIANT_SUPPORT
nooptions       WITNESS
nooptions       WITNESS_SKIPSPIN
nooptions       DEADLKRES
nooptions       USB_DEBUG

make -j1 buildkernel KERNCONF=3DRPI3

=3D=3D=3D> armv8crypto (all)
[Creating objdir
/ext/obj/ext/src/arm64.aarch64/sys/RPI3/modules/ext/src/sys/modules/armv8cr=
ypto...]
machine -> /ext/src/sys/arm64/include
ln -sf /ext/obj/ext/src/arm64.aarch64/sys/RPI3/opt_bus.h opt_bus.h
awk -f /ext/src/sys/tools/makeobjops.awk /ext/src/sys/kern/device_if.m -h
awk -f /ext/src/sys/tools/makeobjops.awk /ext/src/sys/kern/bus_if.m -h
awk -f /ext/src/sys/tools/makeobjops.awk
/ext/src/sys/opencrypto/cryptodev_if.m -h
cc -target aarch64-unknown-freebsd12.0
--sysroot=3D/ext/obj/ext/src/arm64.aarch64/tmp
-B/ext/obj/ext/src/arm64.aarch64/tmp/usr/bin -c -O2 -pipe
-fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED
-nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include
/ext/obj/ext/src/arm64.aarch64/sys/RPI3/opt_global.h -I.
-I/ext/src/sys -I/ext/src/sys/contrib/ck/include -g -fPIC
-I/ext/obj/ext/src/arm64.aarch64/sys/RPI3 -MD -MF.depend.genoffset.o
-MTgenoffset.o -mgeneral-regs-only -ffixed-x18 -ffreestanding -fwrapv
-fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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-address-of-packed-member -std=3Diso9899:1999
/ext/src/sys/kern/genoffset.c
sh /ext/src/sys/kern/genoffset.sh genoffset.o > offset.inc
cc -target aarch64-unknown-freebsd12.0
--sysroot=3D/ext/obj/ext/src/arm64.aarch64/tmp
-B/ext/obj/ext/src/arm64.aarch64/tmp/usr/bin  -O2 -pipe
-fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/ext/obj/ext/src/arm64.aarch64/sys/RPI3/opt_global.h -I.
-I/ext/src/sys -I/ext/src/sys/contrib/ck/include -fno-common -g -fPIC
-I/ext/obj/ext/src/arm64.aarch64/sys/RPI3   -MD
-MF.depend.armv8_crypto.o -MTarmv8_crypto.o -mgeneral-regs-only
-ffixed-x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -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-address-of-packed-member    -std=3Diso9899:1999 -c
/ext/src/sys/crypto/armv8/armv8_crypto.c -o armv8_crypto.o
ctfconvert -L VERSION -g armv8_crypto.o
cc -target aarch64-unknown-freebsd12.0
--sysroot=3D/ext/obj/ext/src/arm64.aarch64/tmp
-B/ext/obj/ext/src/arm64.aarch64/tmp/usr/bin -c -O3 -pipe
-fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED
-DHAVE_KERNEL_OPTION_HEADERS -include
/ext/obj/ext/src/arm64.aarch64/sys/RPI3/opt_global.h -I.
-I/ext/src/sys -I/ext/src/sys/contrib/ck/include -fno-common -g -fPIC
-I/ext/obj/ext/src/arm64.aarch64/sys/RPI3 -ffixed-x18 -ffreestanding
-fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -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-address-of-packed-member -std=3Diso9899:1999  -Werror
-march=3Darmv8-a+crypto /ext/src/sys/crypto/armv8/armv8_crypto_wrap.c
In file included from /ext/src/sys/crypto/armv8/armv8_crypto_wrap.c:46:
/usr/lib/clang/6.0.1/include/arm_neon.h:31:10: fatal error: 'stdint.h'
file not found
#include <stdint.h>
         ^~~~~~~~~~
1 error generated.
*** [armv8_crypto_wrap.o] Error code 1

make[4]: stopped in /ext/src/sys/modules/armv8crypto
1 error

make[4]: stopped in /ext/src/sys/modules/armv8crypto
*** [all_subdir_armv8crypto] Error code 2

make[3]: stopped in /ext/src/sys/modules
1 error

make[3]: stopped in /ext/src/sys/modules
*** [modules-all] Error code 2

make[2]: stopped in /ext/obj/ext/src/arm64.aarch64/sys/RPI3
1 error

make[2]: stopped in /ext/obj/ext/src/arm64.aarch64/sys/RPI3
*** [buildkernel] Error code 2

make[1]: stopped in /ext/src
1 error

make[1]: stopped in /ext/src
*** [buildkernel] Error code 2

make: stopped in /ext/src
1 error

make: stopped in /ext/src

--=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-229702-7>