binutils-gdb/sim
Simon Marchi 1f195bc327 sim: use -Werror when probing for supported warning flags
When building with clang, we get:

    error: unknown warning option '-Wmissing-parameter-type' [-Werror,-Wunknown-warning-option]

This is because clang only warns by default when encountering an unknown
warning option, and the probe for supported warning flags is done
without -Werror.  All flags are therefore accepted by configure, but
then it breaks when actually compiling a source file with -Werror.

This is equivalent to this commit in gdb:

    3e019bdc20
    gdb: Use -Werror when checking for (un)supported warning flags

We then see some other compilation errors when building with clang and
-Werror, they can be dealt with later.
2021-04-21 19:48:35 -04:00
..
aarch64 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
arm sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
avr sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
bfin sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
bpf sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
common sim: moxie: switch syscalls to common nltvals 2021-04-18 23:03:38 -04:00
cr16 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
cris sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
d10v sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
erc32 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
example-synacor sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
frv sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
ft32 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
h8300 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
igen sim: igen: merge build into top level 2021-04-02 23:35:47 -04:00
iq2000 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
lm32 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
m4 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
m32c sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
m32r sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
m68hc11 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
mcore sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
microblaze sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
mips sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
mn10300 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
moxie sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
msp430 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
or1k sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
ppc Add system includes in sim 2021-04-08 14:34:42 -06:00
pru sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
riscv sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
rl78 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
rx sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
sh sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
testsuite sim: syscall: add getpid support 2021-04-18 21:22:31 -04:00
v850 sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
.gitignore
aclocal.m4 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
ChangeLog sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
configure sim: example-synacor: a simple implementation for reference 2021-04-03 16:19:16 -04:00
configure.ac sim: example-synacor: a simple implementation for reference 2021-04-03 16:19:16 -04:00
MAINTAINERS sim: readd myself as a maintainer 2021-01-29 22:11:45 -05:00
Makefile.am sim: testsuite: integrate common tests into build 2021-04-03 15:34:13 -04:00
Makefile.in sim: testsuite: integrate common tests into build 2021-04-03 15:34:13 -04:00
README-HACKING sim: delete unused SIM_EXTRA_LIBDEPS 2021-02-28 01:39:02 -05:00