Hello:
I'm facing this issue addressed at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100101
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100101> and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102> . My environment
is Ubuntu 20.04. The current gcc version is of 10.3.0, from the default
repo. I was trying to rebuild gcc by checking out the branch gcc-10:
/➜ gcc git:(gcc-10) ✗ git remote -v/
/origin git://gcc.gnu.org/git/gcc.git (fetch)/
/origin git://gcc.gnu.org/git/gcc.git (push)/
/➜ gcc git:(gcc-10) ✗ echo "$(git branch -vv)"/
/* gcc-10 461f937b472 Daily bump./
/ master 461f937b472 [origin/master] Daily bump./
However, even if it's successfully built, it built out a version of 12,
which is NOT what I expect.
/➜ gcc git:(gcc-10) ✗ gcc --version//
//gcc (GCC) 12.0.0 20210627 (experimental)//
//Copyright (C) 2021 Free Software Foundation, Inc.//
//This is free software; see the source for copying conditions.
There is NO//
//warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE./
My configuration to build *gcc-10* is as:
/➜ gcc git:(gcc-10) ✗ $PWD/../gcc/configure --prefix=/usr/local
--enable-languages=c,c++,fortran,go --enable-multilib /
Can anybody give me a hand please?
Thank you very much
Best Regards
Pei