Turn on CLANG_IS_CC when not building gcc

2013-02-13 Thread Dag-Erling Smørgrav
The following patches (for head and stable/9) automatically enable CLANG_IS_CC if GCC is disabled but CLANG is not. Any objections? Index: head/share/mk/bsd.own.mk === --- head/share/mk/bsd.own.mk(revision 246325) +++

Re: Turn on CLANG_IS_CC when not building gcc

2013-02-13 Thread Dimitry Andric
On 2013-02-13 12:48, Dag-Erling Smørgrav wrote: The following patches (for head and stable/9) automatically enable CLANG_IS_CC if GCC is disabled but CLANG is not. Any objections? This looks fine to me. Otherwise, if ${CC} isn't set to clang, buildworld might fail in mysterious ways... :)

Re: Turn on CLANG_IS_CC when not building gcc

2013-02-13 Thread Dag-Erling Smørgrav
Dimitry Andric d...@freebsd.org writes: Dag-Erling Smørgrav d...@des.no writes: The following patches (for head and stable/9) automatically enables CLANG_IS_CC if GCC is disabled but CLANG is not. Any objections? This looks fine to me. Otherwise, if ${CC} isn't set to clang, buildworld

Re: Request for review, time_pps_fetch() enhancement

2013-02-13 Thread Ian Lepore
On Tue, 2013-02-12 at 22:34 +0200, Konstantin Belousov wrote: On Tue, Feb 12, 2013 at 09:03:39AM -0700, Ian Lepore wrote: On Sun, 2013-02-10 at 12:37 +0200, Konstantin Belousov wrote: On Sat, Feb 09, 2013 at 02:47:06PM +0100, Jilles Tjoelker wrote: On Wed, Feb 06, 2013 at 05:58:30PM

SIGSEGV/SIGBUS when accessing after end of mmapped file; why it differs with GCC?

2013-02-13 Thread natris
Hello, I am porting an application which maps files into the memory and works directly with the memory. When doing this, it can happen that when someone resizes the file so that part of the previously mapped region is no longer backed by the file, synchronous signal is sent to the process which

Re: SIGSEGV/SIGBUS when accessing after end of mmapped file; why it differs with GCC?

2013-02-13 Thread Ryan Stone
On Wed, Feb 13, 2013 at 11:18 AM, nat...@centrum.cz wrote: Hello, I am porting an application which maps files into the memory and works directly with the memory. When doing this, it can happen that when someone resizes the file so that part of the previously mapped region is no longer

disk errors on heavy write I/O

2013-02-13 Thread Wojciech Puchar
when doing lots of writes (large file) after few tens of gigabytes i've got as below. smartctl -t long (full surface test) reports no errors my disk is ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: SAMSUNG HD154UI 1AG01118 ATA-7 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x,

Re: SIGSEGV/SIGBUS when accessing after end of mmapped file; why it differs with GCC?

2013-02-13 Thread Konstantin Belousov
On Wed, Feb 13, 2013 at 12:13:58PM -0500, Ryan Stone wrote: On Wed, Feb 13, 2013 at 11:18 AM, nat...@centrum.cz wrote: Hello, I am porting an application which maps files into the memory and works directly with the memory. When doing this, it can happen that when someone resizes the

Re: Request for review, time_pps_fetch() enhancement

2013-02-13 Thread Konstantin Belousov
On Wed, Feb 13, 2013 at 08:16:32AM -0700, Ian Lepore wrote: On Tue, 2013-02-12 at 22:34 +0200, Konstantin Belousov wrote: On Tue, Feb 12, 2013 at 09:03:39AM -0700, Ian Lepore wrote: On Sun, 2013-02-10 at 12:37 +0200, Konstantin Belousov wrote: On Sat, Feb 09, 2013 at 02:47:06PM +0100,

Re: Request for review, time_pps_fetch() enhancement

2013-02-13 Thread Adrian Chadd
... why don't we just mark tsleep() as a barrier point and be done with it? Same as the wakeup call? Adrian ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to

Re: kgdb modules

2013-02-13 Thread Andriy Gapon
on 04/02/2013 21:58 John Baldwin said the following: You can also load modules manually by using the add-kld command (give it a full path to an individual module). You may need to use 'nosharedlibrary' to unload symbols from the wrong module before add-kld will be useful however. I think

Re: Obscure platform testbed

2013-02-13 Thread Joshua Isom
On 2/12/2013 10:20 AM, Kevin Day wrote: I'm not sure if this is the right place to post this, so if you know of anyone who may be interested in this please forward to them. Right now my company (your.org) does the free amd64/i386 VMs for FreeBSD developers. For an unrelated project, we're

Re: Obscure platform testbed

2013-02-13 Thread Kevin Day
On Feb 13, 2013, at 3:53 PM, Joshua Isom jri...@gmail.com wrote: On 2/12/2013 10:20 AM, Kevin Day wrote: I'm not sure if this is the right place to post this, so if you know of anyone who may be interested in this please forward to them. Right now my company (your.org) does the free