gcc/config
Rainer Orth f2c52c0dfd libiberty: Disable hwcaps for sha1.o
This patch

commit bf4f40cc31
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Nov 28 13:14:05 2023 +0100

    libiberty: Use x86 HW optimized sha1

broke Solaris/x86 bootstrap with the native as:

libtool: compile:  /var/gcc/regression/master/11.4-gcc/build/./gcc/gccgo -B/var/gcc/regression/master/11.4-gcc/build/./gcc/ -B/vol/gcc/i386-pc-solaris2.11/bin/ -B/vol/gcc/i386-pc-solaris2.11/lib/ -isystem /vol/gcc/i386-pc-solaris2.11/include -isystem /vol/gcc/i386-pc-solaris2.11/sys-include -fchecking=1 -minline-all-stringops -O2 -g -I . -c -fgo-pkgpath=internal/goarch /vol/gcc/src/hg/master/local/libgo/go/internal/goarch/goarch.go zgoarch.go
ld.so.1: go1: fatal: /var/gcc/regression/master/11.4-gcc/build/gcc/go1: hardware capability (CA_SUNW_HW_2) unsupported: 0x4000000  [ SHA1 ]
gccgo: fatal error: Killed signal terminated program go1

As is already done in a couple of other similar cases, this patches
disables hwcaps support for libiberty.

Initially, this didn't work because config/hwcaps.m4 uses target_os, but
didn't ensure it is defined.

Tested on i386-pc-solaris2.11 with as and gas.

2023-11-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	config:
	* hwcaps.m4 (GCC_CHECK_ASSEMBLER_HWCAP): Require
	AC_CANONICAL_TARGET.

	libiberty:
	* configure.ac (GCC_CHECK_ASSEMBLER_HWCAP): Invoke.
	* configure, aclocal.m4: Regenerate.
	* Makefile.in (COMPILE.c): Add HWCAP_CFLAGS.
2023-11-30 10:06:23 +01:00
..
acinclude.m4
acx.m4
asmcfi.m4
ax_check_define.m4
ax_count_cpus.m4
ax_cxx_compile_stdcxx.m4
ax_lib_socket_nsl.m4
ax_pthread.m4
bitfields.m4
bootstrap-asan.mk
bootstrap-cet.mk
bootstrap-debug-big.mk
bootstrap-debug-ckovw.mk
bootstrap-debug-lean.mk
bootstrap-debug-lib.mk
bootstrap-debug.mk
bootstrap-hwasan.mk
bootstrap-lto-lean.mk
bootstrap-lto-noplugin.mk
bootstrap-lto.mk
bootstrap-O1.mk
bootstrap-O3.mk
bootstrap-Og.mk
bootstrap-time.mk
bootstrap-ubsan.mk
cet.m4
ChangeLog Daily bump. 2023-11-14 12:23:39 +00:00
codeset.m4
depstand.m4
dfp.m4
elf.m4
enable.m4
extensions.m4
futex.m4
gc++filt.m4
gcc-plugin.m4 config: Fix host -rdynamic detection for build != host != target 2023-08-11 13:20:07 +00:00
gettext-sister.m4 *: add modern gettext 2023-11-14 00:47:11 +01:00
gettext.m4 *: add modern gettext 2023-11-14 00:47:11 +01:00
glibc21.m4
gthr.m4
gxx-include-dir.m4
hwcaps.m4 libiberty: Disable hwcaps for sha1.o 2023-11-30 10:06:23 +01:00
iconv.m4 *: add modern gettext 2023-11-14 00:47:11 +01:00
intdiv0.m4
intlmacosx.m4 *: add modern gettext 2023-11-14 00:47:11 +01:00
inttypes_h.m4
inttypes-pri.m4
inttypes.m4
isl.m4
largefile.m4
lcmessage.m4
ld-symbolic.m4
lead-dot.m4
lib-ld.m4 egrep in binutils 2023-08-07 22:59:40 +02:00
lib-link.m4
lib-prefix.m4
libstdc++-raw-cxx.m4
lthostflags.m4
math.m4
mh-alpha-linux
mh-cygwin
mh-darwin
mh-djgpp
mh-mingw
mh-pa
mh-ppc-aix
mmap.m4
mt-alphaieee
mt-android
mt-d30v
mt-gnu
mt-loongarch-elf LoongArch: Reimplement multilib build option handling. 2023-09-15 10:42:12 +08:00
mt-loongarch-gnu LoongArch: Reimplement multilib build option handling. 2023-09-15 10:42:12 +08:00
mt-loongarch-mlib LoongArch: Reimplement multilib build option handling. 2023-09-15 10:42:12 +08:00
mt-mips16-compat
mt-mips-elfoabi
mt-mips-gnu
mt-nios2-elf
mt-ospace
mt-sde
mt-spu
multi.m4
nls.m4
no-executables.m4
override.m4 PR27116, Spelling errors found by Debian style checker 2023-08-07 22:59:40 +02:00
picflag.m4 Deprecate a.out support for NetBSD targets. 2023-08-07 22:59:41 +02:00
pkg.m4 PKG_CHECK_MODULES: Properly check if $pkg_cv_[]$1[]_LIBS works 2023-08-07 22:59:41 +02:00
plugins.m4
po.m4
proginstall.m4
progtest.m4
sjlj.m4
stdint_h.m4
stdint.m4
target-posix
tcl.m4
tls.m4
toolexeclibdir.m4
uintmax_t.m4
ulonglong.m4
unwind_ipinfo.m4
warnings.m4
weakref.m4
zlib.m4
zstd.m4 configure: require libzstd >= 1.4.0 2023-08-07 22:59:37 +02:00