This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/2] gdb: Require a C++11 compiler
On 01/11/16 16:53, Pedro Alves wrote:
> 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:
>
Which are not installed on any of our machines and, frankly, I wouldn't
want to take a wager on persuading our IT admins to do that. :-( It's
certainly unlikely to happen in short order.
It turns out that gcc on RHEL6 isn't new enough either. So now its all
the machines I have access to, not just some of them.
> 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.
>
That would help, if I could find a usable compiler...
R.