[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c854894e-6c0a-6d49-4d7f-ae81a34b5711@fb.com>
Date: Wed, 23 Oct 2019 04:42:41 +0000
From: Yonghong Song <yhs@...com>
To: Prabhakar Kushwaha <prabhakar.pkin@...il.com>
CC: "ast@...nel.org" <ast@...nel.org>,
"daniel@...earbox.net" <daniel@...earbox.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org>
Subject: Re: Linux-5.4: bpf: test_core_reloc_arrays.o: Segmentation fault with
llc -march=bpf
On 10/22/19 8:29 PM, Prabhakar Kushwaha wrote:
> Thanks Yonghong for replying.
>
>
>
> On Wed, Oct 23, 2019 at 8:04 AM Yonghong Song <yhs@...com> wrote:
>>
>>
>>
>> On 10/22/19 6:35 PM, Prabhakar Kushwaha wrote:
>>>
>>> Adding other mailing list, folks...
>>>
>>> Hi All,
>>>
>>> I am trying to build kselftest on Linux-5.4 on ubuntu 18.04. I installed
>>> LLVM-9.0.0 and Clang-9.0.0 from below links after following steps from
>>> [1] because of discussion [2]
>>
>> Could you try latest llvm trunk (pre-release 10.0.0)?
>> LLVM 9.0.0 has some codes for CORE, but it is not fully supported and
>> has some bugs which are only fixed in LLVM 10.0.0. We intend to make
>> llvm 10 as the one we claim we have support. Indeed CORE related
>> changes are mostly added during 10.0.0 development period.
>>
>
> can you please help me the link to download as
> "https://urldefense.proofpoint.com/v2/url?u=https-3A__prereleases.llvm.org_&d=DwIBaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=DA8e1B5r073vIqRrFz7MRA&m=-6k0f7iKZO54kHLKBjYdU_7pDlCh61HdtyWQ-d43zwU&s=7fbobFiC619_9Pr5b1FbrKvoHl6sg79NZc3rQgNWa1Q&e= " does not have LLVM-10.0.0 packages.
llvm 10 has not been released.
Could you follow LLVM source build insn at
https://github.com/iovisor/bcc/blob/master/INSTALL.md?
Specifically:
git clone http://llvm.org/git/llvm.git
cd llvm/tools; git clone http://llvm.org/git/clang.git
cd ..; mkdir -p build/install; cd build
cmake -G "Unix Makefiles" -DLLVM_TARGETS_TO_BUILD="BPF;X86" \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/install ..
make
make install
export PATH=$PWD/install/bin:$PATH
>
> --pk
>
Powered by blists - more mailing lists