https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101448
--- Comment #7 from Kevin Zhao ---
Hi Richard,
Thanks for your clarification. Really appreciated!
I think that should be the root cause.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101448
--- Comment #5 from Kevin Zhao ---
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 succes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101448
--- Comment #2 from Kevin Zhao ---
Hi Richard,
Thanks for your comments.
Since we have built this with some of the .so file with -fPIC, and
-mcmodel=large is incompatible with -fPIC, so rebuild with -mcmodel is hard to
achieve.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101448
Bug ID: 101448
Summary: Use GCC 9.3.0 to build Ceph crimson-osd, linker failed
for "relocation truncated to fit" against symbol
Product: gcc
Version: 9.3.0
Status: UNCON
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100985
Bug ID: 100985
Summary: Aarch64 acle.h "extern "C" {" mismatch "}" in 9.4.0
Product: gcc
Version: 9.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compon