ppc64le: Undefined temporary symbol .L_MergedGlobals · Issue #131394 · llvm/llvm-project (original) (raw)

This has been originally reported on Fedora Linux at: https://bugzilla.redhat.com/show_bug.cgi?id=2352554
It's impacting Chromium on ppc64le.
Can only be reproduced with LLVM >= 20.

Reduced test:

__attribute__((annotate(""))) int index_;

It fails with the following error:

$ clang++ --target=powerpc64le-linux-gnu -O2 -fPIC -pthread -std=c++20 -c test.cc -o test.o
error: Undefined temporary symbol .L_MergedGlobals
1 error generated.