[LTP] [issue] cve-2015-3290: fail to compile

Ma Xinjian maxj.fnst@fujitsu.com
Fri Jan 10 09:39:00 CET 2025


Hi all,

When I compile ltp on Centos10, it failed at cve-2015-3290.c.
If anyone could provide some advice, I would greatly appreciate it.

Error info:
cve-2015-3290.c: In function ‘child_thread’:
cve-2015-3290.c:437:1: error: bp cannot be used in ‘asm’ here
  437 | }
      | ^
make[2]: *** [../../include/mk/rules.mk:45: cve-2015-3290] Error 1
make[1]: *** [../include/mk/generic_trunk_target.inc:108: all] Error 2
make[1]: Leaving directory '/root/ltp/testcases'
make: *** [Makefile:85: testcases-all] Error 2

Environment info:
    OS: Centos 10 stream
    Architecture: x86_64
    Kernel Version: kernel-6.12.0-35.el10.x86_64.rpm
    GCC Version: gcc-14.2.1-6.el10.x86_64

Step to Reproduce:
# git clone https://github.com/linux-test-project/ltp.git
# cd ltp
# make autotools
# ./configure
# make

Best regards
Ma


More information about the ltp mailing list