https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118512

            Bug ID: 118512
           Summary: [15 regression] Failed bootstrap on sparc (Error:
                    Hardware capability "vis3b" not enabled for
                    "fpcmpule8".)
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: assemble-failure, build
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

```
$
/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/build/./prev-gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/build/./prev-gcc/
-B/usr/sparc64-unknown-linux-gnu/bin/ -B/usr/sparc64-unknown-linux-gnu/bin/
-B/usr/sparc64-unknown-linux-gnu/lib/ -isystem
/usr/sparc64-unknown-linux-gnu/include -isystem
/usr/sparc64-unknown-linux-gnu/sys-include   -fno-checking -c -mcpu=niagara4 -g
-pipe -ggdb3 -O3 -fno-checking  -gnatpg -gnata -W -Wall -fPIE -nostdinc -I- -I.
-Iada/generated -Iada
-I/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/gcc-15-20250112/gcc/ada
-Iada/libgnat
-I/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/gcc-15-20250112/gcc/ada/libgnat
-Iada/gcc-interface
-I/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/gcc-15-20250112/gcc/ada/gcc-interface
/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/gcc-15-20250112/gcc/ada/errout.adb
-o ada/errout.o
{standard input}: Assembler messages:
{standard input}:10660: Error: Hardware capability "vis3b" not enabled for
"fpcmpule8".
{standard input}:11823: Error: Hardware capability "vis3b" not enabled for
"fpcmpule8".
{standard input}:12020: Error: Hardware capability "vis3b" not enabled for
"fpcmpule8".
{standard input}:12655: Error: Hardware capability "vis3b" not enabled for
"fpcmpule8".
{standard input}:13429: Error: Hardware capability "vis3b" not enabled for
"fpcmpule8".
{standard input}:14604: Error: Hardware capability "vis3b" not enabled for
"fpcmpule8".
{standard input}:15440: Error: Hardware capability "vis3b" not enabled for
"fpcmpule8".
```

With 14, it succeeds:
```
$ gcc-14 -fno-checking -c -mcpu=niagara4 -g -pipe -ggdb3 -O3 -fno-checking 
-gnatpg -gnata -W -Wall -fPIE -nostdinc -I- -I. -Iada/generated -Iada
-I/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/gcc-15-20250112/gcc/ada
-Iada/libgnat
-I/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/gcc-15-20250112/gcc/ada/libgnat
-Iada/gcc-interface
-I/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/gcc-15-20250112/gcc/ada/gcc-interface
/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/gcc-15-20250112/gcc/ada/errout.adb
-o ada/errout.o
```

---

```
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/sparc64-unknown-linux-gnu/15/lto-wrapper
Target: sparc64-unknown-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-15.0.0_pre20240728/work/gcc-15-20240728/configure
--host=sparc64-unknown-linux-gnu --build=sparc64-unknown-linux-gnu
--prefix=/usr --bindir=/usr/sparc64-unknown-linux-gnu/gcc-bin/15
--includedir=/usr/lib/gcc/sparc64-unknown-linux-gnu/15/include
--datadir=/usr/share/gcc-data/sparc64-unknown-linux-gnu/15
--mandir=/usr/share/gcc-data/sparc64-unknown-linux-gnu/15/man
--infodir=/usr/share/gcc-data/sparc64-unknown-linux-gnu/15/info
--with-gxx-include-dir=/usr/lib/gcc/sparc64-unknown-linux-gnu/15/include/g++-v15
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/sparc64-unknown-linux-gnu/15/python
--enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --enable-nls --without-included-gettext
--disable-libunwind-exceptions --enable-checking=yes,extra,rtl
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo
15.0.0_pre20240728 p7' --with-gcc-major-version-only --enable-libstdcxx-time
--enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --disable-multilib
--disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp
--disable-libada --disable-systemtap --disable-valgrind-annotations
--disable-vtable-verify --disable-libvtv --without-zstd --without-isl
--enable-default-pie --enable-host-pie --disable-host-bind-now
--enable-default-ssp --disable-fixincludes --with-build-config=bootstrap-O3
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 15.0.0 20240728 (experimental) (Gentoo 15.0.0_pre20240728 p7)
```

```
$
/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/build/./prev-gcc/xgcc
-v
Using built-in specs.
COLLECT_GCC=/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/build/./prev-gcc/xgcc
Target: sparc64-unknown-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-15.0.0_pre20250112-r2/work/gcc-15-20250112/configure
--host=sparc64-unknown-linux-gnu --build=sparc64-unknown-linux-gnu
--prefix=/usr --bindir=/usr/sparc64-unknown-linux-gnu/gcc-bin/15
--includedir=/usr/lib/gcc/sparc64-unknown-linux-gnu/15/include
--datadir=/usr/share/gcc-data/sparc64-unknown-linux-gnu/15
--mandir=/usr/share/gcc-data/sparc64-unknown-linux-gnu/15/man
--infodir=/usr/share/gcc-data/sparc64-unknown-linux-gnu/15/info
--with-gxx-include-dir=/usr/lib/gcc/sparc64-unknown-linux-gnu/15/include/g++-v15
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/sparc64-unknown-linux-gnu/15/python
--enable-languages=c,c++,fortran,ada --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --enable-nls --without-included-gettext
--disable-libunwind-exceptions --enable-checking=yes,extra,rtl
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo
15.0.0_pre20250112-r2 p40' --with-gcc-major-version-only
--enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--disable-multilib --disable-fixed-point --enable-targets=all --enable-libgomp
--disable-libssp --enable-libada --disable-systemtap
--disable-valgrind-annotations --disable-vtable-verify --disable-libvtv
--with-zstd --without-isl --enable-default-pie --enable-host-pie
--enable-host-bind-now --enable-default-ssp --disable-fixincludes
--with-build-config=bootstrap-O3
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.0.0 20250112 (experimental) (Gentoo 15.0.0_pre20250112-r2 p40)
```

```
$ as --version
GNU assembler (Gentoo 2.43 p3) 2.43.1
Copyright (C) 2024 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `sparc64-unknown-linux-gnu'.
```

Reply via email to