Bug 1788209

Summary: llvm crashes on bpf test_core_reloc_arrays
Product: Red Hat Enterprise Linux 8 Reporter: Yauheni Kaliuta <ykaliuta>
Component: llvmAssignee: Tom Stellard <tstellar>
Status: CLOSED ERRATA QA Contact: Miloš Prchlík <mprchlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: bgollahe, jbrouer, mcermak, mprchlik, sguelton, skozina, tschelle
Target Milestone: rcKeywords: Bugfix
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: llvm-toolset-rhel8-8020020200118042851 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 15:40:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1786006    

Comment 3 Yauheni Kaliuta 2020-01-08 15:02:11 UTC
I still have the crash with 9.0.1 which sounds strange. May be something wrong with my system?

Comment 10 Miloš Prchlík 2020-03-17 17:21:33 UTC
Verified using the original report, i.e. `git clone https://github.com/torvalds/linux.git && git checkout 20a9ad2e7136 && cd tools/testing/selftests/bpf && make`. The command finished successfully, and the file mentioned in the original report didn't cause a SEGFAULT.


(clang -I. -I./include/uapi -I../../../include/uapi -idirafter /usr/local/include -idirafter /usr/lib64/clang/9.0.1/include -idirafter /usr/include -Wno-compare-distinct-pointer-types -D__TARGET_ARCH_s390 -g -O2 -target bpf -emit-llvm -c progs/test_core_reloc_arrays.c -o - || \
llc -march=bpf -mcpu=probe  -filetype=obj -o /root/linux/tools/testing/selftests/bpf/test_core_reloc_arrays.o
(clang -I. -I./include/uapi -I../../../include/uapi -idirafter /usr/local/include -idirafter /usr/lib64/clang/9.0.1/include -idirafter /usr/include -Wno-compare-distinct-pointer-types -D__TARGET_ARCH_s390 -g -O2 -target bpf -emit-llvm -c progs/test_core_reloc_arrays.c -o - || \
        -filetype=obj -o /root/linux/tools/testing/selftests/bpf/alu32/test_core_reloc_arrays.o

Comment 12 errata-xmlrpc 2020-04-28 15:40:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:1627