pkgsrc-Users archive

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

Re: gcc10 with Ada support added to wip



On Fri, 5 Nov 2021 at 21:50, Fernando Oleo Blanco <irvise_ml%irvise.xyz@localhost> wrote:
>
> Am Fri, 5 Nov 2021 20:55:44 +0000
> schrieb "Chavdar Ivanov" <ci4ic4%gmail.com@localhost>:
> >
> > No problem with lang/gcc10 -
> >
> >  ls -l  /usr/pkgsrc/packages/All/gcc10-10.3.0nb1.tgz
> > -rw-r--r-- 2 root pkgsrc 119250477 Nov  5 20:53
> > /usr/pkgsrc/packages/All/gcc10-10.3.0nb1.tgz
> >
> > Running 'make test' now.
> >
>
> This is getting interesting... How old is your pkgsrc-current? Afaik,
> gcc10 from current had a few changes a few weeks ago...
>
> It can also be that gcc6-aux is not new enough to compile gcc10-aux? It
> would not make sense, since, once again, the error is in libgcc and
> that is C/C++, which should compile without issues when using gcc6...
>
> Maybe when gcc-ada as an option is selected, the configuration of GCC
> changes in some global way. For example, there are cases where if an
> option is selected, others are turned off to allow for the selected one
> to compile without errors...
>
> Could you try another thing? Could you select only the option gcc-ada
> in the options of the package? You could hardcode it in the options.mk
> file by taking everything out and just leaving gcc-ada selected. Maybe
> it is the fortran frontend that is causing this...

With
..
 make show-options
...
These options are enabled by default:
        gcc-ada gcc-c++ gcc-fortran gcc-graphite gcc-inplace-math
        nls

These options are currently enabled:
        gcc-ada gcc-graphite gcc-inplace-math nls
...

I get the same error. I tried leaving only gcc-ada, but 'make patch' fails.

>
> Regards,
> Fer
>

Chavdar

-- 
----


Home | Main Index | Thread Index | Old Index