Skip to content

Commit dbc9f30

Browse files
authored
Rollup merge of #67102 - Aaron1011:patch-3, r=Mark-Simulacrum
Add note to src/ci/docker/README.md about multiple docker images I spent a while debugging a strage linker error about an outdated `glibc` version, only to discover that it was caused by a stale `obj` directory. It wasn't obviously to be that using the same obj dir with multiple Docker images (for the same target triple) could be a problem. This commit adds a note to the README, which should hopefully be helpful to anyone else who runs into this issue.
2 parents 29847a4 + 3c14f0e commit dbc9f30

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/ci/docker/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ for example:
1616

1717
Images will output artifacts in an `obj` dir at the root of a repository.
1818

19+
**NOTE**: Re-using the same `obj` dir with different docker images with
20+
the same target triple (e.g. `dist-x86_64-linux` and `dist-various-1`)
21+
may result in strange linker errors, due shared library versions differing between platforms.
22+
23+
If you encounter any issues when using multiple Docker images, try deleting your `obj` directory
24+
before running your command.
25+
1926
## Filesystem layout
2027

2128
- Each directory, excluding `scripts` and `disabled`, corresponds to a docker image

0 commit comments

Comments
 (0)