This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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: other/9479: ld --version parsing in gcc configury fails on latest FSF binutils-2.13.2.1


Here is a better patch that also allows for binutils version strings with 5
or more digits (a la HJL binutils releases).

The initial patch WAS applied to the gcc-3.2 branch before the release of
gcc-3.2.2 so the immediate problem was fixed.

However, this new patch should fix the problem for ever more and therefore
should be applied to all branches (3.2, 3.3 & 3.4).

As of this writing, the current FSF binutils release is still 2.23.2.1 so
people using that version with gcc-3.3 & 3.4 are building subtley broken
gcc's.

There are 2 patches below. The 1st will apply to 3.4 & 3.3. The second will
apply to 3.2

Patch this time supplied by:-
Dan Osterrath <do3@mail.inf.tu-dresden.de>

I have tested it by throwing various strings at the regex and it does the
right thing in all cases.


Greg

Attachment: gcc.patch.new.3.4
Description: Text document

Attachment: gcc.patch.new.3.2
Description: Text document


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