Giter Club home page Giter Club logo

Comments (3)

EtiennePerot avatar EtiennePerot commented on May 24, 2024

Thanks for the detailed and well-researched bug report.

Changing the optimization level of GCC 10 may well fix this problem, but in general gVisor isn't regularly compiled across multiple GCC versions and tested to ensure that all of them work the same way, with the same level of performance, etc. It is for this reason that the gVisor Makefile includes all this weird logic around spawning a bazel server Docker container and executing all the compilation steps in there; that way the GCC version is determined by the image version used by that container, rather than whatever is on the host.

I suggest adjusting your workflow to use a similar approach (e.g. by using make rather than bazel) in order to not have this problem. Is this an option for you?

from gvisor.

jseba avatar jseba commented on May 24, 2024

Yes and no, we don't have nested docker support in our CI system easily currently, so using the docker builder would take some work to setup.

Is there any sort of guarantee that binaries built from that builder will work on any Linux host system? We don't use Ubuntu for our metals and part of the reason we build from the same OS as we deploy on is that we've run into issues with pretty much every toolchain leaking host details into their artifacts (glibc is especially notorious for this with its symbol versioning). I understand bazel is much better about this than cmake or autotools, but without a sysroot it's still dependent on the host.

from gvisor.

avagin avatar avagin commented on May 24, 2024

runsc is a static linked binary and it has to work on any host system. We build runsc in other environment than where we use it and I don't remember any issues with this.

from gvisor.

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.