What does suffix ' ... isra.0' mean in compiled symbols in GCC 10.2?

2021-03-04 Thread Guodong Xu
Hi, all Does anybody know what does '.isra.0' mean in GCC 10.2 compiled objects? I just noticed this issue when using bcc/eBPF tools. I submitted the detail into * https://github.com/iovisor/bcc/issues/3293 Simply put, when building a linux kernel with GCC 10.2, the symbol 'finish_task_switc

Re: Clang targetting x64 linker

2021-03-04 Thread Maxim Kuvyrkov
> On 4 Mar 2021, at 19:55, Maxim Kuvyrkov wrote: > > Hi Joel, > > Indeed, LLD is not configured to be used by default in LLVM-12.0.0-rc1. You > need to add -fuse-ld=lld option for it to work. We’ll fix this in the final > LLVM-12 release for WoA, which is expected in around 2 weeks. > > Tha

Re: Clang targetting x64 linker

2021-03-04 Thread Maxim Kuvyrkov
Hi Joel, Indeed, LLD is not configured to be used by default in LLVM-12.0.0-rc1. You need to add -fuse-ld=lld option for it to work. We’ll fix this in the final LLVM-12 release for WoA, which is expected in around 2 weeks. Thanks for catching this! c:\Users\tcwg\source\maxim>..\llvm-12.0.0-r

Re: Clang targetting x64 linker

2021-03-04 Thread Maxim Kuvyrkov
Hi Joel, Are you using clang-cl.exe as compiler/linker driver? It’s easiest to use clang-cl.exe as it aims to be a direct replacement for MSVC’s cl.exe, but will use LLVM tools. In particular, when clang-cl.exe uses LLVM Linker (LLD) by default. If you are using linux-style clang.exe as the

Clang targetting x64 linker

2021-03-04 Thread Joel Cox
Hi I've been trying to run clang on a Windows on Arm machine, but it keeps trying to using the link.exe located in "Visual studio//Host64/arm64", which is (seemingly) an x64 tool and as such doesn't run, and crashes the process. Is there a way to set clang to look at VS's x86 link.exe? Or if