Current-Users archive

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

Re: HEADS UP: GCC 10 now default on several ports



Perhaps not the best thread to mention in, but with gcc10 I see in a
few places in pkgsrc the need of (e.g. graphics/cogl):

cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/cogl/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- Makefile    16 Apr 2021 06:49:33 -0000      1.28
+++ Makefile    22 Apr 2021 08:11:10 -0000
@@ -14,6 +14,7 @@
 # LICENSE += AND gnu-lgpl-v2.1

 CONFLICTS+=    clutter<1.8
+CFLAGS+=        -Wno-error=maybe-uninitialized

 GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
cvs diff: Diffing patches


On Thu, 22 Apr 2021 at 00:06, matthew green <mrg%eterna.com.au@localhost> wrote:
>
> matthew green writes:
> > i saw a report that netbsd-8 can't be built on -current but i'm
> > not finding it right now.
> >
> > i can confirm this is the case.  you can work around the GCC 10
> > inspired issues for now with eg:
> >
> >    ./build.sh -V HOST_CFLAGS='-fcommon -O2'
>
> this is likely to remain necessary unless we pullup fixes for
> at least make(1), if not more.  i don't think that will happen,
> though if someone were to do the work we would consider it.
>
> > but then there is a -current regex vs -8 file magic regex issue.
> >
> > christos and i working on fixes for that.
>
> this part is now fixed in the netbsd-8 branch, and the tree can
> fully build with HOST_CFLAGS set as above.
>
> thanks.
>
>
> .mrg.



-- 
----


Home | Main Index | Thread Index | Old Index