Comments (3)
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.
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.
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)
- Misspelling on the front page HOT 2
- systrap: parallel containers have inadequate overhead HOT 8
- rootless mode detection error?
- tcp netstack use tcping try test create many connect throw panic HOT 5
- Docker volume & bind mount support after VFS2 & LISAFS HOT 2
- runsc -nvproxy leaves behind stale mounts after container finishes HOT 1
- runsc restore: extensive memory consumption
- 'CUDA-capable device(s) is/are busy or unavailable' on NVIDIA A10G GPUs HOT 1
- Add support for clone3 HOT 1
- TCP connections can stall when in-flight data exceeds 25% of receive buffer HOT 3
- 'an illegal memory access was encountered' on T4 GPU past a certain level of GPU mem allocation HOT 1
- Support Go 1.21 HOT 3
- Package tcpip/link/fdbased and tcpip/link/xdp fail to build for non-amd64 and non-arm64 Linux platforms
- Want to know why gvisor doesn't support maskedPaths and readonlyPaths in OCI spec HOT 4
- Watchdog hang, nested KVM virtualization in libvirt HOT 2
- RFC: supporting third-party network stack such as TLDK HOT 25
- Panic filling address space failed on arm64 HOT 12
- Basic install hangs umount at startup HOT 3
- Root Mount Propagation Option must Specify Private or Slave: "rshared" HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gvisor.