On 3/30/22 11:36 AM, Mamoru TASAKA wrote:
ar is failing so the fault is in binutils at the first look.
By the way:
- First of all, should /usr/lib64/wine/aarch64-windows/libdbghelp.a (or any other
static archive) be packed
(i.e. are static archives needed in wine binary rpm)?
If not, just remove static archives.
Wine offers the ability to compile against it to develop "wine" programs.
- If needed, AFAIK brp-llvm-compile-lto-elf is needed when compiled
by clang with
-flto, so
as a workaround, I think
- adding "%global _lto_cflags %nil"
This was already added a few years ago.
- and adding "%global __brp_llvm_compile_lto_elf %nil"
should work here.
Thanks. Added.
Now I'm running into another problem[1] with Clang. The MinGW-w64 GCC compiler knows
the include search path for MinGW headers. Clang is not finding MinGW headers. Is
there a missing environment variable or something that Clang needs to be told where
they are?
[1]
https://koji.fedoraproject.org/koji/taskinfo?taskID=84951077