On Fri, 15 Feb 2019, Jaromir Dolecek wrote:
> Maybe something like this?
>
> https://www.netbsd.org/~jdolecek/mac68k_intr_gcc7.diff
With this the build succeeds.
Will check Matthew Green's version after the next round of updates.
--
|/"\ John D. Baker, KN5UKS NetBSD
Updating src tree:
P src/lib/libedit/readline.c
P src/lib/libedit/terminal.c
P src/lib/libedit/readline/readline.h
P src/lib/libnvmm/libnvmm_x86.c
P src/sys/arch/amd64/amd64/genassym.cf
P src/sys/arch/amd64/amd64/vector.S
P src/sys/arch/amd64/conf/GENERIC
P src/sys/arch/amd64/conf/files.amd64
P
It's not iwm. I have the same bug reported but with re(4) which isn't
wireless even. the backtrace looks different from ddb.
from ddb, the failing instruction is,
stopped at pid 276.1 (dhcpcd) at netbsd:npf_ifaddrhook+0x55: movq
18(%r12), %rsi
(without using npf at all)
this is my preferred change vs jarmoir's. please test it.
https://www.netbsd.org/~mrg/mac68k-intr.diff
i was also planning on adding an assert that MAX_INAME_LENGTH is
less than (eintrnames - intrnames).
.mrg.
Hi,
recent -current on amd64:
# cat /etc/mk.conf
MKCATPAGES=yes
MKCOMPAT=yes
MKCTF=yes
MKDEBUG=yes
MKDEBUGLIB=yes
MKDYNAMICROOT=no
MKOBJ=yes
MKOBJDIRS=yes
MKX11=yes
MKX11MOTIF=yes
TOOLDIR=/usr/tools
#
I'm getting
# create libGLw/GLwMDrawA.d
CC=/usr/tools/bin/x86_64--netbsd-gcc
Le ven. 15 févr. 2019 à 17:33, John D. Baker
a écrit :
>
> Building for mac68k with -V HAVE_GCC=7 produces the following error:
>
> /x/current/src/sys/arch/mac68k/mac68k/intr.c:135:2: note: in expansion of
> macro 'memcpy'
> memcpy(g_inames, inames, MAX_INAME_LENGTH);
> ^~
> cc1: all
Building for mac68k with -V HAVE_GCC=7 produces the following error:
[...]
--- kern-INSTALL ---
In file included from /x/current/src/sys/sys/systm.h:455:0,
from /x/current/src/sys/sys/timevar.h:66,
from /x/current/src/sys/sys/time.h:307,
from