Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type_traits not found when building on Linux #338

Open
wusyong opened this issue Jan 17, 2023 · 1 comment
Open

type_traits not found when building on Linux #338

wusyong opened this issue Jan 17, 2023 · 1 comment

Comments

@wusyong
Copy link
Member

wusyong commented Jan 17, 2023

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.

@sagudev
Copy link
Member

sagudev commented Sep 20, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants