Git Product home page Git Product logo

Comments (2)

ivmai avatar ivmai commented on July 17, 2024

On behalf of Rich Felker [email protected]:

Hi,

John Spencer forwarded me the thread about issues building Boehm GC
against musl libc. I'm the primary author and maintainer of musl and
would like to help with this process from the standpoints of:

  1. Figuring out what extensions potentially should be added to musl to
    meet the needs of GC, and whether the current usage of such extensions
    is sufficiently abstract that things would automatically work if the
    functions were added to musl, or whether it's making further
    non-portable assumptions about implementation internals, that may
    require additional work to resolve.
  2. Improving the portability of Boehm GC, both things like header
    conflict issues and better fallback methods for doing nonportable
    things like determining stack bounds when one of the methods currently
    being used isn't available.

Have the header issues been addressed yet? Basically, the issue seems
to be that some kernel headers are being included which define the
same types as userspace headers. I suspect on glibc, the userspace
headers are including the kernel headers for the types (so including
the kernel header is unnecessary but not harmful) whereas musl does
not use kernel headers whatsoever, resulting in a conflict when the
kernel header is included. For issues like this, I think the most
portable approach would be to test whether everything that's needed is
present without including the kernel headers, and only attempt to
include the kernel header if something is missing. But I'm doubtful
that there are any systems where including these kernel headers is
the right thing to do, so just unconditionally removing the include
directives might be the cleanest fix.

I'm not sure what the other issues JS was encountering with GC not
working are. Anyone have some ideas?

Rich

from bdwgc.

ivmai avatar ivmai commented on July 17, 2024

from bdwgc.

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.