Giter Club home page Giter Club logo

Comments (8)

Beyley avatar Beyley commented on June 11, 2024 1

Good catch from the discussions on the Veldrid discord, as the alternative so library was replaced by the build. The alternative so library works on the GHA runners.

Oh it does work? In that case i'll push out a fix and open a PR. Seems to be some weirdness with the Zig compiler's glibc support when targetting versions <2.17

I'll also go ahead and fix all the other build.zig based native library builds to target glibc 2.17

from silk.net.

Beyley avatar Beyley commented on June 11, 2024

runs fine on my machine, what distro are you on?

also try running ldd bin/Debug/net8.0/runtimes/linux-x64/native/libshaderc_shared.so, see if something is missing from the resolution

from silk.net.

Perksey avatar Perksey commented on June 11, 2024

__isoc23_strtol does shaderc really need C23? Is there any way we can avoid this? Perhaps it's a glibc issue?

from silk.net.

Beyley avatar Beyley commented on June 11, 2024

__isoc23_strtol does shaderc really need C23? Is there any way we can avoid this? Perhaps it's a glibc issue?

I dont believe we need C23, i wonder if the compiler is defaulting to that. I do also link explicitly against glibc 2.16, so im guessing that whats happening here is that the old glibc doesnt support whatever c23 weirdness is being used (even though i'd assume that would be caught at link time [grr c moment])

from silk.net.

Beyley avatar Beyley commented on June 11, 2024

Attached is a version compiled with glibc 2.17, could you manually replace the shared object in the runtimes folder with this and try it on your machine?
Archive.tar.gz

from silk.net.

Helco avatar Helco commented on June 11, 2024

The same error message occurs with the other so file.
The problems occurs both on the default Github Actions Image (Ubuntu 22.04) as well as this Microsoft DevContainer image (seems to be Debian 8)

ldd only outputs "statically linked"

from silk.net.

Beyley avatar Beyley commented on June 11, 2024

This is a very odd error, i cant recreate it locally on my Arch Linux machine, so i think i'll have to spin up an ubuntu 22.04 VM and see if i can recreate it there. shaderc doesnt even use any C code (its all C++ 17), so its a weird error to happen.

from silk.net.

Helco avatar Helco commented on June 11, 2024

Good catch from the discussions on the Veldrid discord, as the alternative so library was replaced by the build. The alternative so library works on the GHA runners.

from silk.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.