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

Error with toolchain compilation #303

Open
jmcastillejo opened this issue Sep 27, 2022 · 0 comments
Open

Error with toolchain compilation #303

jmcastillejo opened this issue Sep 27, 2022 · 0 comments

Comments

@jmcastillejo
Copy link

the linaro version is gcc-linaro-7.1.1-2017.08 and the branch sunxi-next

jose@pc:~/tabletWoxter/linux-sunxi$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -j4 zImage
SYNC include/config/auto.conf.cmd
SYSHDR arch/arm/include/generated/uapi/asm/unistd-oabi.h
SYSHDR arch/arm/include/generated/uapi/asm/unistd-eabi.h
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
LEX scripts/dtc/dtc-lexer.lex.c
YACC scripts/dtc/dtc-parser.tab.[ch]
HOSTCC scripts/dtc/libfdt/fdt.o
HOSTCC scripts/dtc/libfdt/fdt_ro.o
HOSTCC scripts/dtc/libfdt/fdt_wip.o
HOSTCC scripts/dtc/libfdt/fdt_sw.o
HOSTCC scripts/dtc/libfdt/fdt_rw.o
HOSTCC scripts/dtc/libfdt/fdt_strerror.o
HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o
HOSTCC scripts/dtc/libfdt/fdt_addresses.o
HOSTCC scripts/dtc/libfdt/fdt_overlay.o
HOSTCC scripts/dtc/fdtoverlay.o
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/fdtoverlay
HOSTLD scripts/dtc/dtc
HOSTCC scripts/kallsyms
HOSTCC scripts/sorttable
HOSTCXX scripts/gcc-plugins/arm_ssp_per_task_plugin.so
In file included from /home/jose/Pi_Zero/gcc-linaro-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.1.1/plugin/include/coretypes.h:367,
from /home/jose/Pi_Zero/gcc-linaro-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.1.1/plugin/include/gcc-plugin.h:29,
from scripts/gcc-plugins/gcc-common.h:7,
from scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
/home/jose/Pi_Zero/gcc-linaro-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.1.1/plugin/include/real.h:74:68: error: size ‘-1’ of array ‘test_real_width’ is negative
74 | [sizeof (REAL_VALUE_TYPE) <= REAL_WIDTH * sizeof (HOST_WIDE_INT) ? 1 : -1];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
cc1plus: warning: unrecognized command line option ‘-Wno-format-diag’
make[2]: *** [scripts/gcc-plugins/Makefile:48: scripts/gcc-plugins/arm_ssp_per_task_plugin.so] Error 1
make[1]: *** [scripts/Makefile.build:549: scripts/gcc-plugins] Error 2
make: *** [Makefile:1181: scripts] Error 2

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