Re: [PATCH 0/5] Remove a few hurdles of compiling with clang

Yao Qi
2017-06-13T09:14:51Z

Eli Zaretskii <eliz@gnu.org> writes:

> That's precisely the reason why I raised this: it would be good to
> have a clear policy on this, to avoid the need for unnecessary work
> and unnecessary disputes. (I actually hoped we already did have such
> a policy, but if not, I think we should try to come up with it.)

In general, it is good to keep GDB built by different popular compilers,
so people are easy to build GDB and different warnings from different
compilers will catch more bugs in GDB. On the other hand, GCC is still
the primary compiler to build GDB, and support of other compilers in
building GDB should not undermine the case that GDB is built by GCC.
For example, it is not acceptable to build GDB with compiler X but break
the build with GCC. We still must fix the GDB build failure with GCC, as
what we did in the past, and we welcome the contributions to fix the GDB
build with other compilers.

--
Yao (齐尧)