Re: [PATCH 0/2] gdb: Require a C++11 compiler

Pedro Alves
2016-11-01T16:53:51Z

Hi Richard,

On 11/01/2016 11:00 AM, Richard Earnshaw (lists) wrote:

> Sorry, I have to say I think this is too soon (having just found out the
> hard way) :-( ).

Sorry for causing you trouble. :-(

> Half of the machines I use are still running RHE5 and this change means
> I can no-longer use the system compiler for building GDB. A change that
> requires use of a non-standard compiler significantly complicates the
> process of building (and worse, productizing) GDB builds as now you have

Fortunately, there are gcc 4.8 packages for RHEL5 in DTS2:

https://www.redhat.com/en/about/press-releases/red-hat-releases-red-hat-developer-toolset-2-0-with-update-to-gcc
http://developers.redhat.com/blog/2013/09/12/rh-dts2-ga/

Hopefully the number of users that want new gdb but can't install that
will be limited.

> to mess with either forcing static linking or worse, forcing uses to
> mess with non-standard LD_LIBRARY paths at run time.

Note that just like gcc, gdb builds with -static-libstdc++ -static-libgcc.

Thanks,
Pedro Alves