Source: ctsim Version: 6.0.2 Severity: serious Tags: l10n patch Justification: fails to build from source (but built successfully in the past)
Dear Maintainer, FTBFS of ctsim-6.0.2 on ppc64el reported from unicamp. The build log reported: g++: error: unrecognized command line option '-faltivec'; did you mean '-maltivec' The correct flag for ppc64el (as well as powerpc*) is -maltivec. I changed -faltivec in configure.ac to -maltivec as follows: --- ctsim-6.0.2.orig/configure.ac +++ ctsim-6.0.2/configure.ac @@ -137,7 +137,7 @@ case $target_cpu in CXXFLAGS="$CXXFLAGS $CPUEXT_FLAGS $SIMD_FLAGS" ;; powerpc*) - ARCH_OPTION="-fno-common -faltivec";; + ARCH_OPTION="-fno-common -maltivec";; armv1*|armv2*|armv3*|armv4*|armv5*|armv6*) ARCH_OPTION="-ffast-math";; armv7*|armv8*) I then ran autoconf. After that, the package build properly. This fix should also fix the FTBFS of ctsim on powerpc, powerpcspe, and ppc64. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 4.9.0-4-powerpc64le (SMP w/80 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)