Files
bind9/lib/isc
Sergei Trofimovich e39b03d06d configure.ac: autodetect 'pause' instruction presence on sparc
The change fixes the following build failure on sparc T3 and older CPUs:

```
sparc-unknown-linux-gnu-gcc ... -O2 -mcpu=niagara2 ... -c rwlock.c
{standard input}: Assembler messages:
{standard input}:398: Error: Architecture mismatch on "pause ".
{standard input}:398: (Requires v9e|v9v|v9m|m8; requested architecture is v9b.)
make[1]: *** [Makefile:280: rwlock.o] Error 1
```

`pause` insutruction exists only on `-mcpu=niagara4` (`T4`) and upper.

The change adds `pause` configure-time autodetection and uses it if available.
config.h.in got new `HAVE_SPARC_PAUSE` knob. Fallback is a fall-through no-op.

Build-tested on:

- sparc-unknown-linux-gnu-gcc (no `pause`, build succeeds)
- sparc-unknown-linux-gnu-gcc -mcpu=niagara4 (`pause`, build succeeds)

Reported-by: Rolf Eike Beer
Bug: https://bugs.gentoo.org/691708
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
(cherry picked from commit a5ad6b16c5)
2019-08-08 14:03:29 +02:00
..
2019-01-09 23:44:26 +01:00
2019-07-30 21:25:47 +02:00
2019-06-19 15:54:22 -07:00
2019-01-09 23:44:26 +01:00
2019-01-09 23:44:26 +01:00
2019-01-09 23:44:26 +01:00
2019-07-21 15:32:57 -04:00
2018-11-22 11:52:08 +00:00
2019-01-09 23:44:26 +01:00
2019-01-09 23:44:26 +01:00
2019-01-09 23:44:26 +01:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:51:49 +00:00
2019-03-07 21:23:39 -08:00
2019-06-20 18:34:27 +02:00
2019-01-09 23:44:26 +01:00