This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH v2 2/4] gold: Correctly get and put r_info for Mips64el.
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Cary Coutant <ccoutant at gmail dot com>
- Cc: Vladimir Radosavljevic <Vladimir dot Radosavljevic at imgtec dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>, Petar Jovanovic <Petar dot Jovanovic at imgtec dot com>
- Date: Tue, 12 Jan 2016 14:42:37 -0800
- Subject: Re: [PATCH v2 2/4] gold: Correctly get and put r_info for Mips64el.
- Authentication-results: sourceware.org; auth=none
- References: <3060420525346945A0ADBD567348A91723737257 at BADAG02 dot ba dot imgtec dot org> <CAJimCsFogsVm1t6zjzsP_Es4vjnXHMzjG3RnGZ_zy7VtDLk+qQ at mail dot gmail dot com> <CAMe9rOpHdTG7jyM33jKnnXeOMF2mw+OE-Q9P0KJB7-0basiPQw at mail dot gmail dot com> <CAMe9rOqYTABq9kMdNRagON3wbFE=mZk5AVwuiDxDWFS+vXJgdg at mail dot gmail dot com> <CAJimCsGtRoS7OK8Cing8e7Xcs7ZwetDzCAjb8Rg_fDdCrk3QKg at mail dot gmail dot com> <CAMe9rOrAatDMf5K7cZBqzRhHQg-eun6hZH7vtuJHYNOOhWVm5Q at mail dot gmail dot com> <CAJimCsH-SJPiU8FO8jHBx0N-H8u=VrDUJ4B51S6WdfXxkhnq9A at mail dot gmail dot com>
On Tue, Jan 12, 2016 at 1:10 PM, Cary Coutant <ccoutant@gmail.com> wrote:
> Thanks.
>
> Is there a compiler option I can use with a later GCC that will catch
> these uses of 'typename' that were illegal before C++11? I tried using
> --std=c++98, but it still accepts uses of 'It may' outside
> templates. It's just too easy to copy a line where it's required into
> a context where it used to be prohibited!
It may be bug in GCC 4.2.
> How long do we need to continue supporting builds with GCC 4.2?
>
I don't know. RHEL 5 has GCC 4.1. I installed GCC 4.2 in order
to build binutils on RHEL 5 so that the same binutils binary can
run on all Linux OSes I have.
--
H.J.