I encounter error while building gcc-12.1.0. There two file missed probably in path gcc-12.1.0/gcc: version.c and version.h. There maybe more missed files. I don't know how check. GCC sources signature is correct: sha512sum -c sha512.sum gcc-12.1.0.tar.gz: OK gcc-12.1.0.tar.gz.sig: OK gcc-12.1.0.tar.xz: OK gcc-11.2.0 has these files. Older versions too. -- Fiodar Stryzhniou
On 06.04.2022 15:09, Fiodar Stryzhniou wrote: >I encounter error while building gcc-12.1.0. There two file missed >probably in path gcc-12.1.0/gcc: version.c and version.h. > >There maybe more missed files. I don't know how check. > >gcc-11.2.0 has these files. Older versions too. What steps are you using to build gcc, and what error, specifically, are you getting? The gcc/version.c and gcc/version.h files aren't missing from the source distribution, they were intentionally removed: <https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e3a682f4197f9f39808febfd1862e722d7675d34> -Matthew
I can't remember details. I see error about missing version.h in build_gcc/gcc folder. I look at gcc mirror at github and saw these files. I thought that error because these files not present. I remove both src and build dirs and start again. Build successful. -- Sent from Outlook Email App for Android субота, 04 чэрвеня 2022, 11:57PM +03:00 from Matthew R. Wilson mwilson@mattwilson.org : >On 06.04.2022 15:09, Fiodar Stryzhniou wrote: > I encounter error while building gcc-12.1.0. There two file missed > probably in path gcc-12.1.0/gcc: version.c and version.h. > > There maybe more missed files. I don't know how check. > > gcc-11.2.0 has these files. Older versions too. > >What steps are you using to build gcc, and what error, specifically, are >you getting? > >The gcc/version.c and gcc/version.h files aren't missing from the source >distribution, they were intentionally removed: > < https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e3a682f4197f9f39808febfd1862e722d7675d34> > >-Matthew >
CC Fiodar, who might not be subscribed to the list.
See below ...
On Sat, 4 Jun 2022 at 21:57, Matthew R. Wilson <mwilson@mattwilson.org> wrote:
>
> On 06.04.2022 15:09, Fiodar Stryzhniou wrote:
> >I encounter error while building gcc-12.1.0. There two file missed
> >probably in path gcc-12.1.0/gcc: version.c and version.h.
> >
> >There maybe more missed files. I don't know how check.
> >
> >gcc-11.2.0 has these files. Older versions too.
>
> What steps are you using to build gcc, and what error, specifically, are
> you getting?
>
> The gcc/version.c and gcc/version.h files aren't missing from the source
> distribution, they were intentionally removed:
>
> <https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e3a682f4197f9f39808febfd1862e722d7675d34>
>
> -Matthew
>
I understand, thanks to Matthew R. Wilson.
Панядзелак, 6 чэрвеня 2022, 15:48 +03:00 ад "Jonathan Wakely" <jwakely.gcc@gmail.com>:
> CC Fiodar, who might not be subscribed to the list.
>
> See below ...
>
> On Sat, 4 Jun 2022 at 21:57, Matthew R. Wilson <mwilson@mattwilson.org> wrote:
> >
> > On 06.04.2022 15:09, Fiodar Stryzhniou wrote:
> > >I encounter error while building gcc-12.1.0. There two file missed
> > >probably in path gcc-12.1.0/gcc: version.c and version.h.
> > >
> > >There maybe more missed files. I don't know how check.
> > >
> > >gcc-11.2.0 has these files. Older versions too.
> >
> > What steps are you using to build gcc, and what error, specifically, are
> > you getting?
> >
> > The gcc/version.c and gcc/version.h files aren't missing from the source
> > distribution, they were intentionally removed:
> >
> >
> <https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e3a682f4197f9f39808febfd1862e722d7675d34>
> >
> > -Matthew
> >
Stryzhniou Fiodar
Стрижнёв Федор