armlink : error L6065: Load region LR$$Debug (size 0x9e19f85c) is larger than maximum writable contiguous block size of 0x80000000.
Is this a bug in the arm compiler?
I don't know how to reproduce this in a simple project. We have temporarily avoided this problem by modifying some files to compile with O1. I guess it may be related to our large number of global variables. These global variables have two characteristics: 1 ) There are static variables in the global variable constructor. 2) Global variables have member variables like "std::variant<std::monostate, std::function<bool(char* strBuf, const size_t bufSize)>"