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



El viernes, 5 de noviembre de 2021 a las 17:16, Chavdar Ivanov <ci4ic4%gmail.com@localhost> escribió:
> >
> > Hi,
> >
> > adding isl as a dependency to gcc6-aux could be done. However, adding
> >
> > it still does not explain why GCC was getting configured to use it. If
> >
> > GCC does not see isl in the tree and it is not explicitly configured
> >
> > with isl, it should not use it...
> >
> > But I am glad that you could get gcc6-aux installed.
> >
> > Regarding gcc10-aux, that error is not related to the Ada backend, but
> >
> > with libgcc. What operating system are you using?
>
> NetBSD-current:
>
> NetBSD ymir 9.99.92 NetBSD 9.99.92 (GENERIC) #12: Thu Nov 4 12:26:39
>
> GMT 2021 sysbuild@ymir:/home/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC
>
> amd64
>
> > What architecture?
>
> AMD64
>
> > Could you try to compile lang/gcc10 and see if you get the same error?
>
> No, I already have gcc10 installed from pkgsrc and it is actually the
>
> system compiler:
>
> $ /usr/bin/gcc --version
>
> gcc (nb1 20210411) 10.3.0
>
> Copyright (C) 2020 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.
>
> $ /usr/pkg/gcc10/bin/gcc --version
>
> gcc (GCC) 10.3.0
>
> Copyright (C) 2020 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.

Mmmmm... So you already compiled gcc10 from pkgsrc... Could you try to recompile it (without installing it)? I mean, just go into lang/gcc10, and do a 'make clean' and a simple 'make'. I do not know if maybe you already compiled it some time ago, updated the system, and now it no longer compiles... From experience, trying to get gcc-ada up an running on NetBSD arm, I know that NetBSD-src/current has some extra patches added to that may not be present in pkgsrc. Probably gcc10 from pkgsrc-current needs to be patched some more to deal with NetBSD-current.

As far as testing goes. I have only tested it in NetBSD-9.2 amd64. I know that the same set of patches are also working on DragonflyBSD with gcc11.

Regards,
Fer


Home | Main Index | Thread Index | Old Index