Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building fails with bootlin or1k toolchain due to -fstack-protector-strong enabled by default #219

Open
zador-blood-stained opened this issue Mar 14, 2024 · 0 comments

Comments

@zador-blood-stained
Copy link

Bug report (toolchain compatibility issue)

The current bootlin or1k toolchain openrisc--musl--stable-2024.02-1 is built with -fstack-protector-strong present in default GCC options which breaks the build at linking stage due to undefined references to __stack_chk_guard and __stack_chk_fail.

Adding -fno-stack-protector to CFLAGS fixes the build (can be added unconditionally or conditionally with cc-option implemented similar to ld-option).

GCC version info:

root@buildserver:~/arm# /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -v -c
Using built-in specs.
COLLECT_GCC=/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc.br_real
Target: or1k-buildroot-linux-musl
Configured with: ./configure --prefix=/builds/buildroot.org/toolchains-builder/build/openrisc--musl--stable-2024.02-1 --sysconfdir=/builds/buildroot.org/toolchains-builder/build/openrisc--musl--stable-2024.02-1/etc --enable-static --target=or1k-buildroot-linux-musl --with-sysroot=/builds/buildroot.org/toolchains-builder/build/openrisc--musl--stable-2024.02-1/or1k-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/builds/buildroot.org/toolchains-builder/build/openrisc--musl--stable-2024.02-1 --with-mpc=/builds/buildroot.org/toolchains-builder/build/openrisc--musl--stable-2024.02-1 --with-mpfr=/builds/buildroot.org/toolchains-builder/build/openrisc--musl--stable-2024.02-1 --with-pkgversion='Buildroot 2021.11-11272-ge2962af' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --enable-languages=c,c++,fortran --with-build-time-tools=/builds/buildroot.org/toolchains-builder/build/openrisc--musl--stable-2024.02-1/or1k-buildroot-linux-musl/bin --enable-shared --enable-libgomp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.3.0 (Buildroot 2021.11-11272-ge2962af)
COMPILER_PATH=/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../libexec/gcc/or1k-buildroot-linux-musl/12.3.0/:/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../libexec/gcc/:/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../lib/gcc/or1k-buildroot-linux-musl/12.3.0/../../../../or1k-buildroot-linux-musl/bin/
LIBRARY_PATH=/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../lib/gcc/or1k-buildroot-linux-musl/12.3.0/:/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../lib/gcc/:/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../lib/gcc/or1k-buildroot-linux-musl/12.3.0/../../../../or1k-buildroot-linux-musl/lib/:/opt/toolchains/openrisc--musl--stable-2024.02-1/or1k-buildroot-linux-musl/sysroot/lib/:/opt/toolchains/openrisc--musl--stable-2024.02-1/or1k-buildroot-linux-musl/sysroot/usr/lib/
COLLECT_GCC_OPTIONS='--sysroot=/opt/toolchains/openrisc--musl--stable-2024.02-1/or1k-buildroot-linux-musl/sysroot' '-fstack-protector-strong' '-fPIE' '-pie' '-v' '-c'

Build log (verbose)

root@buildserver:~/crust# make CROSS_COMPILE=/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux- V=1 scp
exec scripts/version.sh /root/crust build/include/version.h
exec mkdir -p build/scp/arch/or1k
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -E -MMD -MT build/scp/arch/or1k/scp.ld.o -P -o build/scp/arch/or1k/scp.ld.o arch/or1k/scp.ld.S
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/arch/or1k/counter.o arch/or1k/counter.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/arch/or1k/exception.o arch/or1k/exception.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/arch/or1k/math.o arch/or1k/math.S
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/arch/or1k/runtime.o arch/or1k/runtime.S
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/arch/or1k/start.o arch/or1k/start.S
exec mkdir -p build/scp/common
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/common/debug.o common/debug.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/common/delay.o common/delay.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/common/device.o common/device.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/common/regulator_list.o common/regulator_list.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/common/scpi.o common/scpi.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/common/scpi_cmds.o common/scpi_cmds.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/common/simple_device.o common/simple_device.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/common/system.o common/system.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/common/timeout.o common/timeout.c
exec mkdir -p build/scp/drivers/clock
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/clock/clock.o drivers/clock/clock.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/clock/ccu.o drivers/clock/ccu.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/clock/ccu_helpers.o drivers/clock/ccu_helpers.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/clock/r_ccu_common.o drivers/clock/r_ccu_common.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/clock/sun50i-a64-ccu.o drivers/clock/sun50i-a64-ccu.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/clock/sun8i-r-ccu.o drivers/clock/sun8i-r-ccu.c
exec mkdir -p build/scp/drivers/counter
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/counter/sun6i-a31-cnt64.o drivers/counter/sun6i-a31-cnt64.c
exec mkdir -p build/scp/drivers/css
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/css/css.o drivers/css/css.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/css/css_default.o drivers/css/css_default.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/css/css_helpers.o drivers/css/css_helpers.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/css/css_power_state.o drivers/css/css_power_state.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/css/sun50i-a64-css.o drivers/css/sun50i-a64-css.c
exec mkdir -p build/scp/drivers/dram
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/dram/dram.o drivers/dram/dram.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/dram/sun8i-h3-dram.o drivers/dram/sun8i-h3-dram.c
exec mkdir -p build/scp/drivers/gpio
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/gpio/gpio.o drivers/gpio/gpio.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/gpio/sunxi-gpio.o drivers/gpio/sunxi-gpio.c
exec mkdir -p build/scp/drivers/irq
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/irq/irq.o drivers/irq/irq.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/irq/sun6i-a31-r-intc.o drivers/irq/sun6i-a31-r-intc.c
exec mkdir -p build/scp/drivers/msgbox
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/msgbox/msgbox.o drivers/msgbox/msgbox.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/msgbox/sunxi-msgbox.o drivers/msgbox/sunxi-msgbox.c
exec mkdir -p build/scp/drivers/pmic
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/pmic/pmic.o drivers/pmic/pmic.c
exec mkdir -p build/scp/drivers/regmap
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/regmap/regmap.o drivers/regmap/regmap.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/regmap/regmap-i2c.o drivers/regmap/regmap-i2c.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/regmap/sun6i-i2c.o drivers/regmap/sun6i-i2c.c
exec mkdir -p build/scp/drivers/regulator
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/regulator/regulator.o drivers/regulator/regulator.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/regulator/gpio.o drivers/regulator/gpio.c
exec mkdir -p build/scp/drivers/serial
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/serial/serial.o drivers/serial/serial.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/serial/uart.o drivers/serial/uart.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/serial/sun8i-h3-uart.o drivers/serial/sun8i-h3-uart.c
exec mkdir -p build/scp/drivers/watchdog
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/watchdog/watchdog.o drivers/watchdog/watchdog.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/drivers/watchdog/sun6i-a31-wdt.o drivers/watchdog/sun6i-a31-wdt.c
exec mkdir -p build/scp/lib
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Ibuild/include -I./platform/"a64"/include -I./arch/"or1k"/include -I./include/common -I./include/lib -I./include/drivers -I./include/stdlib -include config.h -include compiler.h -include kconfig.h -nostdinc -Werror=missing-include-dirs -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -Wa,--fatal-warnings -Wa,--noexecstack -MMD -c -o build/scp/lib/bitfield.o lib/bitfield.c
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc-ar Drcs build/scp/lib.a build/scp/lib/bitfield.o
exec /opt/toolchains/openrisc--musl--stable-2024.02-1/bin/or1k-linux-gcc -Os -pipe -std=c11 -fdata-sections -ffunction-sections -fno-builtin -fno-common -fvar-tracking-assignments -ggdb -Wall -Wextra -Wformat=2 -Wpedantic -Wshadow -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-arith -Werror=pointer-sign -Werror=strict-prototypes -Werror=undef -Werror=vla -Wno-missing-field-initializers -ffreestanding -flto -fno-asynchronous-unwind-tables -fno-pie -fomit-frame-pointer -funsigned-char -Werror=implicit-fallthrough=5 -ffixed-r2 -msfimm -mshftimm -msoft-div -msoft-mul -nostdlib -no-pie -static -Wl,-O1 -Wl,--build-id=none -Wl,--fatal-warnings -Wl,--gc-sections -Wl,--no-dynamic-linker -Wl,--no-undefined -Wl,--no-warn-rwx-segments -Wl,-Map,build/scp/scp.map -o build/scp/scp.elf -T build/scp/arch/or1k/scp.ld.o build/scp/arch/or1k/counter.o build/scp/arch/or1k/exception.o build/scp/arch/or1k/math.o build/scp/arch/or1k/runtime.o build/scp/arch/or1k/start.o build/scp/common/debug.o build/scp/common/delay.o build/scp/common/device.o build/scp/common/regulator_list.o build/scp/common/scpi.o build/scp/common/scpi_cmds.o build/scp/common/simple_device.o build/scp/common/system.o build/scp/common/timeout.o build/scp/drivers/clock/clock.o build/scp/drivers/clock/ccu.o build/scp/drivers/clock/ccu_helpers.o build/scp/drivers/clock/r_ccu_common.o build/scp/drivers/clock/sun50i-a64-ccu.o build/scp/drivers/clock/sun8i-r-ccu.o build/scp/drivers/counter/sun6i-a31-cnt64.o build/scp/drivers/css/css.o build/scp/drivers/css/css_default.o build/scp/drivers/css/css_helpers.o build/scp/drivers/css/css_power_state.o build/scp/drivers/css/sun50i-a64-css.o build/scp/drivers/dram/dram.o build/scp/drivers/dram/sun8i-h3-dram.o build/scp/drivers/gpio/gpio.o build/scp/drivers/gpio/sunxi-gpio.o build/scp/drivers/irq/irq.o build/scp/drivers/irq/sun6i-a31-r-intc.o build/scp/drivers/msgbox/msgbox.o build/scp/drivers/msgbox/sunxi-msgbox.o build/scp/drivers/pmic/pmic.o build/scp/drivers/regmap/regmap.o build/scp/drivers/regmap/regmap-i2c.o build/scp/drivers/regmap/sun6i-i2c.o build/scp/drivers/regulator/regulator.o build/scp/drivers/regulator/gpio.o build/scp/drivers/serial/serial.o build/scp/drivers/serial/uart.o build/scp/drivers/serial/sun8i-h3-uart.o build/scp/drivers/watchdog/watchdog.o build/scp/drivers/watchdog/sun6i-a31-wdt.o build/scp/lib.a
/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../lib/gcc/or1k-buildroot-linux-musl/12.3.0/../../../../or1k-buildroot-linux-musl/bin/ld: /tmp/cchrjWhZ.ltrans0.ltrans.o: in function `print_number':
/root/crust/common/debug.c:126:(.text.print_number+0x10): undefined reference to `__stack_chk_guard'
/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../lib/gcc/or1k-buildroot-linux-musl/12.3.0/../../../../or1k-buildroot-linux-musl/bin/ld: /root/crust/common/debug.c:126:(.text.print_number+0x30): undefined reference to `__stack_chk_guard'
/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../lib/gcc/or1k-buildroot-linux-musl/12.3.0/../../../../or1k-buildroot-linux-musl/bin/ld: /root/crust/common/debug.c:138:(.text.print_number+0xc8): undefined reference to `__stack_chk_guard'
/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../lib/gcc/or1k-buildroot-linux-musl/12.3.0/../../../../or1k-buildroot-linux-musl/bin/ld: /root/crust/common/debug.c:138:(.text.print_number+0xd8): undefined reference to `__stack_chk_fail'
/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../lib/gcc/or1k-buildroot-linux-musl/12.3.0/../../../../or1k-buildroot-linux-musl/bin/ld: /tmp/cchrjWhZ.ltrans0.ltrans.o: in function `system_state_machine':
/root/crust/common/system.c:84:(.text.system_state_machine+0x10): undefined reference to `__stack_chk_guard'
/opt/toolchains/openrisc--musl--stable-2024.02-1/bin/../lib/gcc/or1k-buildroot-linux-musl/12.3.0/../../../../or1k-buildroot-linux-musl/bin/ld: /root/crust/common/system.c:84:(.text.system_state_machine+0x1c): undefined reference to `__stack_chk_guard'
collect2: error: ld returned 1 exit status
make: *** [Makefile:202: build/scp/scp.elf] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant