Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-18 Thread Maxime Villard
Le 17/10/2019 à 14:45, Maxime Villard a écrit : Le 17/10/2019 à 14:07, Joerg Sonnenberger a écrit : On Thu, Oct 17, 2019 at 12:43:48PM +0200, Rhialto wrote: On Thu 17 Oct 2019 at 11:07:44 +0200, Maxime Villard wrote: I guess we whould disable the messages on this particular file for now as the

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-17 Thread Maxime Villard
Le 17/10/2019 à 14:07, Joerg Sonnenberger a écrit : On Thu, Oct 17, 2019 at 12:43:48PM +0200, Rhialto wrote: On Thu 17 Oct 2019 at 11:07:44 +0200, Maxime Villard wrote: I guess we whould disable the messages on this particular file for now as the others have suggested, and file a PR in LLVM/GCC

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-17 Thread Joerg Sonnenberger
On Thu, Oct 17, 2019 at 12:43:48PM +0200, Rhialto wrote: > On Thu 17 Oct 2019 at 11:07:44 +0200, Maxime Villard wrote: > > I guess we whould disable the messages on this particular file for now as > > the others have suggested, and file a PR in LLVM/GCC, because apart from > > a compiler bug I don'

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-17 Thread Rhialto
On Thu 17 Oct 2019 at 11:07:44 +0200, Maxime Villard wrote: > I guess we whould disable the messages on this particular file for now as > the others have suggested, and file a PR in LLVM/GCC, because apart from > a compiler bug I don't see what it could be. The original error has no place in a fre

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-17 Thread Maxime Villard
I guess we whould disable the messages on this particular file for now as the others have suggested, and file a PR in LLVM/GCC, because apart from a compiler bug I don't see what it could be. Le 17/10/2019 à 09:22, J. Hannken-Illjes a écrit : Any chance we can build x86 kernels without DIAGNOSTI

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-17 Thread J. Hannken-Illjes
Any chance we can build x86 kernels without DIAGNOSTIC again? Does it need a PR? -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig > On 15. Oct 2019, at 17:56, John D. Baker wrote: > > On Tue, 15 Oct 2019, Ryo ONODERA wrote: > >> If the problem is the compiler bug, the patch

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-15 Thread John D. Baker
On Tue, 15 Oct 2019, Ryo ONODERA wrote: > If the problem is the compiler bug, the patch like the following > may be effective. > [snip] I applied a similar change for i386 and with it the stock NET4501 config (w/"options DIAGNOSTIC" commented out) builds successfully. +Index: sys/arch/i386/conf

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-15 Thread Ryo ONODERA
Hi, Maxime Villard writes: > I don't understand what this error means. There is nothing related to > longjmp in this code or any code I've touched, and the FPU code does > not rely on that. As well I don't see what difference SVS could make > since it doesn't rely on that either. > > No idea, lo

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-14 Thread John D. Baker
On Mon, 14 Oct 2019, Patrick Welche wrote: > On Sun, Oct 13, 2019 at 04:31:08PM -0500, John D. Baker wrote: > > Building the NET4501 kernel with 9.99.17 sources fails with: > > > > /x/current/src/sys/arch/x86/x86/vm_machdep.c: In function 'cpu_lwp_fork': > > /x/current/src/sys/arch/x86/x86/vm_mac

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-14 Thread Lars Reichardt
On Mon, 14 Oct 2019 10:31:08 +0100 Patrick Welche wrote: > On Sun, Oct 13, 2019 at 04:31:08PM -0500, John D. Baker wrote: > > Building the NET4501 kernel with 9.99.17 sources fails with: > > > > [...] > > # compile NET4501/vm_machdep.o > > /r0/build/current/tools/amd64/bin/i486--netbsdelf-gcc

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-14 Thread Patrick Welche
On Sun, Oct 13, 2019 at 04:31:08PM -0500, John D. Baker wrote: > Building the NET4501 kernel with 9.99.17 sources fails with: > > [...] > # compile NET4501/vm_machdep.o > /r0/build/current/tools/amd64/bin/i486--netbsdelf-gcc -msoft-float -mno-mmx > -mno-sse -mno-avx -ffreestanding -fno-zero-in

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-13 Thread Maxime Villard
Le 14/10/2019 à 01:01, Chavdar Ivanov a écrit : My amd64 build also failed with ... src/tests/lib/libnvmm/h_mem_assist.c:178:2: error: missing initializer for field 'off' of 'const struct test' [-Werror=missing-field-initializers] ... (and many more). Ah yes, I was doing local builds of it, not

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-13 Thread Thomas Klausner
Christos committed a fix for this one. Thomas On Mon, Oct 14, 2019 at 12:01:51AM +0100, Chavdar Ivanov wrote: > My amd64 build also failed with > ... > src/tests/lib/libnvmm/h_mem_assist.c:178:2: error: missing initializer > for field 'off' of 'const struct test' > [-Werror=missing-field-initiali

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-13 Thread Chavdar Ivanov
My amd64 build also failed with ... src/tests/lib/libnvmm/h_mem_assist.c:178:2: error: missing initializer for field 'off' of 'const struct test' [-Werror=missing-field-initializers] ... (and many more). On Sun, 13 Oct 2019 at 23:48, matthew green wrote: > > Robert Swindells writes: > > > > "John

re: i386 9.99.17 build fails for NET4501 kernel

2019-10-13 Thread matthew green
Robert Swindells writes: > > "John D. Baker" > >Building the NET4501 kernel with 9.99.17 sources fails with: > > > >/x/current/src/sys/arch/x86/x86/vm_machdep.c: In function 'cpu_lwp_fork': > >/x/current/src/sys/arch/x86/x86/vm_machdep.c:134:21: error: variable 'pcb2' > >might be clobbered by 'l

Re: i386 9.99.17 build fails for NET4501 kernel

2019-10-13 Thread Robert Swindells
"John D. Baker" >Building the NET4501 kernel with 9.99.17 sources fails with: > >/x/current/src/sys/arch/x86/x86/vm_machdep.c: In function 'cpu_lwp_fork': >/x/current/src/sys/arch/x86/x86/vm_machdep.c:134:21: error: variable 'pcb2' >might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]

i386 9.99.17 build fails for NET4501 kernel

2019-10-13 Thread John D. Baker
Building the NET4501 kernel with 9.99.17 sources fails with: [...] # compile NET4501/vm_machdep.o /r0/build/current/tools/amd64/bin/i486--netbsdelf-gcc -msoft-float -mno-mmx -mno-sse -mno-avx -ffreestanding -fno-zero-initialized-in-bss -fno-delete-null-pointer-checks -g -Os -fstack-protector