Re: CVS commit: src/lib/librumpuser/build-aux

2016-10-19 Thread Antti Kantee
On 19/10/16 06:05, co...@sdf.org wrote: Maybe I should revert it because I misunderstood things and it does not matter... sorry for the noise Yes. I was trying to do something about the random failures in builds http://releng.netbsd.org/builds/netbsd-6/201610160430Z/ews4800mips.build.failed

Re: CVS commit: src/lib/librumpuser/build-aux

2016-10-18 Thread Antti Kantee
On 17/10/16 18:24, Maya Rashish wrote: Module Name:src Committed By: maya Date: Mon Oct 17 18:24:42 UTC 2016 Modified Files: src/lib/librumpuser/build-aux: install-sh Log Message: use mktemp instead of $RANDOM for tmpdir ..$RANDOM won't work with our /bin/sh. unsure

Re: CVS commit: src/share/mk

2015-11-12 Thread Antti Kantee
On 19/10/15 17:08, David A. Holland wrote: Module Name:src Committed By: dholland Date: Mon Oct 19 17:08:11 UTC 2015 Modified Files: src/share/mk: bsd.man.mk Log Message: because I'm feeling tetchy, implement "make describe" for everything that has man pages. That

Re: CVS commit: src/sys/dev/pci

2015-08-25 Thread Antti Kantee
On 25/08/15 06:54, matthew green wrote: Antti Kantee writes: Module Name:src Committed By: pooka Date: Mon Aug 24 23:52:18 UTC 2015 Modified Files: src/sys/dev/pci: if_iwn.c Log Message: Remove #ifdef INET code. Por que? Because opt_inet.h was not included and #ifdef

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Antti Kantee
Returning to this pickle. On 26/06/15 18:24, Joerg Sonnenberger wrote: On Fri, Jun 26, 2015 at 12:49:09PM +, Antti Kantee wrote: This is the simplest program to repeat the problem with g++ 5.1 and NetBSD's pthread_types.h: #include pthread.h class foo { pthread_mutex_t m; public

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Antti Kantee
On 24/08/15 13:26, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: I started work on this again by doing a web search for the error, and found this: http://bugs.musicpd.org/view.php?id=4110 There you argue that using constexpr

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Antti Kantee
On 24/08/15 14:36, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 02:20:55PM +, Antti Kantee wrote: On 24/08/15 13:26, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: I started work on this again by doing a web search for the error, and found

Re: CVS commit: src/lib/libpthread

2015-06-26 Thread Antti Kantee
On 26/06/15 06:02, Martin Husemann wrote: On Fri, Jun 26, 2015 at 01:38:45AM +, Antti Kantee wrote: On Fri, Jun 26, 2015 at 01:33:09AM +, Antti Kantee wrote: Module Name:src Committed By: pooka Date: Fri Jun 26 01:33:09 UTC 2015 Modified Files: src/lib

Re: CVS commit: src/lib/libpthread

2015-06-26 Thread Antti Kantee
This is the simplest program to repeat the problem with g++ 5.1 and NetBSD's pthread_types.h: #include pthread.h class foo { pthread_mutex_t m; public: constexpr foo() : m(PTHREAD_MUTEX_INITIALIZER) {} }; (plus or minus typos since I typed it by hand from the virtual machine

Re: CVS commit: src/lib/libpthread

2015-06-26 Thread Antti Kantee
On 26/06/15 07:04, Nick Hudson wrote: On 06/26/15 02:33, Antti Kantee wrote: +# ifdef __CPU_SIMPLE_LOCK_PAD +# define __pthread_spin_t unsigned char +# else +# define __pthread_spin_t unsigned int +# endif Are you sure this works for hppa which has funky __cpu_simple_lock_t? You're right

Re: CVS commit: src/lib/libpthread

2015-06-26 Thread Antti Kantee
On 26/06/15 09:14, Joerg Sonnenberger wrote: On Fri, Jun 26, 2015 at 01:33:09AM +, Antti Kantee wrote: Module Name:src Committed By: pooka Date: Fri Jun 26 01:33:09 UTC 2015 Modified Files: src/lib/libpthread: pthread_types.h Log Message: C++ (namely libc

Re: CVS commit: src/lib/libpthread

2015-06-26 Thread Antti Kantee
On 26/06/15 07:04, Nick Hudson wrote: On 06/26/15 02:33, Antti Kantee wrote: +# ifdef __CPU_SIMPLE_LOCK_PAD +# define __pthread_spin_t unsigned char +# else +# define __pthread_spin_t unsigned int +# endif Are you sure this works for hppa which has funky __cpu_simple_lock_t? Slightly

Re: CVS commit: src/lib/libpthread

2015-06-26 Thread Antti Kantee
On 26/06/15 11:53, Joerg Sonnenberger wrote: That said, have you verified why it doesn't happen with libstdc++ itself? I would somewhat suspect that the threatment of the header as system header hides the problem for libstdc++, I can't imagine that it can correctly implement the constexpr

Re: CVS commit: src/lib/libpthread

2015-06-25 Thread Antti Kantee
On Fri, Jun 26, 2015 at 01:33:09AM +, Antti Kantee wrote: Module Name: src Committed By: pooka Date: Fri Jun 26 01:33:09 UTC 2015 Modified Files: src/lib/libpthread: pthread_types.h Log Message: C++ (namely libc++) expects to be using PTHREAD_FOO_INITIALIZER

Re: CVS commit: src/sys

2014-12-02 Thread Antti Kantee
[like pros, we were talking on source-changes list. that wasn't very useful] On 02/12/14 04:28, Ryota Ozaki wrote: On Tue, Dec 2, 2014 at 12:39 PM, Antti Kantee po...@iki.fi wrote: On 02/12/14 03:30, Ryota Ozaki wrote: The problem is that the real if_drain_all() will never be called

Re: CVS commit: src/sys/net

2014-12-01 Thread Antti Kantee
On 01/12/14 08:01, Martin Husemann wrote: On Mon, Dec 01, 2014 at 11:54:23AM +0900, Ryota Ozaki wrote: BTW, we may need ATF tests to ring the bell for such regressions. This is a bit tricky to do as we do not expose a sane api to create old binaries from source. It would boil down to copy

Re: CVS commit: src/sys/rump/dev

2014-11-18 Thread Antti Kantee
On 18/11/14 09:27, matthew green wrote: Antti Kantee writes: Module Name:src Committed By: pooka Date: Tue Nov 18 08:43:03 UTC 2014 Modified Files: src/sys/rump/dev: Makefile.rumpdevcomp Added Files: src/sys/rump/dev/lib/libpci_eap: Makefile PCI_EAP.ioconf

Re: CVS commit: src/sys

2014-11-16 Thread Antti Kantee
On 15/11/14 23:46, Takeshi Nakayama wrote: Justin Cormack jus...@specialbusservice.com wrote Er, you can't do that. 1. It breaks the rump builds on most platforms http://build.myriabit.eu:8012/waterfall as the prototypes dont match eg see

Re: CVS commit: src/usr.bin/config

2014-10-30 Thread Antti Kantee
On Thu, Oct 30, 2014 at 11:14:50AM +0900, Masao Uebayashi wrote: On Thu, Oct 30, 2014 at 10:51 AM, Christos Zoulas chris...@astron.com wrote: In article 20141030012621.0982...@cvs.netbsd.org, Masao Uebayashi source-changes-d@NetBSD.org wrote: Re: constructors/destructors: Using them

Re: CVS commit: src/usr.bin/config

2014-10-30 Thread Antti Kantee
On 30/10/14 17:28, Masao Uebayashi wrote: Is there a problem rototilling config is going to solve over what is possible with the existing mechanism (*)? You're welcomed to fix any problems without rotorill and/or breakage. You're not answering the question. *) you probably also heard that

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Antti Kantee
On Tue, Jun 17, 2014 at 08:42:35AM +, Alexander Nasonov wrote: Module Name: src Committed By: alnsn Date: Tue Jun 17 08:42:35 UTC 2014 Modified Files: src/lib/librumpuser: Makefile Log Message: Antti objected to including rumpuser_sync_icache. Exclude it from the

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Antti Kantee
On 17/06/14 09:46, Alexander Nasonov wrote: Antti Kantee wrote: To be clear: the objection was to modifying a stable interface without coordination. The hypercall interface is implemented in multiple places outside of the NetBSD tree, including by 3rd parties. Stable interface in -current

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Antti Kantee
On 17/06/14 11:23, Alexander Nasonov wrote: If you don't have time to wait for discussion or coordination, do everything in the privacy of the sljit component. Please teach me how to create a private component. Use RUMPCOMP_USER_SRCS, several examples under src/sys/rump I'm not saying that

Re: CVS commit: src/lib/librumpuser

2014-06-17 Thread Antti Kantee
On 17/06/14 11:52, Alexander Nasonov wrote: That's one more indication that sync icache is the wrong level of problem to represent at the interface level. Existence of __clear_cache is an indication of the opposite. Let's be thankful we're not discussing implementing a compiler. If it were

Re: CVS commit: src/sys

2014-05-26 Thread Antti Kantee
On 26/05/14 19:38, David Holland wrote: On Sun, May 25, 2014 at 04:31:51PM +, Antti Kantee wrote: Modified Files: src/sys/kern: subr_devsw.c vfs_bio.c src/sys/rump/librump/rumpkern: rump.c Log Message: Call biodone() in the bdev_strategy() error via a pointer. Decouples

Re: CVS commit: src

2014-04-29 Thread Antti Kantee
On Tue, Apr 29, 2014 at 06:51:57AM +, Masao Uebayashi wrote: Module Name: src Committed By: uebayasi Date: Tue Apr 29 06:51:57 UTC 2014 Modified Files: src: build.sh Log Message: resolvepath: Resolve .. in absolute paths. To generate a diff of this commit: cvs

Re: CVS commit: src/include/ssp

2014-04-25 Thread Antti Kantee
On 25/04/14 18:00, Christos Zoulas wrote: In article 20140425171614.ga22...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Thu, Apr 24, 2014 at 08:12:56PM +, Antti Kantee wrote: Module Name:src Committed By: pooka Date: Thu Apr 24 20:12:56 UTC 2014

Re: src/sys (removal of sysctl redundancies breaks modular spdmem)

2014-04-14 Thread Antti Kantee
On 14/04/14 14:19, Paul Goyette wrote: Module Name:src Committed By: pooka Date: Tue Feb 25 18:30:14 UTC 2014 Modified Files: ... src/sys/dev/ic: an.c ath_netbsd.c bwi.c rtw.c spdmem.c wi.c ... Log Message: Ensure that the top level sysctl nodes (kern, vfs, net,

Re: CVS commit: src/sys

2014-01-02 Thread Antti Kantee
On 01/02/2014 06:48 PM, Valery Ushakov wrote: Log Message: Allow kernels compiled with INET+INET6 to be booted as IPv4-only or IPv6-only. Forgot to explicitly #include sys/atomic.h? hpcsh GENERIC fails with: /usr/home/buildbot/slave2/src/sys/netinet/tcp_subr.c: In function

Re: CVS commit: src

2013-11-16 Thread Antti Kantee
On 16.11.2013 11:06, Alexander Nasonov wrote: +./usr/lib/librumpkern_sljit.so base-rump-shlib rump +./usr/lib/librumpkern_sljit.so.0 base-rump-shlib rump +./usr/lib/librumpkern_sljit.so.0.0 base-rump-shlib rump A similar change

Re: CVS commit: src/sys/rump

2013-07-04 Thread Antti Kantee
On 4.7.2013 14:53, Valery Ushakov wrote: On Thu, Jul 04, 2013 at 10:14:04 +, Antti Kantee wrote: Module Name:src Committed By: pooka Date: Thu Jul 4 10:14:04 UTC 2013 Modified Files: src/sys/rump: Makefile.rump Log Message: Apparently warning flags are not kept

Re: CVS commit: src/sys/rump

2013-07-04 Thread Antti Kantee
On 4.7.2013 15:05, Valery Ushakov wrote: Ah, I was confused because just before that I was staring at FreeBSD bsd.sys.mk which does use CWARNFLAGS for -W* and then looked at -Werror in ours. History says: revision 1.26 date: 1998-08-25 18:57:21 +0400; author: tv; state: Exp; lines: +3 -2;

Re: CVS commit: src/sys/kern

2013-03-11 Thread Antti Kantee
On 11.03.2013 23:56, YAMAMOTO Takashi wrote: Module Name:src Committed By: pooka Date: Mon Mar 11 21:37:54 UTC 2013 Modified Files: src/sys/kern: subr_pool.c Log Message: In pool_cache_put_slow(), pool_get() can block (it does mutex_enter()), so we need to retry if

Re: CVS commit: src/external/cddl/osnet/sys/sys

2013-01-03 Thread Antti Kantee
On 03.01.2013 17:59, David Laight wrote: On Thu, Jan 03, 2013 at 04:42:55PM +, David Laight wrote: Module Name:src Committed By: dsl Date: Thu Jan 3 16:42:55 UTC 2013 Modified Files: src/external/cddl/osnet/sys/sys: random.h Log Message: Use cprgn_fast() not

Re: CVS commit: src/share/mk

2012-12-10 Thread Antti Kantee
On 11.12.2012 00:25, matthew green wrote: Module Name:src Committed By: pooka Date: Mon Dec 10 20:58:55 UTC 2012 Modified Files: src/share/mk: bsd.gcc.mk Log Message: Deal with crti and crtn not present in some EXTERNAL_TOOLCHAIN's. Also, handle missing crtstuff

Re: CVS commit: src/include (commaize_number)

2011-03-15 Thread Antti Kantee
On Tue Mar 15 2011 at 05:25:51 -0700, Paul Goyette wrote: Module Name:src Committed By: pooka Date: Tue Mar 15 12:21:08 UTC 2011 Modified Files: src/include: stdlib.h Log Message: put in a proto for commaize_number() (nb. doing this purely as the minimum work

Re: CVS commit: src/include (commaize_number)

2011-03-15 Thread Antti Kantee
On Tue Mar 15 2011 at 05:33:16 -0700, Paul Goyette wrote: On Tue, 15 Mar 2011, Antti Kantee wrote: On Tue Mar 15 2011 at 05:25:51 -0700, Paul Goyette wrote: Module Name:src Committed By: pooka Date: Tue Mar 15 12:21:08 UTC 2011 Modified Files: src/include

Re: CVS commit: src/lib/librumphijack

2011-03-11 Thread Antti Kantee
On Fri Mar 11 2011 at 03:34:47 +0300, Valeriy E. Ushakov wrote: On Thu, Mar 10, 2011 at 23:02:56 +, Antti Kantee wrote: Use rumphijack_dlsym() to figure out where __sysctl() is during init. Otherwise powerpc dlsym() DTWT and returns NULL. (now i have no idea why dlsym() it works from

Re: CVS commit: src/sys/rump/net/lib/libshmif

2011-03-11 Thread Antti Kantee
On Fri Mar 11 2011 at 20:37:47 +0300, Alexander Nasonov wrote: 11.03.2011, 12:26, Antti Kantee po...@netbsd.org: Log Message: Don't assume rump kernel PAGE_SIZE and host page size are the same. Why can they be different? I asked myself this question when I was writing For example on SPARC

Re: CVS commit: src

2011-03-10 Thread Antti Kantee
On Wed, Mar 09, 2011 at 11:10:09PM +, Joerg Sonnenberger wrote: Log Message: Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports _rtld_tls_allocate and _rtld_tls_free. libpthread uses this functions to setup the thread private area of all new threads. ld.elf_so is

Re: CVS commit: src

2011-03-10 Thread Antti Kantee
Actually, I misread some stuff. n/m sorry for the noise. On Thu, Mar 10, 2011 at 01:50:37PM +, Antti Kantee wrote: On Wed, Mar 09, 2011 at 11:10:09PM +, Joerg Sonnenberger wrote: Log Message: Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports

Re: CVS commit: src/sys/sys

2011-03-09 Thread Antti Kantee
On Wed Mar 09 2011 at 13:45:37 -0800, Matt Thomas wrote: On Mar 9, 2011, at 1:14 PM, matthew green wrote: Module Name: src Committed By: pooka Date: Wed Mar 9 19:02:04 UTC 2011 Modified Files: src/sys/sys: param.h Log Message: Bump version

Re: CVS commit: src/sys/arch/amd64/include

2011-03-04 Thread Antti Kantee
On Fri Mar 04 2011 at 11:42:10 +0100, Joerg Sonnenberger wrote: On Fri, Mar 04, 2011 at 04:33:17AM +, Christos Zoulas wrote: In article 20110304033425.0e01017...@cvs.netbsd.org, Joerg Sonnenberger source-changes-d@NetBSD.org wrote: -=-=-=-=-=- Module Name: src Committed By:

Re: CVS commit: src/sys/arch/amd64/include

2011-03-04 Thread Antti Kantee
On Fri Mar 04 2011 at 13:59:34 +0100, Joerg Sonnenberger wrote: Log Message: Reduce MAXSSIZ to 64MB, otherwise netbsd32 binaries crash in ld.elf_so, including the trivial main(){}. Add a warning to not modify this without testing compatibility mode. Please revert

Re: CVS commit: src/lib/librumphijack

2011-02-27 Thread Antti Kantee
On Sun Feb 27 2011 at 08:12:37 +0300, Valeriy E. Ushakov wrote: On Fri, Feb 25, 2011 at 16:01:42 +, Antti Kantee wrote: Module Name:src Committed By: pooka Date: Fri Feb 25 16:01:42 UTC 2011 Modified Files: src/lib/librumphijack: Makefile

Re: CVS commit: src

2011-02-26 Thread Antti Kantee
On Fri Feb 25 2011 at 22:06:32 +0100, Joerg Sonnenberger wrote: On Fri, Feb 25, 2011 at 04:38:54PM +0200, Antti Kantee wrote: On Fri Feb 25 2011 at 15:19:30 +0100, Joerg Sonnenberger wrote: I get time outs for stress_long and stress_short (rump/rumpkern/t_sp). Those are because of, from

Re: CVS commit: src

2011-02-25 Thread Antti Kantee
On Fri Feb 25 2011 at 12:36:07 +0200, Jukka Ruohonen wrote: On Thu, Feb 24, 2011 at 04:45:30PM +0100, Joerg Sonnenberger wrote: pretty much unchanged. Feel free to perform benchmarks if you want. There are also changes to EST in that time window... This must be a bad joke. The things I did

Re: CVS commit: src

2011-02-25 Thread Antti Kantee
On Fri Feb 25 2011 at 15:19:30 +0100, Joerg Sonnenberger wrote: I get time outs for stress_long and stress_short (rump/rumpkern/t_sp). Those are because of, from what I could tell, this: 0xbbbd45c5 fcntl+21: mov%gs:0x0,%edi == segfault Notably, those tests exercise threads and processes

Re: CVS commit: src

2011-02-24 Thread Antti Kantee
On Thu Feb 24 2011 at 04:28:50 +, Joerg Sonnenberger wrote: Log Message: Allow storing and receiving the LWP private pointer via ucontext_t on all platforms except VAX and IA64. Add fast access via register for AMD64, i386 and SH3 ports. Use this fast access in libpthread to replace the

Re: CVS commit: src/lib/librumphijack

2011-02-23 Thread Antti Kantee
On Wed Feb 23 2011 at 01:31:51 +, YAMAMOTO Takashi wrote: On Mon Feb 21 2011 at 23:19:47 +, YAMAMOTO Takashi wrote: Module Name: src Committed By:pooka Date:Mon Feb 7 19:34:39 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log

Re: CVS commit: src/lib/librumphijack

2011-02-22 Thread Antti Kantee
On Mon Feb 21 2011 at 23:19:47 +, YAMAMOTO Takashi wrote: Module Name:src Committed By: pooka Date: Mon Feb 7 19:34:39 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Force gcc to generate a stack frame for the call to

Re: CVS commit: src/lib/librumphijack

2011-02-20 Thread Antti Kantee
On Sun Feb 20 2011 at 04:34:02 +0100, Joerg Sonnenberger wrote: On Sat, Feb 19, 2011 at 07:54:25PM +0200, Antti Kantee wrote: On Sat Feb 19 2011 at 14:58:45 +0100, Joerg Sonnenberger wrote: On Sat, Feb 19, 2011 at 01:10:36PM +, Antti Kantee wrote: Module Name:src Committed

Re: CVS commit: src/sys/arch/amd64/conf

2011-02-20 Thread Antti Kantee
On Sun Feb 20 2011 at 07:19:03 -0800, Paul Goyette wrote: On Sun, 20 Feb 2011, Jukka Ruohonen wrote: On Mon, Feb 21, 2011 at 01:45:01AM +1100, matthew green wrote: well, i dunno about others but i've found that the old modules lying around tends to fill up space pretty quickly, but ignoring

Re: CVS commit: src/sys/arch/amd64/conf

2011-02-20 Thread Antti Kantee
On Sun Feb 20 2011 at 17:15:57 +0100, Jean-Yves Migeon wrote: = 1.3MiB. So, a total of 1.3M + 700k = 2MiB. Still missing 1.5MiB. MODULAR options seems to consume ~70kiB , so I would assume that the rest is due to PIC mode and ELF headers... ? Dunno where the space is going, but it's certainly

Re: CVS commit: src/lib/librumphijack

2011-02-19 Thread Antti Kantee
On Sat Feb 19 2011 at 14:58:45 +0100, Joerg Sonnenberger wrote: On Sat, Feb 19, 2011 at 01:10:36PM +, Antti Kantee wrote: Module Name:src Committed By: pooka Date: Sat Feb 19 13:10:35 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c

Re: CVS commit: src/lib/librumphijack

2011-02-09 Thread Antti Kantee
On Wed Feb 09 2011 at 02:32:17 +, Christos Zoulas wrote: And, on a tangent, it would really help if we had some mechanism for latest version of symbol exported by libc (cf. mess with select, pollts, kevent and socket). For working compat, I guess we'd need to bump rumphijack major every

Re: CVS commit: src/lib/librumphijack

2011-02-08 Thread Antti Kantee
On Tue Feb 08 2011 at 22:00:49 +0100, Joerg Sonnenberger wrote: On Tue, Feb 08, 2011 at 03:34:54PM -0500, Christos Zoulas wrote: Still the problem remains, how do we stack the calls to insert the ssp check at the top level, without resorting to rtld tricks? Let me try to summarize the

Re: CVS commit: src/lib/librumphijack

2011-02-08 Thread Antti Kantee
On Tue Feb 08 2011 at 23:22:44 +0200, Antti Kantee wrote: On Tue Feb 08 2011 at 22:00:49 +0100, Joerg Sonnenberger wrote: On Tue, Feb 08, 2011 at 03:34:54PM -0500, Christos Zoulas wrote: Still the problem remains, how do we stack the calls to insert the ssp check at the top level, without

Re: CVS commit: src/lib/librumphijack

2011-02-08 Thread Antti Kantee
On Tue Feb 08 2011 at 22:41:57 +0100, Joerg Sonnenberger wrote: On Tue, Feb 08, 2011 at 11:22:44PM +0200, Antti Kantee wrote: On Tue Feb 08 2011 at 22:00:49 +0100, Joerg Sonnenberger wrote: On Tue, Feb 08, 2011 at 03:34:54PM -0500, Christos Zoulas wrote: Still the problem remains, how do

Re: CVS commit: src/lib/librumphijack

2011-02-08 Thread Antti Kantee
On Tue Feb 08 2011 at 23:04:35 +0100, Joerg Sonnenberger wrote: No, it wants to override whatever is the symbol applications are resolved to. For -current this is _sys_read (on nb5 it's read). That's not what the library is doing according to nm. It defines read and not

Re: CVS commit: src/usr.bin/xlint/lint1

2011-02-07 Thread Antti Kantee
On Mon Feb 07 2011 at 00:00:15 -0800, Matt Thomas wrote: Why is lint in tools anyway ?) (at least as a non-nop) so the build can make lintlibs duh. /brick /me. -- älä karot toivorikkauttas, kyl rätei ja lumpui piisaa

Re: CVS commit: src/lib/librumphijack

2011-02-07 Thread Antti Kantee
On Mon Feb 07 2011 at 11:51:02 +, Antti Kantee wrote: Module Name: src Committed By: pooka Date: Mon Feb 7 11:51:02 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Unbreak the ssp lossage from the default -current build by removing it. I still

Re: CVS commit: src/tests/rump/rumpkern/h_client

2011-02-07 Thread Antti Kantee
On Tue Feb 08 2011 at 07:53:15 +1100, matthew green wrote: Module Name:src Committed By: pooka Date: Mon Feb 7 20:05:09 UTC 2011 Modified Files: src/tests/rump/rumpkern/h_client: h_sigcli.c Log Message: Limit test duration based on wall time

Re: CVS commit: src/sys/arch/powerpc/ibm4xx

2011-02-06 Thread Antti Kantee
On Mon Feb 07 2011 at 07:02:25 +, Matt Thomas wrote: Module Name: src Committed By: matt Date: Mon Feb 7 07:02:24 UTC 2011 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Use EVCNT_ATTACH_STATIC Can't we just: 1) Work toward getting of rid linkset

Re: CVS commit: src/usr.bin/xlint/lint1

2011-02-06 Thread Antti Kantee
On Sun Feb 06 2011 at 19:26:27 -0500, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Mon Feb 7 00:26:27 UTC 2011 Modified Files: src/usr.bin/xlint/lint1: mkops Log Message: provide __arraycount() if not there. What's the point? Now if a (future)

Re: CVS commit: src

2011-01-28 Thread Antti Kantee
On Fri Jan 28 2011 at 18:05:50 +0900, Izumi Tsutsui wrote: Out of curiosity, was there any thought is adding this to evbmips instead of getting its own top-level arch subdir? emips already has native bootloader and src/distrib files, so it's enough reason to have own port dir.

Re: CVS commit: src

2011-01-28 Thread Antti Kantee
On Fri Jan 28 2011 at 23:07:37 +0900, Izumi Tsutsui wrote: additionally, userland is built with MKSOFTFLOAT=yes, Hmm. In that case, shouldn't we have different ${MACHINE_ARCH} for different binaries? i think you're right. hmm, looking at the build cluster output there seem to be very

Re: CVS commit: src

2011-01-28 Thread Antti Kantee
On Fri Jan 28 2011 at 16:26:50 +0200, Antti Kantee wrote: On Fri Jan 28 2011 at 23:07:37 +0900, Izumi Tsutsui wrote: additionally, userland is built with MKSOFTFLOAT=yes, Hmm. In that case, shouldn't we have different ${MACHINE_ARCH} for different binaries? i think you're right

Re: CVS commit: src

2011-01-28 Thread Antti Kantee
On Fri Jan 28 2011 at 23:40:34 +0900, Izumi Tsutsui wrote: Do you have a naming suggestion? mipsebsf? hpcmips chose and implemented painful fpemul to avoid such discussion, IIRC :-) heh. well, in this case I guess we could implement fpu support in the CPU to avoid discussions ;) -- älä

Re: CVS commit: src/lib/librumphijack

2011-01-27 Thread Antti Kantee
On Wed Jan 26 2011 at 13:48:32 -0500, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Wed Jan 26 18:48:32 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: make SSP friendly Can you add a comment stating why readlink and getcwd

Re: CVS commit: src

2011-01-26 Thread Antti Kantee
On Wed Jan 26 2011 at 19:48:52 +0900, Izumi Tsutsui wrote: + * Make a kernel mapping valid for I/O, e.g. non-cachable. + * Alignment and length constraints are as-if NBPG==PAGE_SIZE. : What is this miracle, however? IIRC that miracle is about mapping the flash which is not in

Re: CVS commit: src

2011-01-26 Thread Antti Kantee
On Wed Jan 26 2011 at 20:47:11 +0900, Toru Nishimura wrote: Antti Kantee said; eMIPS is a platform developed at Microsoft Research for researching reconfigurable computing. eMIPS allows dynamic loading and scheduling of application-specific circuits for the purpose of accelerating

Re: CVS commit: src

2011-01-25 Thread Antti Kantee
On Wed Jan 26 2011 at 02:09:30 +, Mindaugas Rasiukevicius wrote: + * Make a kernel mapping valid for I/O, e.g. non-cachable. + * Alignment and length constraints are as-if NBPG==PAGE_SIZE. + */ +int +ioaccess(vaddr_t vaddr, paddr_t paddr, vsize_t len) +{ + + while (len

Re: CVS commit: src

2011-01-18 Thread Antti Kantee
On Tue Jan 18 2011 at 11:34:23 +1100, Simon Burge wrote: Log Message: Remove /usr/share/misc/operator. Why was this removed when there was an active discussion about removing it where no concensus was reached? This sort of thing where commis occur before a discussion is finished seems

Re: CVS commit: src/sys

2011-01-18 Thread Antti Kantee
On Wed Jan 19 2011 at 01:10:10 +0900, Izumi Tsutsui wrote: Added Files: src/sys/compat/common: kern_select_50.c Builds of most m68k ports failed since sys/syscallargs.h requires sys/sched.h for cpuset_t. whoops ... Should we add it to all sources that include syscallargs.h, or just

Re: CVS commit: src/sys

2011-01-18 Thread Antti Kantee
On Wed Jan 19 2011 at 01:33:51 +0900, Izumi Tsutsui wrote: Do you want to do the change and test, or should I? Please do. (I just see you added sysarghdrextra in cvsweb ;-) I'll test it and cleanup other files later. I test-built mac68k GENERIC and committed the fix. -- älä karot

Re: CVS commit: src/lib/libp2k

2011-01-14 Thread Antti Kantee
On Fri Jan 14 2011 at 08:42:45 +, David Holland wrote: On Fri, Jan 07, 2011 at 11:15:31AM +, Antti Kantee wrote: Modified Files: src/lib/libp2k: p2k.c Log Message: Remove the componentname-saving code since it was addressing SAVENAME/HASBUF/SAVESTART and they don't

Re: CVS commit: src/lib/libp2k

2011-01-14 Thread Antti Kantee
On Fri Jan 14 2011 at 14:49:36 +, David Holland wrote: Do you have some relevant scenarios where fses set flags in componentname? For example, ufs_lookup sets ISWHITEOUT, which is later checked by ufs_mkdir and ufs_create and others. ... which is used only with unions which are not

Re: CVS commit: src/sys/fs/puffs

2011-01-11 Thread Antti Kantee
On Tue Jan 11 2011 at 14:04:54 +, Mihai Chelaru wrote: Module Name: src Committed By: kefren Date: Tue Jan 11 14:04:54 UTC 2011 Modified Files: src/sys/fs/puffs: puffs_sys.h puffs_vnops.c Log Message: add advlock to puffs. ok pooka@ should fix kern/43321 Thanks!

Re: CVS commit: src/sys/uvm

2011-01-06 Thread Antti Kantee
On Thu Jan 06 2011 at 05:51:57 +, enami tsugutomo wrote: Module Name: src Committed By: enami Date: Thu Jan 6 05:51:57 UTC 2011 Modified Files: src/sys/uvm: uvm_fault.c Log Message: Fix bugs introduced by previous commit; allocated page needs to be bound with the

Re: CVS commit: src/crypto/external/bsd/openssh/dist

2011-01-04 Thread Antti Kantee
On Mon Jan 03 2011 at 18:55:42 +, Arnaud Ysmal wrote: Module Name: src Committed By: stacktic Date: Mon Jan 3 18:55:42 UTC 2011 Modified Files: src/crypto/external/bsd/openssh/dist: sshconnect2.c Log Message: Fixed strvisx usage Didn't you fix that already once

Re: CVS commit: src

2011-01-02 Thread Antti Kantee
On Sun Jan 02 2011 at 05:04:59 +, David A. Holland wrote: Module Name: src Committed By: dholland Date: Sun Jan 2 05:04:59 UTC 2011 Modified Files: src/lib/libp2k: p2k.c src/sys/kern: vfs_lookup.c src/sys/sys: namei.src Log Message: Add an INRELOOKUP

Re: CVS commit: src

2011-01-02 Thread Antti Kantee
On Sun Jan 02 2011 at 12:58:13 +0200, Antti Kantee wrote: If componentname is guaranteed to be opaque (i.e. no read only might have been a better term there. (airquotes because of at least cn_consume) -- älä karot toivorikkauttas, kyl rätei ja lumpui piisaa

Re: CVS commit: src/tests/fs/common

2011-01-01 Thread Antti Kantee
On Fri Dec 31 2010 at 19:45:26 +, David Laight wrote: On Fri, Dec 31, 2010 at 06:16:41PM +, Antti Kantee wrote: Module Name:src Committed By: pooka Date: Fri Dec 31 18:16:41 UTC 2010 Modified Files: src/tests/fs/common: h_fsmacros.h Log

Re: CVS commit: src/sys/kern

2010-12-30 Thread Antti Kantee
On Mon Dec 27 2010 at 16:29:12 +, Mindaugas Rasiukevicius wrote: Antti Kantee po...@cs.hut.fi wrote: Module Name: src Committed By: rmind Date: Sat Dec 18 01:18:48 UTC 2010 Modified Files: src/sys/kern: sys_descrip.c Log Message

Re: CVS commit: src/lib/libc/time

2010-12-18 Thread Antti Kantee
On Fri Dec 17 2010 at 18:11:57 -0500, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Fri Dec 17 23:11:57 UTC 2010 Modified Files: src/lib/libc/time: localtime.c Log Message: PR/44248: Antti Kantee: Fix multi-threaded localtime hang. Please remember

Re: CVS commit: src/sys/kern

2010-12-18 Thread Antti Kantee
On Fri Dec 17 2010 at 22:34:04 +, YAMAMOTO Takashi wrote: Module Name: src Committed By: yamt Date: Fri Dec 17 22:34:04 UTC 2010 Modified Files: src/sys/kern: vfs_lookup.c Log Message: - lookup_once: when crossing a mount point, don't keep the parent vnode locked.

Re: CVS commit: src/lib/libc

2010-12-17 Thread Antti Kantee
On Fri Dec 17 2010 at 21:56:59 +0200, Jukka Ruohonen wrote: On Thu, Dec 16, 2010 at 01:38:07PM -0500, Christos Zoulas wrote: Log Message: Provide a re-entrant and thread-safe set of timezone API's that don't require locking and can operate on user-specified timezones as opposed to having

Re: CVS commit: src/lib/libc

2010-12-17 Thread Antti Kantee
On Fri Dec 17 2010 at 22:03:46 +0200, Antti Kantee wrote: On Fri Dec 17 2010 at 21:56:59 +0200, Jukka Ruohonen wrote: On Thu, Dec 16, 2010 at 01:38:07PM -0500, Christos Zoulas wrote: Log Message: Provide a re-entrant and thread-safe set of timezone API's that don't require locking

Re: CVS commit: src/usr.bin/rump_allserver

2010-12-15 Thread Antti Kantee
On Wed Dec 15 2010 at 09:40:22 +, Thomas Klausner wrote: Modified Files: src/usr.bin/rump_allserver: rump_allserver.c Log Message: Sort options in usage same as in man page. While here, replace \xa0 with ' '. Where do you get these from? Dunno, some weird combination of

Re: CVS commit: src/share/mk

2010-12-14 Thread Antti Kantee
On Tue Dec 14 2010 at 01:52:50 +0100, Joerg Sonnenberger wrote: On Mon, Dec 13, 2010 at 05:22:26PM +, Antti Kantee wrote: Module Name:src Committed By: pooka Date: Mon Dec 13 17:22:26 UTC 2010 Modified Files: src/share/mk: bsd.own.mk bsd.prog.mk

Re: CVS commit: src/sys

2010-12-13 Thread Antti Kantee
On Sat, Dec 11, 2010 at 10:37:47PM +, Matt Thomas wrote: Module Name: src Committed By: matt Date: Sat Dec 11 22:37:47 UTC 2010 Modified Files: src/sys/netinet: in_offload.c in_offload.h ip_input.c src/sys/netinet6: in6_offload.c in6_offload.h Log Message: Add

Re: CVS commit: src

2010-12-13 Thread Antti Kantee
On Mon Dec 13 2010 at 23:51:39 +0100, Christoph Egger wrote: On 13.12.10 22:15, Antti Kantee wrote: Module Name:src Committed By: pooka Date: Mon Dec 13 21:15:31 UTC 2010 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/comp

Re: CVS commit: src/sys/dev

2010-12-05 Thread Antti Kantee
On Sat Dec 04 2010 at 18:44:07 +, Christos Zoulas wrote: In article 20101204173951.3ae6e17...@cvs.netbsd.org, Antti Kantee source-changes-d@NetBSD.org wrote: -=-=-=-=-=- Module Name: src Committed By:pooka Date:Sat Dec 4 17:39:51 UTC 2010 Modified Files

Re: CVS commit: src/share/misc

2010-12-02 Thread Antti Kantee
On Thu Dec 02 2010 at 14:18:15 +0200, Jukka Ruohonen wrote: On Thu, Dec 02, 2010 at 08:31:43AM +, David Holland wrote: On Tue, Nov 30, 2010 at 07:07:15PM +, Jukka Ruohonen wrote: Add numerous entries from Roland Kammerer. Some of these are not acronyms: 1337, FSCK, and NOOB are

Re: CVS commit: src

2010-11-30 Thread Antti Kantee
On Tue Nov 30 2010 at 15:56:26 +0100, haad wrote: On Tue, Nov 30, 2010 at 3:23 PM, Antti Kantee po...@netbsd.org wrote: Module Name:    src Committed By:   pooka Date:           Tue Nov 30 14:23:24 UTC 2010 Modified Files:        src/lib/librumpuser: Makefile        src/sys/rump

Re: CVS commit: src/tests/lib/libc/stdio

2010-11-30 Thread Antti Kantee
On Mon Nov 22 2010 at 08:47:58 +, matthew green wrote: Module Name: src Committed By: mrg Date: Mon Nov 22 08:47:58 UTC 2010 Modified Files: src/tests/lib/libc/stdio: t_format.c Log Message: vax doesn't have ieee fp, so, don't try to test ieee fp on vax. Don't we

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Thu Nov 25 2010 at 14:05:28 +, Izumi Tsutsui wrote: Module Name: src Committed By: tsutsui Date: Thu Nov 25 14:05:28 UTC 2010 Modified Files: src/sys/arch/pmax/stand/common: startprog.S Log Message: Fix botch on mips64 merge: - use correct offsets to pass args to

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Thu Nov 25 2010 at 23:39:03 +0900, Izumi Tsutsui wrote: One remaining problem (which was debugged by Alessandro Forin) is that the post-mips64 brk/sbrk syscall stubs depend on syscall retaining t0, and the kernel doesn't do that. I have this in my local tree and it makes a mips1

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Fri Nov 26 2010 at 03:01:29 +1100, matthew green wrote: --- locore_mips1.S 8 Nov 2010 18:09:38 - 1.68 +++ locore_mips1.S 25 Nov 2010 14:15:39 - @@ -418,7 +418,7 @@ NESTED_NOPROFILE(mips1_SystemCall, CALLF sw a3, FRAME_A3(k1) lw

  1   2   3   4   5   >