Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22307

How to fix error cannot load plugin in gcc?

$
0
0

I am compiling a program with gcc plugin recently. My PC is X86_64 and i am doing this on my WSL. My goal is compile it with arm-gcc, so i installed arm-none-eabi-gcc in my WSL. When i want to compile the program with gcc plugin,/home/simon/arm-gcc/gcc-arm-none-eabi-9-2020-q2-update/bin/arm-none-eabi-gcc -fplugin=./my_plugin.so --specs=nosys.specs -g my_file.c my_file2.o -o my_program_name -fsanitize=address -fdump-tree-alli got an error,cc1: error: cannot load plugin ./my_plugin.so./my_plugin.so: undefined symbol: _Z18build_int_cst_typeP9tree_nodel

I am new on this work and i don't know how to fix it. It's really appreciate if anyone can help me. Thanks!


Viewing all articles
Browse latest Browse all 22307

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>