Re: binutils: build with LLVM 6.0.0

2018-03-15 Thread Todd C. Miller
On Thu, 15 Mar 2018 17:23:24 +0100, Patrick Wildt wrote: > diff --git a/gnu/usr.bin/binutils-2.17/include/obstack.h b/gnu/usr.bin/binuti > ls-2.17/include/obstack.h > index 88c2a264adc..8839c48e95f 100644 > --- a/gnu/usr.bin/binutils-2.17/include/obstack.h > +++

Re: armv7 -pmap_prefer

2018-03-15 Thread Artturi Alm
On Fri, Jul 21, 2017 at 06:49:01AM +0300, Artturi Alm wrote: > On Thu, Jul 20, 2017 at 11:50:55PM +0300, Artturi Alm wrote: > > Hi, > > > > one of the removals of mine i never understood why it was there to > > begin w/, given it's not in our pmap.9, nor really doing anything. > > > > -Artturi >

Re: binutils: build with LLVM 6.0.0

2018-03-15 Thread William Ahern
On Thu, Mar 15, 2018 at 05:23:24PM +0100, Patrick Wildt wrote: > Hi, > > LLVM 6.0.0 does now complain of code does computation on NULL pointers, > which apparently binutils makes use of. I think we can teach binutils > to stop doing that. > > Is my C foo correct? Feedback? Both (type *)0 - 1

Re: [PATCH] src - fix IPsec capitalisation

2018-03-15 Thread Stuart Henderson
On 2018/03/15 08:55, Raf Czlonka wrote: > Hi all, > > As per jmc's commit message[0], would anyone be so kind as to comment > on this, please? > > Thanks again to Jason for fixing the non-code bits. > > [0] https://marc.info/?m=151993729713231 > > Cheers, > > Raf > ... > > > +++

Re: ksh: __func__ in warnings

2018-03-15 Thread Anton Lindqvist
On Thu, Mar 15, 2018 at 08:37:06AM +0100, Anton Lindqvist wrote: > On Tue, Mar 13, 2018 at 04:39:16PM +0800, Michael W. Bombardieri wrote: > > Hello, > > > > Some errors and warnings printed by ksh have the function name > > prefixed. __func__ could be used here instead of hard-coding > > the

binutils: build with LLVM 6.0.0

2018-03-15 Thread Patrick Wildt
Hi, LLVM 6.0.0 does now complain of code does computation on NULL pointers, which apparently binutils makes use of. I think we can teach binutils to stop doing that. Is my C foo correct? Feedback? Patrick diff --git a/gnu/usr.bin/binutils-2.17/bfd/elflink.c

Re: fix xlockmore build with llvm 6.0.0

2018-03-15 Thread Matthieu Herrb
On Thu, Mar 15, 2018 at 07:40:35PM +1100, Jonathan Gray wrote: > Take a change from xlockmore 5.55 so xlockmore will build with llvm > 6.0.0. Ok matthieu@ > > Index: modes/glx/i_spline.cc > === > RCS file:

Re: SA_RESETHAND race (or the mpv(1) hanging story)

2018-03-15 Thread Martin Pieuchot
On 05/03/18(Mon) 21:26, Hiltjo Posthuma wrote: > > [...] > > I tried your patch on a source build of about 25 februari on amd64. I still > > notice mpv hanging when I try to close it or when the video ends. Thanks for reporting. This is a different issue. > > Let me know how/if I can help you

Re: interface queue transmit mitigation (again)

2018-03-15 Thread Martin Pieuchot
On 14/03/18(Wed) 13:00, David Gwynne wrote: > this adds transmit mitigation back to the tree. > > it is basically the same diff as last time. the big difference this > time is that all the tunnel drivers all defer ip_output calls, which > avoids having to play games with NET_LOCK in the ifq

Re: axen invalid buffer printf

2018-03-15 Thread Martin Pieuchot
On 28/02/18(Wed) 23:00, Jan Schreiber wrote: > I connect to a lot of different networks with an axen(4) driven USB > network dongle. I often get spammed with "invalid buffer..." messages in > my dmesg. > > This mail thread on bugs@ happened a while back but no patch was > submitted:

Re: Marvel Yukon Ultra II NIC badly supported by msk driver

2018-03-15 Thread Martin Pieuchot
On 28/02/18(Wed) 20:01, Damien Boureille wrote: > Hi, > > I'm trying to install OpenBSD 6.2 on a Netgear RNDU2000 NAS. > The Marvel Yukon Ultra II NIC is supposedly supported by the msk driver, > but this particular NIC has troubles receiving packets. Does the diff below help? Index:

Re: ksh: __func__ in warnings

2018-03-15 Thread Sebastian Benoit
Anton Lindqvist(an...@openbsd.org) on 2018.03.15 08:37:06 +0100: > On Tue, Mar 13, 2018 at 04:39:16PM +0800, Michael W. Bombardieri wrote: > > Hello, > > > > Some errors and warnings printed by ksh have the function name > > prefixed. __func__ could be used here instead of hard-coding > > the

Re: [PATCH] src - fix IPsec capitalisation

2018-03-15 Thread Raf Czlonka
Hi all, As per jmc's commit message[0], would anyone be so kind as to comment on this, please? Thanks again to Jason for fixing the non-code bits. [0] https://marc.info/?m=151993729713231 Cheers, Raf On Wed, Feb 28, 2018 at 08:38:35PM GMT, Jason McIntyre wrote: > On Mon, Feb 26, 2018 at

fix xlockmore build with llvm 6.0.0

2018-03-15 Thread Jonathan Gray
Take a change from xlockmore 5.55 so xlockmore will build with llvm 6.0.0. c++ -c -DHAVE_CONFIG_H -DDEF_FILESEARCHPATH=\"/usr/X11R6/share/X11/app-defaults/%N%C%S:/usr/X11R6/share/X11/app-defaults/%N%S\" -I. -I.. -I../.. -I/usr/xenocara/app/xlockmore/xlock/ -I/usr/xenocara/app/xlockmore

Re: ksh: __func__ in warnings

2018-03-15 Thread Anton Lindqvist
On Tue, Mar 13, 2018 at 04:39:16PM +0800, Michael W. Bombardieri wrote: > Hello, > > Some errors and warnings printed by ksh have the function name > prefixed. __func__ could be used here instead of hard-coding > the name. The names are wrong for tty_init(), j_set_async(), > j_change(),