[Bug target/101448] Use GCC 9.3.0 to build Ceph crimson-osd on Arm64, linker failed for relocation truncated to fit: R_AARCH64_CALL26 against symbol

2021-07-15 Thread kevin.zhao at linaro dot org via Gcc-bugs
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.

[Bug target/101448] Use GCC 9.3.0 to build Ceph crimson-osd on Arm64, linker failed for relocation truncated to fit: R_AARCH64_CALL26 against symbol

2021-07-15 Thread kevin.zhao at linaro dot org via Gcc-bugs
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

[Bug target/101448] Use GCC 9.3.0 to build Ceph crimson-osd on Arm64, linker failed for relocation truncated to fit: R_AARCH64_CALL26 against symbol

2021-07-14 Thread kevin.zhao at linaro dot org via Gcc-bugs
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.

[Bug c++/101448] New: Use GCC 9.3.0 to build Ceph crimson-osd, linker failed for "relocation truncated to fit" against symbol

2021-07-14 Thread kevin.zhao at linaro dot org via Gcc-bugs
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

[Bug c/100985] New: Aarch64 acle.h "extern "C" {" mismatch "}" in 9.4.0

2021-06-08 Thread kevin.zhao at linaro dot org via Gcc-bugs
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