Giter Site home page Giter Site logo

Comments (8)

taviso avatar taviso commented on August 10, 2024

We're doing a lot of things that are gcc and Linux specific.

In particular, __rsignal is an export from a third party DLL that we can't control.

from loadlibrary.

elfring avatar elfring commented on August 10, 2024

from loadlibrary.

taviso avatar taviso commented on August 10, 2024

This whole project is built on undefined behaviour :)

There is no defined way to mmap() a DLL on Linux, it's not going to happen. Modern GCC on Linux i386/x64 is supported, and anything that stops that working is a bug. Making it use defined behaviour is definitely not a goal and is definitely not possible, how are you going to setup segment selectors on Linux without undefined behaviour?

from loadlibrary.

elfring avatar elfring commented on August 10, 2024

I suggest to distinguish a bit more between details which affect the desired standard compliance for the mentioned programming interfaces.

from loadlibrary.

taviso avatar taviso commented on August 10, 2024

No compliance is desired.

from loadlibrary.

elfring avatar elfring commented on August 10, 2024

You depend also on compliance to some degree. I imagine that it would be very hard to clarify desirable software behaviour otherwise.

from loadlibrary.

taviso avatar taviso commented on August 10, 2024

Yes, but only to the degree that it actually works on modern gcc on Linux i386/x86_64.

If you can show a case where it doesn't work as intended on that configuration, please reopen.

from loadlibrary.

elfring avatar elfring commented on August 10, 2024

Please reopen this issue so that software development concerns can be reduced a bit more around undefined behaviour.

from loadlibrary.

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.