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

Crash on rungame #40

Closed
mbaz opened this issue Jul 16, 2021 · 4 comments
Closed

Crash on rungame #40

mbaz opened this issue Jul 16, 2021 · 4 comments

Comments

@mbaz
Copy link

mbaz commented Jul 16, 2021

julia> rungame("basic.jl")
libGL error: MESA-LOADER: failed to open iris: /home/miguel/bin/julia-1.6.2/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /home/miguel/bin/julia-1.6.2/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /home/miguel/bin/julia-1.6.2/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: swrast
X Error:  BadValue
  Request Major code 152 (GLX)
  Request Minor code 3 ()
  Value 0x0
  Error Serial #103
  Current Serial #104
~ $
  • Arch Linux, up to date as of today.
  • Intel IceLake i5 with Iris graphics.
  • Julia 1.6.2

This looks to me like an incompatibility between Julia's bundled libstdc++ and my system drivers. Is there a way to make GameZero use my system's libstdc++?

@aviks
Copy link
Owner

aviks commented Jul 24, 2021

While I'm loath to summon @giordano or @staticfloat to a random project's isues, I have a feeling they will know the answer.

@giordano
Copy link
Contributor

Sigh. That's basically JuliaLang/julia#34276.

@aviks
Copy link
Owner

aviks commented Jul 24, 2021

Thanks Mose. I'll close this here, since I don't think we can work around any of this here.

@aviks aviks closed this as completed Jul 24, 2021
@staticfloat
Copy link

Users can work around it by copying their own libstdc++ from their system directory over the one provided by Julia. This is harmless as long as the one you’re overwriting with is newer.

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

4 participants