Bug 2283525 - LLVM ERROR: Failed to rename temporary file on ppc64le
Summary: LLVM ERROR: Failed to rename temporary file on ppc64le
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 40
Hardware: ppc64le
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Nikita Popov
QA Contact: Fedora Extras Quality Assurance
URL: https://kojipkgs.fedoraproject.org//w...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-27 16:29 UTC by Than Ngo
Modified: 2024-07-16 18:07 UTC (History)
12 users (show)

Fixed In Version: llvm-18.1.6-2.fc41 llvm-18.1.6-2.fc40
Clone Of:
Environment:
Last Closed: 2024-05-28 21:44:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Than Ngo 2024-05-27 16:29:06 UTC
chromium build breaks with the following errors on ppc64le:

[chrome:29596/59810] LINK ./character_data_generator
FAILED: character_data_generator 
"/usr/bin/python3" "../../build/toolchain/gcc_link_wrapper.py" --output="./character_data_generator" -- clang++ -Wl,--start-group -fuse-ld=lld -Wl,--fatal-warnings -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--icf=all -Wl,--color-diagnostics -Wl,-mllvm,-instcombine-lower-dbg-declare=0 -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy=cache_size=10\%:cache_size_bytes=40g:cache_size_files=100000 -flto=thin -Wl,--thinlto-jobs=all -Wl,-mllvm,-import-instr-limit=30 -Wl,-mllvm,-disable-auto-upgrade-debug-info -fwhole-program-vtables -Wl,--undefined-version -Wl,--no-call-graph-profile-sort -m64 -no-canonical-prefixes -Wl,-O2 -Wl,--gc-sections -Wl,-z,defs -Wl,--as-needed -nostdlib++ -Wl,--lto-O0 -rdynamic -pie -Wl,--disable-new-dtags prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libstd.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/liballoc.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libcfg_if.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libcompiler_builtins.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libcore.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libgetopts.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libhashbrown.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/liblibc.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libpanic_abort.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libpanic_unwind.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/librustc_demangle.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libstd_detect.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libtest.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libunicode_width.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libunwind.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libaddr2line.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libadler.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libgimli.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libmemchr.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libminiz_oxide.rlib prebuilt_rustc_sysroot/lib/rustlib/powerpc64le-unknown-linux-gnu/lib/libobject.rlib -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now     -Wl,--build-id=sha1   -Wl,-z,pack-relative-relocs -o "./character_data_generator" @"./character_data_generator.rsp"  /usr/lib/clang/18/lib/ppc64le-redhat-linux-gnu/libclang_rt.builtins.a -ldl -lpthread -lrt -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -latomic -ldouble-conversion -levent obj/third_party/rust/cxx/v1/lib/libcxx_lib.rlib -Wl,--end-group
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Running pass 'PPC Merge String Pool' on module 'obj/third_party/blink/renderer/platform/character_data_generator/character_property_data_generator.o'.
LLVM ERROR: Failed to rename temporary file thinlto-cache/Thin-8f560d.tmp.o to thinlto-cache/llvmcache-7868D50808327706E8B7C80217019DBA6F331384: No such file or directory
clang++: error: unable to execute command: Aborted (core dumped)
clang++: error: linker command failed due to signal (use -v to see invocation)


This issue is only happen on ppc64le

Reproducible: Always

Steps to Reproduce:
rebuild chromium-125 on f40 with latest clang-18.1.6-3.fc40 and llvm-18.1.6-1
Actual Results:  
the chromium build failed with errors (looks at above Details)

Expected Results:  
chromium should build fine

chromium just built fine with previuos clang-18.1.1-1 / llvm-18.1.1-1 on ppc64le.

Comment 2 Fedora Update System 2024-05-28 19:37:22 UTC
FEDORA-2024-a497f02462 (llvm-18.1.6-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a497f02462

Comment 3 Fedora Update System 2024-05-28 21:44:20 UTC
FEDORA-2024-a497f02462 (llvm-18.1.6-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2024-05-29 06:41:58 UTC
FEDORA-2024-a5aaaefaba (llvm-18.1.6-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a5aaaefaba

Comment 5 Fedora Update System 2024-05-30 02:06:28 UTC
FEDORA-2024-a5aaaefaba has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a5aaaefaba`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a5aaaefaba

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-06-03 02:02:12 UTC
FEDORA-2024-a5aaaefaba (llvm-18.1.6-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-07-08 17:56:43 UTC
FEDORA-2024-ddb3244c43 (llvm18-18.1.7-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-ddb3244c43

Comment 8 Fedora Update System 2024-07-16 18:07:54 UTC
FEDORA-2024-d0c1af678f (llvm18-18.1.7-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-d0c1af678f


Note You need to log in before you can comment on or make changes to this bug.