<div dir="ltr">Folks, I'm hitting a funky issue while building a Boost tool with Clang/libc++. Here is the compiler invocation:<div><br><div>$ /opt/llvm-12/bin/clang++ -std=c++11 -O2 -stdlib=libc++ -Wno-mismatched-tags -O2 -s -DNDEBUG builtins.cpp class.cpp ........... pathunix.cpp -o b2<br><br></div><div>And I get this:</div><div><br></div><div>/opt/llvm-12/bin/../lib/libc++.so.1: undefined reference to `__divmodti4@GCC_7.0.0'<br></div><div><br></div><div>Clang itself was built with GCC-11... so I fail to understand where this symbol is coming from. Can someone shed some light on this please?</div><div><br></div><div>Thanks in advance,<br>Oleg.</div></div></div>