Skip to content

Build failure after removing the cache

The module affected

RUST

What is the action to reproduce the bug?

  • Purge the build cache
  • Build the equivalent of job linux-seco-intel-b68-extra-gcc

What is the result you see?

Job #79601 failed for e81ef83c:

This task failed: virtual:native:/tmp/workspace.JV7B4LbU4l/oe-core/meta/recipes-devtools/rust/rust-llvm_1.59.0.bb:do_compile

| /tmp/workspace.JV7B4LbU4l/build/tmp/work/x86_64-linux/rust-llvm-native/1.59.0-r0/rustc-1.59.0-src/src/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp: In function ‘const llvm::TargetRegisterClass* getRegClassForTypeOnBank(llvm::LLT, const llvm::RegisterBank&, const llvm::RegisterBankInfo&, bool)’:
| /tmp/workspace.JV7B4LbU4l/build/tmp/work/x86_64-linux/rust-llvm-native/1.59.0-r0/rustc-1.59.0-src/src/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp:491: note: ‘-Wmisleading-indentation’ is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
|   491 |     if (Ty.getSizeInBits() == 64)
|       |
| {standard input}: Assembler messages:
| {standard input}:29709: Warning: end of file not at end of a line; newline inserted
| {standard input}:29873: Error: no such instruction: `_zn4llvm8densemapijjns_12densemapinfoijeens'
| g++: fatal error: Killed signal terminated program cc1plus

What is the result you expect?

Build succeeds normally

Frequency?

Once, after purging all sstate-cache on the build server.

Tested version

e81ef83c

Do you know any workaround of this issue?

Re-trying the job fixed the build issue (somehow). It looks that something else has populated the cache and the offending job no longer failed.

Do you have a fix for this issue?

Nope

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information