https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115485
--- Comment #3 from Gang Peng <gang.peng at aclsemi dot com> --- Dear Sir, When I build cpp with gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++ I meet this error, and the following compilation options are required: CFLAGS += -fPIE CFLAGS += -msingle-pic-base CFLAGS += -mpic-register=r9 CFLAGS += -fomit-frame-pointer CFLAGS += -mno-pic-data-is-text-relative CFLAGS += -mthumb CFLAGS += -mlong-calls Could you kindly help to have a look how I should solve this problem? thank you very much! BRs Gang Peng