https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101448
--- Comment #5 from Kevin Zhao <kevin.zhao at linaro dot org> --- Hi Richard, Thanks for your info. Previously it is built without any -O parameters, so it should be -O0 by default. I've tried to use the "-Og" to link, it is quite interesting that use -Og we can link success Also, use -O1, -O2 and -Os, Linking works quite well.