This bug is funny: while trying to look for the 'icc' compiler (it
seems), they actually find something which contains 'ziccamoa' (a RISC-V
extension) and conclude that the compiler is icc.

(the icc substring).

In the beginning of the Makefile, they obtain the COMPILER variable like
so:

ifneq ($(shell $(CC) -v 2>&1 | grep version | grep gcc),)
COMPILER = gcc
endif
ifneq ($(shell $(CC) -v 2>&1 | grep version | grep icc),)
COMPILER = icc
endif

That second grep call returns, on riscv64:

Configured with: ../src/configure -v --with-pkgversion='Ubuntu
15.2.0-9ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-15/README.Bugs
--enable-
languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust,cobol,algol68
--prefix=/usr --with-gcc-major-version-only --program-suffix=-15
--program-prefix=riscv64-linux-gnu- --enable-shared --enable-linker-
build-id --libexecdir=/usr/libexec --without-included-gettext --enable-
threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-
libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-
object --disable-libquadmath --disable-libquadmath-support --enable-
plugin --enable-default-pie --with-system-zlib --enable-libphobos-
checking=release --with-target-system-zlib=auto --enable-objc-gc=auto
--enable-multiarch --disable-werror --disable-multilib --with-abi=lp64d
--with-
arch=rv64i_m_a_f_d_c_b_v_zic64b_zicbom_zicbop_zicboz_ziccamoa_ziccif_zicclsm_ziccrse_zicntr_zicond_zicsr_zifencei_zihintntl_zihintpause_zihpm_zimop_zmmul_za64rs_zaamo_zalrsc_zawrs_zfa_zfhmin_zca_zcb_zcd_zcmop_zba_zbb_zbs_zkt_zvbb_zve32f_zve32x_zve64d_zve64f_zve64x_zvfhmin_zvkb_zvkt_zvl128b_zvl32b_zvl64b_supm
--enable-checking=release --build=riscv64-linux-gnu
--host=riscv64-linux-gnu --target=riscv64-linux-gnu --with-build-
config=bootstrap-lto-lean --enable-link-serialization=4

Which contains ziccamoa

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2134556

Title:
  stress-ng is FTBFS on riscv64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/stress-ng/+bug/2134556/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to