Re: gcc-10 branch builds out version 12 ALL THE TIME ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 28, 2021 at 9:47 AM Pei Jia <jiapei@xxxxxxxxxxxxxxxx> wrote:
>
>
> 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./
git gcc-desr 461f937b472 shows
r12-1830

it looks like you're on the main trunk but not releases/gcc-10.

>     /  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
>
>


-- 
BR,
Hongtao




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux