This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Yao Qi <qiyaoltc@gmail.com> writes:

>  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 nor
>  degrade the code quality.   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.
>
>  Ideally, every bug that other compilers find in the GDB source code
>  that GCC didn't warn about should be considered as a GCC bug, and we
>  should make sure that it's reported on the GCC tracker.

I copied it to
https://sourceware.org/gdb/wiki/Internals%20Build-With-Different-Compilers

-- 
Yao (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]