See https://github.com/bytecodealliance/wasmtime/pull/1536/checks?check_run_id=596044450
CI builds fail with note: collect2: error: ld returned 1 exit status
while building wasmtime-c-api
. I'm seeing this on several PRs, so I don't think it's related to the changes in question. Is anyone else seeing this?
Also, I can't repro locally with that command, but I haven't verified my manifest is exactly the same
It's possible the CI is running out of disk space again
Perhaps, since there are no other errors from ld
... is there a way to check?
I'll take a look at this
unfortunately last time we hit this we couldn't ever tell
I just repro'd CI locally and saw the target dir was huge
looks like we're running around 8GB
which shouldn't be that large
Does Rust link with the system ld, and is the system ld the BFD ld? If so, it could be running out of memory. How hard would it be to install gold or lld on the CI?
It just shells out to cc
which typically uses the system ld
which is probably bFD
trying https://github.com/bytecodealliance/wasmtime/pull/1543 to get more information about disk sizes
if we turn off debuginfo the target directory goes from 8GB to 3GB locally
should implement split-dwarf
/dev/sda1 84G 76G 7.9G 91% /
looks like we're out of disk space
man 8gb is pretty small...
Puzzlingly so: https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners#supported-runners-and-hardware-resources
even 14GB is kinda small...
yeah
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk1s5 380Gi 10Gi 208Gi 5% 487477 3982052923 0% /
apparently macos has 200gb available
wait, how do those numbers add up?
uh...
you're not wrong
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk1s5 380Gi 10Gi 208Gi 5% 487477 3982052923 0% / devfs 182Ki 182Ki 0Bi 100% 630 0 100% /dev /dev/disk1s1 380Gi 160Gi 208Gi 44% 4296293 3978244107 0% /System/Volumes/Data /dev/disk1s4 380Gi 1.0Mi 208Gi 1% 1 3982540399 0% /private/var/vm map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /System/Volumes/Data/home
~partitions~
(?)
ok, fair. I didn't know the size
column is for all partitions
/me now wonders what is on Data
...
ok https://github.com/bytecodealliance/wasmtime/pull/1544 is at least a start
should give us about 2GB of headroom
#1544 is failing but should we merge it... for the sake of everything else?
e.g. my ConstAddr fix failed on master for space reasons
it's failing though for the same reasons
so it's not actually fixing the issue
still working on that...
ok I think this should be fixed now
Last updated: Nov 22 2024 at 16:03 UTC