mold
mold copied to clipboard
Unable to link with log4cxx static library, and there was also something wrong with protobuffer lib
My environment is (RHEL release 6.5, Linux Version 2.6.32-431.el6.x86_64) and I try to use mold to link my project with log4cxx.a, there was a crash when running this project, the core file information was put below:

However, it can run successfully when linking with log4cxx dynamic library.
Another question with libprotobuf.a

I have no idea how to solve them.
Thank you for your report. RHEL6.5 is honestly a bit too old (it was released in November 2013) which is no longer supported by the vendor, but I'll take a look.
@wangxiaobai-dd can you please share how you managed to build mold on RHEL6?
I tried doing that but ran into assembler errors as well as problems with stdlib headers
@petr-tik I built gcc11 before building mold, because building mold needs compiler which supports c++20. Maybe this cause your problem .