Bug 1127 - [Anck 4.19][ck26_rc1][aarch_64]Breakpoint overflow sampling: FAILED!
Summary: [Anck 4.19][ck26_rc1][aarch_64]Breakpoint overflow sampling: FAILED!
Status: RESOLVED FIXED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: 4.19-026.x
Hardware: aarch64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: xiangzao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-06 14:09 UTC by kangjiangbo
Modified: 2022-08-23 15:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kangjiangbo 2022-05-06 14:09:38 UTC
Description of problem:
an7 ck26_rc1内核 Failed to compile test case: 'Basic BPF llvm compile'

只在arm内核失败,x86上成功
an8上也是失败


Version-Release number of selected component (if applicable):
# cat /etc/os-release
NAME="Anolis OS"
VERSION="7.7"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="7.7"
PRETTY_NAME="Anolis OS 7.7"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugs.openanolis.cn/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

[root@iZ2zebfu2pfe96wy4xb5lrZ ~]# lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Model:                 1
BogoMIPS:              50.00
NUMA node0 CPU(s):     0-3
Flags:                 fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs


How reproducible:
# perf test -v 20
20: Breakpoint overflow sampling                          :
--- start ---
test child forked, pid 27361
count 10008, overflow 17
        Wrong number of executions 10008 != 10000
        Wrong number of overflows 17 != 100
test child finished with -1
---- end ----
Breakpoint overflow sampling: FAILED!



Additional info:
# rpm -qa|grep glibc
glibc-common-2.17-323.1.an7.1.aarch64
glibc-devel-2.17-323.1.an7.1.aarch64
glibc-static-2.17-323.1.an7.1.aarch64
glibc-2.17-323.1.an7.1.aarch64
glibc-headers-2.17-323.1.an7.1.aarch64
[root@iZ2zebfu2pfe96wy4xb5lsZ test2]# gcc --version
gcc (GCC) 4.8.5 20150623 (Anolis 4.8.5-44.0.1)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# rpm -qa|grep perf
perf-4.19.91-26_rc1.an7.aarch64
gperftools-libs-2.6.1-1.an7.aarch64
python-perf-4.19.91-26_rc1.an7.aarch64
Comment 1 Shiloong admin 2022-05-06 16:53:17 UTC
这个是不是依赖 llvm 版本啊,@maqiao 帮忙确认一下哈
Comment 2 xiangzao alibaba_cloud_group 2022-08-23 15:43:20 UTC
https://gitee.com/anolis/cloud-kernel/pulls/351
置为fixed