[Bug 229702] armv8crypto fails to build on 12-current

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 11 14:20:53 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229702

            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 at FreeBSD.org
          Reporter: tech-lists at zyxst.net

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

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

===> armv8crypto (all)
[Creating objdir
/ext/obj/ext/src/arm64.aarch64/sys/RPI3/modules/ext/src/sys/modules/armv8crypto...]
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=/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__=__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=iso9899: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=/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__=__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=iso9899: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=/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__=__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=iso9899:1999  -Werror
-march=armv8-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

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


More information about the freebsd-arm mailing list