Re: RFR: 8341806: Gcc version detection failure on Alinux3

2024-10-09 Thread SendaoYan
On Wed, 9 Oct 2024 11:52:13 GMT, SendaoYan wrote: > Hi all, > There is a gcc version detection bug in `make/autoconf/toolchain.m4`. > Before this PR, the gcc version detection shell command is: > > gcc --version 2>&1 | tr "\n" " " | sed -e 's/ *Copyright .*//' | sed -e > 's/^.* ([1-9][0-9]*.[0-

Re: RFR: 8341806: Gcc version detection failure on Alinux3

2024-10-09 Thread Julian Waters
On Wed, 9 Oct 2024 11:52:13 GMT, SendaoYan wrote: > Hi all, > There is a gcc version detection bug in `make/autoconf/toolchain.m4`. > Before this PR, the gcc version detection shell command is: > > gcc --version 2>&1 | tr "\n" " " | sed -e 's/ *Copyright .*//' | sed -e > 's/^.* ([1-9][0-9]*.[0-

Re: RFR: 8341806: Gcc version detection failure on Alinux3

2024-10-09 Thread Magnus Ihse Bursie
On Wed, 9 Oct 2024 11:52:13 GMT, SendaoYan wrote: > Hi all, > There is a gcc version detection bug in `make/autoconf/toolchain.m4`. > Before this PR, the gcc version detection shell command is: > > gcc --version 2>&1 | tr "\n" " " | sed -e 's/ *Copyright .*//' | sed -e > 's/^.* ([1-9][0-9]*.[0-

RFR: 8341806: Gcc version detection failure on Alinux3

2024-10-09 Thread SendaoYan
Hi all, There is a gcc version detection bug in `make/autoconf/toolchain.m4`. Before this PR, the gcc version detection shell command is: gcc --version 2>&1 | tr "\n" " " | sed -e 's/ *Copyright .*//' | sed -e 's/^.* ([1-9][0-9]*.[0-9.]*)[^0-9.].*$/\1/' And this gcc version detection command can