Bug 5771 - [alinux2][nightly][x86]liburing-test测试套编译失败
Summary: [alinux2][nightly][x86]liburing-test测试套编译失败
Status: NEW
Alias: None
Product: Antest
Classification: Infrastructures
Component: 测试用例 (show other bugs) 测试用例
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: shuming
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-07 14:54 UTC by meil_wei
Modified: 2023-07-07 14:54 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description meil_wei alibaba_cloud_group 2023-07-07 14:54:22 UTC
Description of problem:
liburing-test测试套编译失败,报错如下:
make[1]: Entering directory `/tmp/tone/run/liburing-test/liburing-2.3/src'
     CC setup.ol
In file included from include/liburing.h:26:0,
                 from syscall.h:13,
                 from setup.c:5:
include/liburing/barrier.h:61:23: fatal error: stdatomic.h: No such file or directory
 #include <stdatomic.h>
                       ^
compilation terminated.
make[1]: *** [setup.ol] Error 1
make[1]: Leaving directory `/tmp/tone/run/liburing-test/liburing-2.3/src'
make: *** [all] Error 2


Steps to Reproduce:
git clone https://gitee.com/src-anolis-os/liburing.git --branch a8
cd liburing
yum-builddep -y liburing.spec
rpmbuild -D "_topdir $(pwd)" -D "_sourcedir $(pwd)" -D "_builddir $(pwd)" -bp liburing.spec
cd liburing-xxx
./configure
make

测试环境:
# uname -r
4.19.91-1462.git.8ca133e9802b.al7.x86_64

# free -g
              total        used        free      shared  buff/cache   available
Mem:             15           0          13           0           1          14
Swap:             0           0           0

# cat /etc/os-release
NAME="Aliyun Linux"
VERSION="2.1903 LTS (Hunting Beagle)"
ID="alinux"
ID_LIKE="rhel fedora centos"
VERSION_ID="2.1903"
PRETTY_NAME="Aliyun Linux 2.1903 LTS (Hunting Beagle)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"

# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
Stepping:              4
CPU MHz:               2499.998
BogoMIPS:              4999.99
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              4096K
NUMA node0 CPU(s):     0-3
NUMA node1 CPU(s):     4-7
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves

Actual results:
liburing-test测试套编译失败

Expected results:
liburing-test测试套编译成功

Additional info:
liburing-test代码近期有变动,https://gitee.com/src-anolis-os/liburing/pulls/11/files,此变动合入后出现测试套make失败的问题