mozjs icon indicating copy to clipboard operation
mozjs copied to clipboard

`type_traits` not found when building on Linux

Open wusyong opened this issue 2 years ago • 1 comments

Not exactly an issue but if anyone encounters error messages like type_traits not found when building mozjs, it's probably because you need to install newer version of libstdc++.

As of spidermonkey 107, I need to install libstdc++-12 on debian based distributions.

wusyong avatar Jan 17 '23 08:01 wusyong

This was indeed very helpful.

There is also --enable-stdcxx-compat configure flag https://searchfox.org/mozilla-esr115/source/build/moz.configure/toolchain.configure#2800, but we would need some kind of detection for it.

sagudev avatar Sep 20 '23 04:09 sagudev