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

2021-04-22 Thread Chavdar Ivanov
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

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

2021-04-21 Thread matthew green
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

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

2021-04-19 Thread matthew green
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' but then there is a -current regex vs -8 file magic regex issue.

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

2021-04-18 Thread Johnny Billquist
New one: In the process of running build.sh for a full distribution: # compile tmux/cmd-display-menu.o /usr/src/obj/tooldir.NetBSD-8.0-amd64/bin/vax--netbsdelf-gcc -O2 -std=gnu99-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers

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

2021-04-18 Thread Johnny Billquist
On 2021-04-18 17:55, Paul Goyette wrote: Something in your environment? /etc/mk.conf ? Dang. You're right. I wonder when any why I got that in there...? Ok. Nothing to see here. Sorry for the noise. Johnny On Sun, 18 Apr 2021, Johnny Billquist wrote: On 2021-04-18 17:49, Martin

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

2021-04-18 Thread Paul Goyette
Something in your environment? /etc/mk.conf ? On Sun, 18 Apr 2021, Johnny Billquist wrote: On 2021-04-18 17:49, Martin Husemann wrote: On Sun, Apr 18, 2021 at 05:46:39PM +0200, Johnny Billquist wrote: I said in my original mail: "Building from NetBSD-8 does not work. Unsure if this is a

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

2021-04-18 Thread Johnny Billquist
On 2021-04-18 17:49, Martin Husemann wrote: On Sun, Apr 18, 2021 at 05:46:39PM +0200, Johnny Billquist wrote: I said in my original mail: "Building from NetBSD-8 does not work. Unsure if this is a known limitation." So, not building from current, but am trying to build current. Yes, but you

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

2021-04-18 Thread Johnny Billquist
On 2021-04-18 17:48, Martin Husemann wrote: On Sun, Apr 18, 2021 at 05:44:36PM +0200, Johnny Billquist wrote: On 2021-04-18 17:42, Martin Husemann wrote: On Sun, Apr 18, 2021 at 03:09:17PM +0200, Johnny Billquist wrote: Basically, the problem is that HAVE_GCC is there set to 8, Where and

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

2021-04-18 Thread Martin Husemann
On Sun, Apr 18, 2021 at 05:46:39PM +0200, Johnny Billquist wrote: > I said in my original mail: > > "Building from NetBSD-8 does not work. Unsure if this is a known > limitation." > > So, not building from current, but am trying to build current. Yes, but you are overriding HAVE_GCC somehow.

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

2021-04-18 Thread Martin Husemann
On Sun, Apr 18, 2021 at 05:44:36PM +0200, Johnny Billquist wrote: > On 2021-04-18 17:42, Martin Husemann wrote: > > On Sun, Apr 18, 2021 at 03:09:17PM +0200, Johnny Billquist wrote: > > > Basically, the problem is that HAVE_GCC is there set to 8, > > > > Where and why? This should not happen -

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

2021-04-18 Thread Johnny Billquist
On 2021-04-18 17:44, Johnny Billquist wrote: On 2021-04-18 17:42, Martin Husemann wrote: On Sun, Apr 18, 2021 at 03:09:17PM +0200, Johnny Billquist wrote: Basically, the problem is that HAVE_GCC is there set to 8, Where and why? This should not happen - HAVE_GCC for -current is either 9 or

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

2021-04-18 Thread Johnny Billquist
On 2021-04-18 17:42, Martin Husemann wrote: On Sun, Apr 18, 2021 at 03:09:17PM +0200, Johnny Billquist wrote: Basically, the problem is that HAVE_GCC is there set to 8, Where and why? This should not happen - HAVE_GCC for -current is either 9 or 10, no matter on what host / which tools you

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

2021-04-18 Thread Martin Husemann
On Sun, Apr 18, 2021 at 03:09:17PM +0200, Johnny Billquist wrote: > Basically, the problem is that HAVE_GCC is there set to 8, Where and why? This should not happen - HAVE_GCC for -current is either 9 or 10, no matter on what host / which tools you compile with. Martin

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

2021-04-18 Thread Johnny Billquist
On 2021-04-17 10:01, John Paul Adrian Glaubitz wrote: On 4/17/21 6:15 AM, matthew green wrote: i've switched the alpha, amd64, sparc*, riscv*, ia64, and vax ports have all been switched to GCC 10. please send-pr or send email here about problems you encounter. And please report

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

2021-04-17 Thread matthew green
"Thomas Mueller" writes: > > i've switched the alpha, amd64, sparc*, riscv*, ia64, and vax ports > > have all been switched to GCC 10. > > > please send-pr or send email here about problems you encounter. > > > thanks. > > > > .mrg. > > What about the i386 port? see

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

2021-04-17 Thread John Paul Adrian Glaubitz
On 4/17/21 6:15 AM, matthew green wrote: > i've switched the alpha, amd64, sparc*, riscv*, ia64, and vax ports > have all been switched to GCC 10. > > please send-pr or send email here about problems you encounter. And please report compiler-specific issues such as miscompiliations to the GCC

HEADS UP: GCC 10 now default on several ports

2021-04-16 Thread matthew green
hi folks. i've switched the alpha, amd64, sparc*, riscv*, ia64, and vax ports have all been switched to GCC 10. please send-pr or send email here about problems you encounter. thanks. .mrg.