bazel-contrib / rules_foreign_cc

Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson)
https://bazel-contrib.github.io/rules_foreign_cc
Apache License 2.0
676 stars 248 forks source link

Recent commit breaks existing mechanism for extracting source directory. #857

Closed garrettkajmowicz-sophos closed 2 years ago

garrettkajmowicz-sophos commented 2 years ago

One of the many tasks that I'm using rules_foreign_cc to perform is to build out-of-tree Linux kernel modules. This requires passing the directory path to the Linux kernel source code as a parameter to the Linux Kbuild process.

I've managed to accomplish all of this by having a make() section in a BUILD file which wraps a call to a local Makefile.bazel which alows me to do genrule() like things, but with appropriate CFLAGS et al. variables set, which ultimately calls the Kbuild system Makefile.

For non-obvious reasons to me, this commit: https://github.com/bazelbuild/rules_foreign_cc/commit/f61ce5d10b221c643ae48063c3484fadf84066d4

seems to have broken certain directory name processing.

In my BUILD file I have:

make (
    ...
    args = [
        "--makefile=Makefile.bazel",
    ],
    env = {
        "KERNELDIR": "$$(dirname $(execpath @kernel_source_host//:kernel_config_file))",
    },
    data = [
        "@kernel_source_host//:kernel_config_file",
        "@kernel_source_host//:whole_kernel_tree",
    ],
)

This used to run with $(KERNELDIR) being set to the bazel path where the linux kernel source code was available. After this commit, the variable gets set to: EXT_BUILD_ROOTexternal/kernel_source_host

Yes, a literal EXT_BUILD_ROOT without the trailing frontslash.

Is there a way to ensure the previous behavior? Alternatively, is there a way to get the same results as before using a different mechanism?

garrettkajmowicz-sophos commented 2 years ago

Looking at the printed environment at the start of a build, it looks like Bazel itself seems to still be performing the correct expansion. However, the environment printed out by wrapper script is different:

Bazel external C/C++ Rules. Building library netmap

Environment:______________
EXT_BUILD_ROOT=/var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__
INSTALLDIR=/var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__/bazel-out/k8-dbg/bin/netmap/netmap
KERNELDIR=/var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__/external/kernel_source_host
PWD=/var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__
BUILD_TMPDIR=/var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__/bazel-out/k8-dbg/bin/netmap/netmap.build_tmpdir
INSTALL_MOD_PATH=/var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__/bazel-out/k8-dbg/bin/netmap/netmap
TMPDIR=/tmp
BUILD_KERNEL=linux-4.14.173-aum-3
EXT_BUILD_DEPS=/var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__/bazel-out/k8-dbg/bin/netmap/netmap.ext_build_deps
SHLVL=3
BUILD_LOG=bazel-out/k8-dbg/bin/netmap/netmap_foreign_cc/Make.log
BUILD_SCRIPT=bazel-out/k8-dbg/bin/netmap/netmap_foreign_cc/build_script.sh
BUILD_WRAPPER_SCRIPT=bazel-out/k8-dbg/bin/netmap/netmap_foreign_cc/wrapper_build_script.sh
PATH=/var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__:/home/garrettkajmowicz/bin:/opt/sophos/bin:/opt/marvell/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/storage/build_tools:/storage/pit-dev-lab
_=/usr/bin/env
__________________________
+ ARFLAGS=rcsD
+ ASFLAGS='-U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=redacted -D__TIMESTAMP__=redacted -D__TIME__=redacted'
+ CFLAGS='-U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=redacted -D__TIMESTAMP__=redacted -D__TIME__=redacted'
+ CXXFLAGS='-U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g -std=c++0x -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=redacted -D__TIMESTAMP__=redacted -D__TIME__=redacted'
+ LDFLAGS='-fuse-ld=gold -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -pass-exit-codes -lstdc++ -lm'
+ AR=/usr/bin/ar
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/gcc
++ dirname 'EXT_BUILD_ROOT$/external/kernel_source_host/.config'
+ KERNELDIR='EXT_BUILD_ROOT$/external/kernel_source_host'
+ INSTALL_MOD_PATH='{INSTALLDIR}'
+ BUILD_KERNEL=linux-4.14.173-aum-3
+ CPPFLAGS=
+ /var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__/bazel-out/k8-opt-exec-2B5CBBC6/bin/external/rules_foreign_cc/toolchains/make/bin/make -C /var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__/bazel-out/k8-dbg/bin/netmap/netmap.build_tmpdir netmap_bazel --makefile=Makefile.bazel PREFIX=/var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__/bazel-out/k8-dbg/bin/netmap/netmap
fmeum commented 2 years ago

This is certainly not intended. I will take a look and try to reproduce it with a failing test.

garrettkajmowicz-sophos commented 2 years ago

As a part of verifying the proposed commits, I encountered another possibly-related issue with commit f61ce5d which is not addressed with either of the proposed commits. I'll split this into another ticket if you think it best.

The initial error in the log is: bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel_foreign_cc/build_script.sh: line 16409: syntax error near unexpected token `('

The log files themselves are identical up until the error occurs, save for different sandbox numbers. A diff between the working and failing shell scripts looks as follows:

$ diff -du working-1a262c9.sh failing-f61ce5d.sh
--- working-1a262c9.sh  2022-01-21 06:52:37.244178524 +0800
+++ failing-f61ce5d.sh  2022-01-21 07:01:46.352518179 +0800
@@ -41,7 +41,7 @@
 # In order to be able to use `replace_in_files`, we ensure that we create copies of specfieid
 # files so updating them is possible.
 if [[ "$1" == *.pc || "$1" == *.la || "$1" == *-config || "$1" == *.mk || "$1" == *.cmake ]]; then
-dest="$target/$(basename "$1")"
+dest="$target/$(basename $1)"
 cp "$1" "$dest" && chmod +w "$dest" && touch -r "$1" "$dest"
 else
 ln -s -f -t "$target" "$1"
@@ -67,7 +67,7 @@
 }
 function children_to_path() {
 if [ -d $EXT_BUILD_DEPS/bin ]; then
-local tools=$(find "$EXT_BUILD_DEPS/bin" -maxdepth 1 -mindepth 1)
+local tools=$(find $EXT_BUILD_DEPS/bin -maxdepth 1 -mindepth 1)
 for tool in $tools;
 do
 if  [[ -d "$tool" ]] || [[ -L "$tool" ]]; then
@@ -82,7 +82,7 @@
 IFS=$'
 '
 # Find all real files. Symlinks are assumed to be relative to something within the directory we're seaching and thus ignored
-local files=$(find -P "$1" \( -type f -and \( -name "*.pc" -or -name "*.la" -or -name "*-config" -or -name "*.mk" -or -name "*.cmake" \) \))
+local files=$(find -P $1 \( -type f -and \( -name "*.pc" -or -name "*.la" -or -name "*-config" -or -name "*.mk" -or -name "*.cmake" \) \))
 IFS=$SAVEIFS
 for file in ${files[@]}; do
 local backup=$(mktemp)
@@ -101,7 +101,7 @@
 echo """"
 set -euo pipefail
 export EXT_BUILD_ROOT=$(pwd)
-export INSTALLDIR=$EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel
+export INSTALLDIR=$EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel
 export BUILD_TMPDIR=$INSTALLDIR.build_tmpdir
 export EXT_BUILD_DEPS=$INSTALLDIR.ext_build_deps
 export INSTALL_MOD_PATH="${INSTALLDIR}"
@@ -16394,28 +16394,28 @@
 symlink_contents_to_dir $EXT_BUILD_ROOT/usfp-firewall/common/pport_common.h $EXT_BUILD_DEPS/include
 symlink_contents_to_dir $EXT_BUILD_ROOT/usfp-firewall/common/usfpcom.h $EXT_BUILD_DEPS/include
 symlink_contents_to_dir $EXT_BUILD_ROOT/fp-firewall-kernel/include/rpc_common.h $EXT_BUILD_DEPS/include
-symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/include/_virtual_includes/include_common $EXT_BUILD_DEPS/include
-symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers $EXT_BUILD_DEPS/include
+symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/include/_virtual_includes/include_common $EXT_BUILD_DEPS/include
+symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers $EXT_BUILD_DEPS/include
 mkdir -p $EXT_BUILD_DEPS/bin
-symlink_to_dir $EXT_BUILD_ROOT/bazel-out/k8-opt-exec-2B5CBBC6-ST-637b608834f3/bin/external/rules_foreign_cc/toolchains $EXT_BUILD_DEPS/bin/
+symlink_to_dir $EXT_BUILD_ROOT/bazel-out/k8-opt-exec-2B5CBBC6/bin/external/rules_foreign_cc/toolchains $EXT_BUILD_DEPS/bin/
 children_to_path $EXT_BUILD_DEPS/bin
 export PATH="$EXT_BUILD_DEPS/bin:$PATH"
 cd $BUILD_TMPDIR
 replace_in_files $EXT_BUILD_DEPS \${EXT_BUILD_DEPS} $EXT_BUILD_DEPS
 replace_in_files $EXT_BUILD_DEPS \${EXT_BUILD_ROOT} $EXT_BUILD_ROOT
-symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel $BUILD_TMPDIR
+symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel $BUILD_TMPDIR
 set -x
-ARFLAGS="rcsD" ASFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc" CFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" CXXFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" LDFLAGS="-Wl,-z,relro,-z,now -no-canonical-prefixes -pass-exit-codes --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" AR="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-ar" CC="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CXX="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CPPFLAGS="-I$EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/include/_virtual_includes/include_common -I$EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/EDID -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/cdrom -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/filesystems/cifs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/kbuild -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/media -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/scsi/scsi_transport_srp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/sphinx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/trace/postprocess -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/math-emu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-axs10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-eznps -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-hsdk -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-sim -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-tb10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/bootp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/compressed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/common -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/crypto -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/firmware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/hardware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/mach -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/xen -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/debug -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm/hyp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-actions -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-alpine -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-artpec -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-asm9260 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-aspeed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-at91 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-axxia -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-bcm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-berlin -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-clps711x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-cns3xxx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-davinci -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-digicolor -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-dove -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ebsa110 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-efm32 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ep93xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-exynos -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-footbridge -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-gemini -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-highbank -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-hisi -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx/devices -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-integrator -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop13xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop32x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop33x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ixp4xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-keystone -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ks8695 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc18xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc32xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mediatek -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-meson -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mmp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-moxart -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mv78xx0 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mvebu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mxs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-netx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-nomadik -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-nspire -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-omap1 -I$EXT_BUILD_ROOT
-ARFLAGS="rcsD" ASFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc" CFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" CXXFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" LDFLAGS="-Wl,-z,relro,-z,now -no-canonical-prefixes -pass-exit-codes --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" AR="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-ar" CC="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CXX="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CPPFLAGS="-I$EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/include/_virtual_includes/include_common -I$EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/EDID -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/cdrom -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/filesystems/cifs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/kbuild -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/media -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/scsi/scsi_transport_srp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/sphinx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/trace/postprocess -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/math-emu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-axs10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-eznps -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-hsdk -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-sim -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-tb10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/bootp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/compressed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/common -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/crypto -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/firmware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/hardware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/mach -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/xen -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/debug -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm/hyp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-actions -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-alpine -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-artpec -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-asm9260 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-aspeed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-at91 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-axxia -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-bcm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-berlin -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-clps711x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-cns3xxx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-davinci -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-digicolor -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-dove -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ebsa110 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-efm32 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ep93xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-exynos -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-footbridge -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-gemini -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-highbank -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-hisi -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx/devices -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-integrator -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop13xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop32x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop33x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ixp4xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-keystone -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ks8695 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc18xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc32xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mediatek -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-meson -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mmp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-moxart -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mv78xx0 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mvebu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mxs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-netx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-nomadik -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-nspire -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-omap1 -I$EXT_BUILD_ROOT
+ARFLAGS="rcsD" ASFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc" CFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" CXXFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" LDFLAGS="-Wl,-z,relro,-z,now -no-canonical-prefixes -pass-exit-codes --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" AR="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-ar" CC="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CXX="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" INSTALL_MOD_PATH="${INSTALLDIR}" TOP_SCRIPT_PATH="../../../" VERSION_HEADER_LOCATION="EXT_BUILD_DEPS/include" MRVL_PCIE_EP_DIR="$(dirname EXT_BUILD_ROOT$/external/kernel_source_armada/package-headers/rpc_handler/mv_facility.h)" NPU_KERNELDIR="(dirname $EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/.config)" CPPFLAGS="-I$EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/include/_virtual_includes/include_common -I$EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/EDID -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/cdrom -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/filesystems/cifs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/kbuild -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/media -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/scsi/scsi_transport_srp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/sphinx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/trace/postprocess -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/math-emu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-axs10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-eznps -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-hsdk -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-sim -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-tb10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/bootp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/compressed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/common -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/crypto -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/firmware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/hardware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/mach -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/xen -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/debug -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm/hyp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-actions -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-alpine -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-artpec -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-asm9260 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-aspeed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-at91 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-axxia -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-bcm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-berlin -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-clps711x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-cns3xxx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-davinci -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-digicolor -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-dove -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ebsa110 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-efm32 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ep93xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-exynos -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-footbridge -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-gemini -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-highbank -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-hisi -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx/devices -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-integrator -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop13xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop32x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop33x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ixp4xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-keystone -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ks8695 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc18xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc32xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mediatek -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-meson -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mmp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-moxart -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mv78xx0 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mvebu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mxs -I$EXT_BUILD_ROOT
+ARFLAGS="rcsD" ASFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc" CFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" CXXFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" LDFLAGS="-Wl,-z,relro,-z,now -no-canonical-prefixes -pass-exit-codes --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" AR="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-ar" CC="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CXX="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" INSTALL_MOD_PATH="${INSTALLDIR}" TOP_SCRIPT_PATH="../../../" VERSION_HEADER_LOCATION="EXT_BUILD_DEPS/include" MRVL_PCIE_EP_DIR="$(dirname EXT_BUILD_ROOT$/external/kernel_source_armada/package-headers/rpc_handler/mv_facility.h)" NPU_KERNELDIR="(dirname $EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/.config)" CPPFLAGS="-I$EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/include/_virtual_includes/include_common -I$EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/EDID -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/cdrom -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/filesystems/cifs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/kbuild -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/media -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/scsi/scsi_transport_srp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/sphinx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/trace/postprocess -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/math-emu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-axs10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-eznps -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-hsdk -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-sim -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-tb10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/bootp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/compressed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/common -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/crypto -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/firmware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/hardware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/mach -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/xen -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/debug -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm/hyp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-actions -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-alpine -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-artpec -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-asm9260 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-aspeed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-at91 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-axxia -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-bcm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-berlin -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-clps711x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-cns3xxx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-davinci -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-digicolor -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-dove -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ebsa110 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-efm32 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ep93xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-exynos -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-footbridge -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-gemini -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-highbank -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-hisi -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx/devices -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-integrator -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop13xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop32x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop33x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ixp4xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-keystone -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ks8695 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc18xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc32xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mediatek -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-meson -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mmp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-moxart -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mv78xx0 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mvebu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mxs -I$EXT_BUILD_ROOT
 set +x
 replace_in_files $INSTALLDIR $BUILD_TMPDIR \${EXT_BUILD_DEPS}
 replace_in_files $INSTALLDIR $EXT_BUILD_DEPS \${EXT_BUILD_DEPS}
 replace_in_files $INSTALLDIR $EXT_BUILD_ROOT \${EXT_BUILD_ROOT}
-mkdir -p $EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/kernel/usfp_rh/copy_usfp_kernel/usfp_kernel
-cp -L -r --no-target-directory "$INSTALLDIR" "$EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/kernel/usfp_rh/copy_usfp_kernel/usfp_kernel" && find "$EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/kernel/usfp_rh/copy_usfp_kernel/usfp_kernel" -type f -exec touch -r "$INSTALLDIR" "{}" \;
+mkdir -p $EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/copy_usfp_kernel/usfp_kernel
+cp -L -r --no-target-directory "$INSTALLDIR" "$EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/copy_usfp_kernel/usfp_kernel" && find $EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/copy_usfp_kernel/usfp_kernel -type f -exec touch -r "$INSTALLDIR" "{}" \;
 cd $EXT_BUILD_ROOT
-if [[ -L "bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel/lib/modules/4.14.207-10.3.8.0-1/extra/usfp_rh.ko" ]]; then
-  target="$(readlink -f "bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel/lib/modules/4.14.207-10.3.8.0-1/extra/usfp_rh.ko")"
-  rm "bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel/lib/modules/4.14.207-10.3.8.0-1/extra/usfp_rh.ko" && cp -a "${target}" "bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel/lib/modules/4.14.207-10.3.8.0-1/extra/usfp_rh.ko"
+if [[ -L "bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel/lib/modules/4.14.207-10.3.8.0-1/extra/usfp_rh.ko" ]]; then
+  target="$(readlink -f "bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel/lib/modules/4.14.207-10.3.8.0-1/extra/usfp_rh.ko")"
+  rm "bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel/lib/modules/4.14.207-10.3.8.0-1/extra/usfp_rh.ko" && cp -a "${target}" "bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel/lib/modules/4.14.207-10.3.8.0-1/extra/usfp_rh.ko"
 fi

Line 16409 corresponds to the second line in the diff which starts with "ARGFLAGS". I'm happy to provide the complete contents, but I didn't think a 3MB shell file would be useful.

A run of shellcheck over the failing shell script produces thousands of lines of errors. I instead used 'sed' to standardize the filenames in the reports and then diffed them. It looks like there's a shell quoting issue:

$ diff -du working-1a262c9-999.shellcheck failing-f61ce5d-999.shellcheck | head -n 150
--- working-1a262c9-999.shellcheck      2022-01-21 07:44:24.657641661 +0800
+++ failing-f61ce5d-999.shellcheck      2022-01-21 07:45:03.577918479 +0800
@@ -4,6 +4,11 @@
       ^-- SC2155: Declare and assign separately to avoid masking return values.

+In working-999.sh line 44:
+dest="$target/$(basename $1)"
+                         ^-- SC2086: Double quote to prevent globbing and word splitting.
+
+
 In working-999.sh line 57:
 local dirname=$(basename "$1")
       ^-- SC2155: Declare and assign separately to avoid masking return values.
@@ -15,13 +20,15 @@

 In working-999.sh line 70:
-local tools=$(find "$EXT_BUILD_DEPS/bin" -maxdepth 1 -mindepth 1)
+local tools=$(find $EXT_BUILD_DEPS/bin -maxdepth 1 -mindepth 1)
       ^-- SC2155: Declare and assign separately to avoid masking return values.
+                   ^-- SC2086: Double quote to prevent globbing and word splitting.

 In working-999.sh line 85:
-local files=$(find -P "$1" \( -type f -and \( -name "*.pc" -or -name "*.la" -or -name "*-config" -or -name "*.mk" -or -name "*.cmake" \) \))
+local files=$(find -P $1 \( -type f -and \( -name "*.pc" -or -name "*.la" -or -name "*-config" -or -name "*.mk" -or -name "*.cmake" \) \))
       ^-- SC2155: Declare and assign separately to avoid masking return values.
+                      ^-- SC2086: Double quote to prevent globbing and word splitting.

 In working-999.sh line 87:
@@ -97747,15 +97754,15 @@

 In working-999.sh line 16397:
-symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/include/_virtual_includes/include_common $EXT_BUILD_DEPS/include
+symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/include/_virtual_includes/include_common $EXT_BUILD_DEPS/include
                         ^-- SC2086: Double quote to prevent globbing and word splitting.
-                                                                                                                                    ^-- SC2086: Double quote to prevent globbing and word splitting.
+                                                                                                                    ^-- SC2086: Double quote to prevent globbing and word splitting.

 In working-999.sh line 16398:
-symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers $EXT_BUILD_DEPS/include
+symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers $EXT_BUILD_DEPS/include
                         ^-- SC2086: Double quote to prevent globbing and word splitting.
-                                                                                                                                                         ^-- SC2086: Double quote to prevent globbing and word splitting.
+                                                                                                                                         ^-- SC2086: Double quote to prevent globbing and word splitting.

 In working-999.sh line 16399:
@@ -97764,9 +97771,9 @@

 In working-999.sh line 16400:
-symlink_to_dir $EXT_BUILD_ROOT/bazel-out/k8-opt-exec-2B5CBBC6-ST-637b608834f3/bin/external/rules_foreign_cc/toolchains $EXT_BUILD_DEPS/bin/
+symlink_to_dir $EXT_BUILD_ROOT/bazel-out/k8-opt-exec-2B5CBBC6/bin/external/rules_foreign_cc/toolchains $EXT_BUILD_DEPS/bin/
                ^-- SC2086: Double quote to prevent globbing and word splitting.
-                                                                                                                       ^-- SC2086: Double quote to prevent globbing and word splitting.
+                                                                                                       ^-- SC2086: Double quote to prevent globbing and word splitting.

 In working-999.sh line 16401:
@@ -97796,154 +97803,29 @@

 In working-999.sh line 16406:
-symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel $BUILD_TMPDIR
+symlink_contents_to_dir $EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel $BUILD_TMPDIR
                         ^-- SC2086: Double quote to prevent globbing and word splitting.
-                                                                                                                      ^-- SC2086: Double quote to prevent globbing and word splitting.
+                                                                                                      ^-- SC2086: Double quote to prevent globbing and word splitting.

 In working-999.sh line 16408:
-ARFLAGS="rcsD" ASFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc" CFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" CXXFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" LDFLAGS="-Wl,-z,relro,-z,now -no-canonical-prefixes -pass-exit-codes --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" AR="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-ar" CC="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CXX="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CPPFLAGS="-I$EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/include/_virtual_includes/include_common -I$EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/EDID -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/cdrom -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/filesystems/cifs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/kbuild -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/media -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/scsi/scsi_transport_srp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/sphinx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/trace/postprocess -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/math-emu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-axs10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-eznps -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-hsdk -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-sim -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-tb10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/bootp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/compressed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/common -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/crypto -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/firmware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/hardware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/mach -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/xen -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/debug -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm/hyp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-actions -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-alpine -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-artpec -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-asm9260 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-aspeed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-at91 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-axxia -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-bcm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-berlin -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-clps711x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-cns3xxx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-davinci -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-digicolor -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-dove -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ebsa110 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-efm32 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ep93xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-exynos -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-footbridge -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-gemini -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-highbank -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-hisi -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx/devices -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-integrator -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop13xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop32x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop33x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ixp4xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-keystone -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ks8695 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc18xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc32xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mediatek -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-meson -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mmp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-moxart -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mv78xx0 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mvebu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mxs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-netx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-nomadik -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-nspire -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-omap1 -I$EXT_BUILD_ROOT
-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^-- SC1078: Did you forget to close this double quoted string?
+ARFLAGS="rcsD" ASFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc" CFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" CXXFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" LDFLAGS="-Wl,-z,relro,-z,now -no-canonical-prefixes -pass-exit-codes --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" AR="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-ar" CC="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CXX="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" INSTALL_MOD_PATH="${INSTALLDIR}" TOP_SCRIPT_PATH="../../../" VERSION_HEADER_LOCATION="EXT_BUILD_DEPS/include" MRVL_PCIE_EP_DIR="$(dirname EXT_BUILD_ROOT$/external/kernel_source_armada/package-headers/rpc_handler/mv_facility.h)" NPU_KERNELDIR="(dirname $EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/.config)" CPPFLAGS="-I$EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/include/_virtual_includes/include_common -I$EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/EDID -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/cdrom -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/filesystems/cifs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/kbuild -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/media -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/scsi/scsi_transport_srp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/sphinx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/trace/postprocess -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/math-emu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-axs10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-eznps -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-hsdk -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-sim -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-tb10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/bootp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/compressed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/common -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/crypto -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/firmware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/hardware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/mach -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/xen -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/debug -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm/hyp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-actions -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-alpine -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-artpec -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-asm9260 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-aspeed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-at91 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-axxia -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-bcm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-berlin -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-clps711x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-cns3xxx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-davinci -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-digicolor -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-dove -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ebsa110 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-efm32 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ep93xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-exynos -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-footbridge -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-gemini -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-highbank -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-hisi -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx/devices -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-integrator -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop13xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop32x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop33x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ixp4xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-keystone -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ks8695 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc18xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc32xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mediatek -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-meson -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mmp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-moxart -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mv78xx0 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mvebu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mxs -I$EXT_BUILD_ROOT
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^-- SC1078: Did you forget to close this double quoted string?

 In working-999.sh line 16409:
-ARFLAGS="rcsD" ASFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc" CFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" CXXFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" LDFLAGS="-Wl,-z,relro,-z,now -no-canonical-prefixes -pass-exit-codes --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" AR="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-ar" CC="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CXX="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CPPFLAGS="-I$EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/usfp-firewall/include/_virtual_includes/include_common -I$EXT_BUILD_ROOT/bazel-out/k8-dbg-ST-637b608834f3/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/EDID -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/cdrom -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/filesystems/cifs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/kbuild -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/media -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/scsi/scsi_transport_srp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/sphinx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/trace/postprocess -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/math-emu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-axs10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-eznps -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-hsdk -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-sim -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-tb10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/bootp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/compressed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/common -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/crypto -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/firmware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/hardware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/mach -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/xen -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/debug -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm/hyp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-actions -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-alpine -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-artpec -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-asm9260 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-aspeed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-at91 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-axxia -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-bcm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-berlin -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-clps711x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-cns3xxx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-davinci -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-digicolor -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-dove -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ebsa110 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-efm32 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ep93xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-exynos -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-footbridge -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-gemini -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-highbank -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-hisi -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx/devices -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-integrator -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop13xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop32x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop33x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ixp4xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-keystone -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ks8695 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc18xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc32xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mediatek -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-meson -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mmp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-moxart -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mv78xx0 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mvebu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mxs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-netx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-nomadik -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-nspire -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-omap1 -I$EXT_BUILD_ROOT
+ARFLAGS="rcsD" ASFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc" CFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" CXXFLAGS="-D_FORTIFY_SOURCE=1 -fstack-protector -Wall -fno-omit-frame-pointer -g3 -march=armv8-a+crc --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" LDFLAGS="-Wl,-z,relro,-z,now -no-canonical-prefixes -pass-exit-codes --sysroot=/opt/marvell-tools-249.0/aarch64-marvell-linux-gnu/sys-root" AR="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-ar" CC="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" CXX="/opt/marvell-tools-249.0/bin/aarch64-marvell-linux-gnu-gcc" INSTALL_MOD_PATH="${INSTALLDIR}" TOP_SCRIPT_PATH="../../../" VERSION_HEADER_LOCATION="EXT_BUILD_DEPS/include" MRVL_PCIE_EP_DIR="$(dirname EXT_BUILD_ROOT$/external/kernel_source_armada/package-headers/rpc_handler/mv_facility.h)" NPU_KERNELDIR="(dirname $EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/.config)" CPPFLAGS="-I$EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/usfp-firewall/include/_virtual_includes/include_common -I$EXT_BUILD_ROOT/bazel-out/k8-dbg/bin/external/kernel_source_host/_virtual_includes/kernel_user_netfilter_headers -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/EDID -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/cdrom -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/filesystems/cifs -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/kbuild -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/media -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/scsi/scsi_transport_srp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/sphinx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/Documentation/trace/postprocess -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/math-emu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/alpha/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/mm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/oprofile -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-axs10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-eznps -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-hsdk -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-sim -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arc/plat-tb10x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/bootp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/compressed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/boot/dts -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/common -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/crypto -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/firmware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/hardware -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/mach -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/asm/xen -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/debug -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/include/uapi/asm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kernel -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/kvm/hyp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/lib -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-actions -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-alpine -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-artpec -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-asm9260 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-aspeed -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-at91 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-axxia -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-bcm -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-berlin -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-clps711x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-cns3xxx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-davinci -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-digicolor -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-dove -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ebsa110 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-efm32 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ep93xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-exynos -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-footbridge -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-gemini -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-highbank -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-hisi -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-imx/devices -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-integrator -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop13xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop32x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-iop33x -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ixp4xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-keystone -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-ks8695 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc18xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-lpc32xx -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mediatek -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-meson -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mmp -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-moxart -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mv78xx0 -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mvebu -I$EXT_BUILD_ROOT/external/kernel_source_armada/linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/arch/arm/mach-mxs -I$EXT_BUILD_ROOT
         ^-- SC1079: This is actually an end quote, but due to next char it looks suspect.
          ^-- SC2140: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^-- SC2140: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^-- SC2140: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^-- SC2140: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?

fmeum commented 2 years ago

The part of the diff that's

-dest="$target/$(basename "$1")"
+dest="$target/$(basename $1)"

looks very suspicious to me. This should be a fixed part of the build script and in fact I can't find dest="$target/$(basename $1)" anywhere in the codebase, whereas dest="$target/$(basename "$1")" is used in the expected places. I also can't reproduce this change in my tests.

In line 16408, it looks like the CPP_FLAGS just stop without the final quote, which seems to be the cause of the build failure. I have a suspicion what's causing this.

@garrettkajmowicz-sophos Getting both the full build script and the diff to how it looked before would be very helpful. You can attach files to PRs, so you don't have to paste the 3 MB here.

fmeum commented 2 years ago

@garrettkajmowicz-sophos Before I dive deeper into this, could you give https://github.com/bazelbuild/rules_foreign_cc/commit/ab9890487fcb9487560589dc19070089e4e4785c a try in addition to the other fixes and report back?

garrettkajmowicz-sophos commented 2 years ago

I had to rename the generated .sh files to have a .txt extension to allow them to be uploaded.

Running at commit ab98904 specifically resulted in a different failure.

bazel-out/k8-dbg/bin/usfp-firewall/kernel/usfp_rh/usfp_kernel_foreign_cc/build_script.sh: line 16408: /var/tmp/gk/bazel_cache/sandbox/linux-sandbox/4/execroot/__main__/bazel-out/k8-opt-exec-2B5CBBC6/bin/external/rules_foreign_cc/toolchains/make/bin/make: Argument list too long

It also resulted in the original netmap failure recurring.

On the off-chance you wanted me to cherry-pick ab98904 on top of other commits, I tried applying that change to other commits and tested them. Applied to 6a51c430, Netmap again worked but the usfp code failed with the same "Argument list too long" error. Applied to c8cd1809, Netmap again worked but the usfp code failed with the same "Argument list too long" error.

working-1a262c9.sh.txt failing-f61ce5d.sh.txt failing-6a51c43.sh.txt failing-ab9890487f.sh.txt failing-ab9890487f.log

fmeum commented 2 years ago

Thanks for trying all these combinations. I think that we are making progress, I submitted #862 to fix the correctness issue.

We can of course extract the environment variable definitions into separate lines, which may make the line short enough to evade the limit. But eventually the definitions by themselves might get too large.

@garrettkajmowicz-sophos Do you know why your build rule has so many include directories? If things were working before, it's likely that these just weren't passed to make. Are they perhaps not needed?

Could you also try again with https://github.com/bazelbuild/rules_foreign_cc/commit/77086e0995251ff6712059720a4bc3a5f5a938e6 on top of the other commits? That extracts the env variables into separate commands.

garrettkajmowicz-sophos commented 2 years ago

I'll get you the test results shortly. The best answer I have for the number of include directories is that it involves the large number of headers. Maybe I could be doing something better, but there isn't a lot of guidance here. Summary: My WORKSPACE file does a new_local_repository() pointing at a complete set of linux kernel headers with a BUILD file which has principally:

filegroup(
    name = "whole_kernel_tree",
    srcs = glob(["linux-headers/usr/src/linux-headers-4.14.207-10.3.8.0-1/**/*"],
                exclude = [".git/**"]),
)
select_file(
    name = "kernel_config_file",
    srcs = ":whole_kernel_tree",
    subpath = ".config",
)

Then in the usfp make() declaration I have the relevant source and config file items listed in both deps[] and data[]. There are no other data[] elements, though there are about a dozen other deps[] entries. Those deps[] entries are pretty small, though, being mostly header files with a shallow dependency tree.

It looks to me as although there's a separate -I statement for every directory in the linux kernel tree which is a bit much, but I didn't do it directly.

garrettkajmowicz-sophos commented 2 years ago

Running at 50ee9979 (current head-of-line) encounters the original issue, as expected, as does your version at 831a6641. Commit 831a6641 + c8cd1809 + 77086e09 = 9f4fadff works for netmap but not usfp. Commit 831a6641 + 6a51c430 + 77086e09 = b29830d0 fails for netmap (usfp simlarily) with:

ERROR: /var/tmp/gk/repo_bazel/netmap/BUILD:11:6: in make rule //netmap:netmap: 
Traceback (most recent call last):
        File "/var/tmp/gk/bazel_cache/external/rules_foreign_cc/foreign_cc/make.bzl", line 36, column 33, in _make
                return cc_external_rule_impl(ctx, attrs)
        File "/var/tmp/gk/bazel_cache/external/rules_foreign_cc/foreign_cc/private/framework.bzl", line 446, column 29, in cc_external_rule_impl
                convert_shell_script(ctx, script_lines),
        File "/var/tmp/gk/bazel_cache/external/rules_foreign_cc/foreign_cc/private/framework/helpers.bzl", line 74, column 43, in convert_shell_script
                return convert_shell_script_by_context(create_context(ctx), script)
        File "/var/tmp/gk/bazel_cache/external/rules_foreign_cc/foreign_cc/private/framework/helpers.bzl", line 116, column 30, in convert_shell_script_by_context
                script = [replace_var_ref(line, shell_context) for line in script]
        File "/var/tmp/gk/bazel_cache/external/rules_foreign_cc/foreign_cc/private/framework/helpers.bzl", line 127, column 51, in replace_var_ref
                (before, varname, after) = extract_wrapped(current, "$$")
        File "/var/tmp/gk/bazel_cache/external/rules_foreign_cc/foreign_cc/private/framework/helpers.bzl", line 181, column 13, in extract_wrapped
                fail("Variable or function name is not marked correctly in fragment: {}".format(text))
Error in fail: Variable or function name is not marked correctly in fragment: EXT_BUILD_ROOT$$/external/kernel_source_host/.config)"

Commit 7205619 + 77086e09 does not apply cleanly. Commit 6a51c430 + 77086e09 = 99738ed6 Netmap compiles, usfp does not.

I'm uncertain which combination of commits you wanted tested so I did a varied selection. Let me know if you want more done.

failing-9f4fadff.sh.txt failing-9f4fadff.log failing-99738ed6.sh.txt failing-99738ed6.log

fmeum commented 2 years ago

@garrettkajmowicz-sophos Would you be able to share a small reproducer as a repository (essentially just your WORKSPACE and BUILD files, including the snippet you posted above)? That way I could more easily iterate on commits and also investigate whether or not this impressive include directory list can be trimmed down.

garrettkajmowicz-sophos commented 2 years ago

@fmeum is there an automatic/standardized way to do this? I'm creating a parallel directory and copying over relevant WORKSPACE/BUILD/*.bzl files and I'd like to be able to both trim down what I send as well as ensure you get everything you need.

fmeum commented 2 years ago

@fmeum is there an automatic/standardized way to do this? I'm creating a parallel directory and copying over relevant WORKSPACE/BUILD/*.bzl files and I'd like to be able to both trim down what I send as well as ensure you get everything you need.

I fear there is not. I usually start out by commenting out most of WORKSPACE and then copy what's left over into a separate directory, adding stuff if I forgot anything.

garrettkajmowicz-sophos commented 2 years ago

@fmeum : I send a tarball to what I believe is your email address as provided on your website.

fmeum commented 2 years ago

@fmeum : I send a tarball to what I believe is your email address as provided on your website.

Thanks, I received it and will work on getting the reproducer to build.