dynamic code compilation issue:
Hello All,
I created binaries using Redhat7.9 and with gcc-toolset-9 i.e gcc-9.3.1.
The tutorial case i.e basic/cylinder all work with with default gcc-4.8.5 and gcc-9.3.1 environment.
However if i take the binaries to Redhat8.5 and set gcc-toolset-9 where gcc-9.2 is available,
i noticed that dynamic code compilation throw error of symbol lookup error
/home/ec2-user/cylinder/dynamicCode/platforms/linux64GccDPInt32Opt/lib/liberror_07d43f79c2caa9f072520f78f248b2496a86f281.so: undefined symbol: _ZN4Foam13UOPstreamBase11writeQuotedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb
Running command c++Filt gives following output in both Redhat7.9 and Redhat8.5 with gcc-9.3.1 environment
c++filt _ZN4Foam13UOPstreamBase11writeQuotedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb
Foam::UOPstreamBase::writeQuoted(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
Redhat also mention similar problem and its resolution here https://bugzilla.redhat.com/show_bug.cgi?id=1570853
Regards
Pawan