Clang failed

Is the following error familiar to anyone?:

error: sub-compilation of libunwind failed
/home/x/.local/lib/zig/libunwind/src/UnwindRegistersRestore.S:1:1: note: clang exited with code 1
/home/x/.local/lib/zig/libunwind/src/UnwindRegistersSave.S:1:1: note: clang exited with code 1
error: error(compilation): clang failed with stderr: fatal error: error in backend: IO failure on output stream: No space left on device

Only occurs when an attempt is made to link C++ into the executable (either directly, by adding C++ source files to the executable, or via a library).

Sound like your disk is full ?

1 Like

No, I check the disk before posting … plenty of space.

But it turned out that “tmpfs” was full, and that was the problem.

Thank you for responding!

2 Likes

Glad you found the issue