Re: 7+ days of dogfood

2013-02-12 Thread Steve Kargl
On Wed, Feb 13, 2013 at 12:18:29AM +, b.f. wrote: > ># cat /etc/make.conf|grep FFLAGS > >FFLAGS = -O2 -pipe -march=native -mtune=native > > Please do _not_ assign flags unconditionally in make.conf. FFLAGS is for compiling Fortran. I'm one of the people who has spent years working/patching g

Re: 7+ days of dogfood

2013-02-11 Thread Steve Kargl
On Mon, Feb 11, 2013 at 01:29:12PM +, David Chisnall wrote: > On 11 Feb 2013, at 10:48, Fabian Keil wrote: > > > It's unfortunate that the builworld time roughly trippled since > > 2010 but I guess that's progress and a more powerful system > > should fix it. I certainly welcome clang in gene

Re: 7+ days of dogfood

2013-02-10 Thread Steve Kargl
On Sun, Feb 10, 2013 at 07:24:03PM +, Anton Shterenlikht wrote: > From s...@troutmask.apl.washington.edu Sun Feb 10 19:06:10 2013 > On Sun, Feb 10, 2013 at 06:51:23PM +, Anton Shterenlikht wrote: > > Date: Sun, 10 Feb 2013 08:44:24 -0800 > >

Re: 7+ days of dogfood

2013-02-10 Thread Steve Kargl
On Sun, Feb 10, 2013 at 06:51:23PM +, Anton Shterenlikht wrote: > Date: Sun, 10 Feb 2013 08:44:24 -0800 > From: Steve Kargl > To: Boris Samorodov > Subject: Re: 7+ days of dogfood > > > > FFLAGS = -O2 -pipe -march=native -mtune=nativ

Re: 7+ days of dogfood

2013-02-10 Thread Steve Kargl
On Sun, Feb 10, 2013 at 09:05:22AM -0800, Adrian Chadd wrote: > On 10 February 2013 08:44, Steve Kargl > wrote: > > > Without it, the build infrastructure was selecting -march=i486, > > which produced even worse results. Several ports would not > > compile because

Re: 7+ days of dogfood

2013-02-10 Thread Steve Kargl
On Sun, Feb 10, 2013 at 05:39:37PM +0400, Boris Samorodov wrote: > 10.02.2013 04:07, Steve Kargl ??: > > As for me I use CURRENT at my JOB for many years now. > I used to i386 but switched to amd64 at the end of 2012. > The system (both world and kernel) are updated ever

Re: 7+ days of dogfood

2013-02-09 Thread Steve Kargl
On Sun, Feb 10, 2013 at 08:33:25AM +0200, Ian FREISLICH wrote: > Steve Kargl wrote: > > Firefox segfaults after ~10 seconds. Chrome gets stuck in a uwait > > state and never becomes responsive. Libreoffice displays its splash > > screen and immediately segfaults. Xorg does

Re: 7+ days of dogfood

2013-02-09 Thread Steve Kargl
On Sat, Feb 09, 2013 at 04:07:23PM -0800, Steve Kargl wrote: > > Libreoffice currently does not build, but that's not totally > unexpected as compiling libreoffice seems to be a hit-or-miss > proposition. > laptop:root[201] cd /usr/ports/editors/libreoffice/work/libr

7+ days of dogfood

2013-02-09 Thread Steve Kargl
In a long thread started by Peter Wemm on developers@, he described the move/upgrade of the FreeBSD.org cluster to using FreeBSD-10. A part of his description included the need to test top-of-tree under actual real-world conditions. In his words, FreeBSD should "eat its own dogfood." The new ins

Re: compiling libc and libthr with debugging?

2013-02-07 Thread Steve Kargl
On Thu, Feb 07, 2013 at 01:20:16PM -0500, John Baldwin wrote: > On Thursday, February 07, 2013 1:14:41 pm Steve Kargl wrote: > > What's the preferred method for compiling libc > > and libthr with debugging enable? > > I just do: > > cd /path/to/src/lib/libc &g

compiling libc and libthr with debugging?

2013-02-07 Thread Steve Kargl
What's the preferred method for compiling libc and libthr with debugging enable? -- Steve ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr..

Re: "make buildworld" failures with NO_KERBEROS=

2013-01-18 Thread Steve Kargl
On Fri, Jan 18, 2013 at 08:54:03PM +0100, Fabian Keil wrote: > Recently "make buildworld" started failing for me: > > 8< > ===> include/xlocale (installincludes) > sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 _ctype.h _inttypes.h > _langinfo.h _locale.h _monetary.h _st

Re: Missing compile_et and kerberos breaks buildworld

2013-01-15 Thread Steve Kargl
On Tue, Jan 15, 2013 at 06:44:39PM -0500, Glen Barber wrote: > On Tue, Jan 15, 2013 at 03:35:25PM -0800, Steve Kargl wrote: > > It seems that buildworld depends on the existence of > > /usr/bin/compile_et if one wants to build WITH_KERBEROS > > on a system that has never had

Missing compile_et and kerberos breaks buildworld

2013-01-15 Thread Steve Kargl
It seems that buildworld depends on the existence of /usr/bin/compile_et if one wants to build WITH_KERBEROS on a system that has never had Kerberos support. I discovered this issue when des@ removed the NOFOO and NO_FOO options, and the NO_KERBEROS="YES" in my /etc/make.conf was neutered. The sy

Parallel buildworld broken by clang

2013-01-11 Thread Steve Kargl
It seems that a parallel buildworld is broken by clang. % cd /usr/src % svn update % svn info Path: . Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 245280 % make -j

Re: r245005M: NFSv4 usermapping not working anymore

2013-01-04 Thread Steve Kargl
On Fri, Jan 04, 2013 at 05:52:41PM +0100, O. Hartmann wrote: > Am 01/04/13 15:52, schrieb Garrett Cooper: > > Answering just the trivial question... > > On Fri, Jan 4, 2013 at 2:13 AM, O. Hartmann wrote: > >> server-1: FreeBSD 10.0-CURRENT #0 r244957: Wed Jan 2 12:06:13 CET 2013 > >> > >> By the w

Re: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc47/libgfortran.so.3 not found

2012-11-11 Thread Steve Kargl
On Sun, Nov 11, 2012 at 10:41:41PM +0100, O. Hartmann wrote: > I replaced lang/gcc46 by lang/gcc47, since gcc46 doesn't build anymore > on the FreeBSD 10.0-CURRENT in question. > > I have a small f77 program, which built well with the autotools I used > and ran for ages now. But I receive this err

Re: clang and static linking?

2012-11-09 Thread Steve Kargl
On Sat, Nov 10, 2012 at 01:33:40AM +0100, Dimitry Andric wrote: > On 2012-11-10 00:25, Dimitry Andric wrote: > ... > > The more difficult way out is to not define any duplicate functions in > > libc.a and libm.a. For the shared libraries, this should not be a > > problem, since the dynamic linker

Re: clang and static linking?

2012-11-09 Thread Steve Kargl
On Fri, Nov 09, 2012 at 07:02:48PM +0100, Dimitry Andric wrote: > On 2012-11-09 00:13, Steve Kargl wrote: > > Upgraded my amd64 system, yesterday. Needed to rebuild one > > of my projects, and hit > > > > /usr/local/openmpi-1.6.3/bin/mpif90 -static -O2 -pipe -marc

Re: clang and static linking?

2012-11-09 Thread Steve Kargl
On Fri, Nov 09, 2012 at 05:45:41PM +0100, Roman Divacky wrote: > On Fri, Nov 09, 2012 at 08:43:04AM -0800, Steve Kargl wrote: > > On Fri, Nov 09, 2012 at 02:00:12PM +0200, Konstantin Belousov wrote: > > > > > > There is some magic switch to reduce amount of clang bugs,

Re: clang and static linking?

2012-11-09 Thread Steve Kargl
On Fri, Nov 09, 2012 at 02:00:12PM +0200, Konstantin Belousov wrote: > On Thu, Nov 08, 2012 at 03:49:32PM -0800, Steve Kargl wrote: > > > > This appears to fix the problem. Don't know if this is > > th right way to handle it. >

Re: clang and static linking?

2012-11-08 Thread Steve Kargl
On Thu, Nov 08, 2012 at 03:13:49PM -0800, Steve Kargl wrote: > Upgraded my amd64 system, yesterday. Needed to rebuild one > of my projects, and hit > > /usr/local/openmpi-1.6.3/bin/mpif90 -static -O2 -pipe -march=native > -mtune=native -funroll-loops -ftree-vectorize -Wall -rpat

clang and static linking?

2012-11-08 Thread Steve Kargl
Upgraded my amd64 system, yesterday. Needed to rebuild one of my projects, and hit /usr/local/openmpi-1.6.3/bin/mpif90 -static -O2 -pipe -march=native -mtune=native -funroll-loops -ftree-vectorize -Wall -rpath /usr/local/lib/gcc46 -I/home/kargl/modules -o sasmp sasmp.f90 -L/home/kargl/lib -L. -

Re: FORTRAN vs. Fortran (was: November 5th is Clang-Day)

2012-11-02 Thread Steve Kargl
On Fri, Nov 02, 2012 at 07:27:44AM -0500, Stephen Montgomery-Smith wrote: > > caNyO usti llputw hitespa cewhere ever you like in for TraN? > Sigh. You can get copies of the final committee drafts of the Fortran 95, 2003, and 2008 standards. There you will learn that Fortran since Fortran 90 al

Re: FORTRAN vs. Fortran (was: November 5th is Clang-Day)

2012-11-02 Thread Steve Kargl
On Fri, Nov 02, 2012 at 08:25:58AM +, David Chisnall wrote: > On 2 Nov 2012, at 08:18, Mehmet Erol Sanliturk wrote: > > > Very many years ago , when 2010 was a very distant future , I do not > > remember the name of the writer , who wrote approximately : > > > > "In 2010 , there will be Fortr

Re: November 5th is Clang-Day

2012-11-01 Thread Steve Kargl
On Fri, Nov 02, 2012 at 12:21:03PM +0700, Erich Dollansky wrote: > Hi, > > On Thu, 1 Nov 2012 21:59:17 -0700 > Steve Kargl wrote: > > > On Thu, Nov 01, 2012 at 10:29:45PM -0500, Brooks Davis wrote: > > > - Not all libm tests pass. More work by subject matter e

Re: November 5th is Clang-Day

2012-11-01 Thread Steve Kargl
On Thu, Nov 01, 2012 at 10:29:45PM -0500, Brooks Davis wrote: > - Not all libm tests pass. More work by subject matter experts is >required to create tests cases for LLVM developers. Most problems are >not expected to be major in practice given that LLVM is being used for >scientific

Re: new DragonFly-3.2 scheduler and PostgreSQL comparision with FreeBSD 9.1-RC1

2012-10-14 Thread Steve Kargl
On Sun, Oct 14, 2012 at 01:09:47AM -0700, Jakub Lach wrote: > > "* Scheduler rewrite" > > They threw out old scheduler and have instant gains? That's > too good to be true, seeing as still some loathe ULE in > FreeBSD after all this time. > 'loathe' appears to be an interesting choice of word.

Re: lang/icon: Port does not respect "USE_GCC=4.6+ override and stops building duet to "BROKEN" flag

2012-09-25 Thread Steve Kargl
On Tue, Sep 25, 2012 at 02:42:23PM +0200, O. Hartmann wrote: > If someone overrides the default system compiler which is in my case > CLANG 3.2 (on FreeBSD 10.0-CURRENT #1 r240885M: Mon Sep 24 12:30:44 > CEST 2012 amd64), the if-statement does always take place and prevents > lang/icon to be build

Re: More kernel performance tests on FreeBSD 10.0-CURRENT

2012-09-22 Thread Steve Kargl
On Sat, Sep 22, 2012 at 02:20:14PM +0300, Konstantin Belousov wrote: > On Fri, Sep 21, 2012 at 11:39:40PM +0200, Dimitry Andric wrote: > > Hi all, > > > > As a followup to my previous post about the performance of FreeBSD 10.0 > > kernels compiled with different compilers (clang and gcc), I did an

Re: Clang as default compiler November 4th

2012-09-15 Thread Steve Kargl
On Sat, Sep 15, 2012 at 07:18:28PM +0200, Dimitry Andric wrote: > On 2012-09-15 16:30, Tijl Coosemans wrote: > >On 15-09-2012 16:09, Roman Divacky wrote: > >>Is this correct? > >> > >>lev ~$ ./cos 1.23456789e20 > >>6.031937e-01 > >>-9.629173e-02 > >>2.814722e-01 > > > >Yes, that's what the libm cal

Re: Clang as default compiler November 4th

2012-09-14 Thread Steve Kargl
On Fri, Sep 14, 2012 at 05:18:08PM -0700, Steve Kargl wrote: > > A third class of failure appears to be that clang emits > i387 fpu instructions for at least sinf and cosf instead > of calls to the library routines. AFAIK, the library > routines are faster and more accurate. >

Re: Clang as default compiler November 4th

2012-09-14 Thread Steve Kargl
On Fri, Sep 14, 2012 at 03:23:19PM -0500, Brooks Davis wrote: > On Thu, Sep 13, 2012 at 09:10:24AM -0700, Steve Kargl wrote: > > ok 1 - cexp zero > > Abort trap (core dumped) > > *** [tests] Error code 134 > > > > Stop in /usr/src/tools/regression/lib/msun. >

Re: Clang as default compiler November 4th

2012-09-13 Thread Steve Kargl
On Thu, Sep 13, 2012 at 06:25:37PM +0200, Stefan Farfeleder wrote: > On Thu, Sep 13, 2012 at 09:10:24AM -0700, Steve Kargl wrote: > > clang -O2 -pipe -march=opteron -O0 -lm test-cexp.c -o test-cexp > > test-cexp.c:49:14: warning: pragma STDC FENV_ACCESS ON is not supported, >

Re: Clang as default compiler November 4th

2012-09-13 Thread Steve Kargl
On Thu, Sep 13, 2012 at 09:32:12AM -0600, Ian Lepore wrote: > On Wed, 2012-09-12 at 19:08 -0700, Steve Kargl wrote: > > In regards to my initial post in this thread, I was just trying > > to assess whether any benchmarks have been performed on FreeBSD > > for floating poi

Re: Clang as default compiler November 4th

2012-09-12 Thread Steve Kargl
On Wed, Sep 12, 2012 at 04:42:27PM -0500, Nathan Whitehorn wrote: > On 09/11/12 09:56, Dimitry Andric wrote: > >On 2012-09-11 16:27, Tijl Coosemans wrote:> On 11-09-2012 16:10, > >Dimitry Andric wrote: > >... > >>>Yes, maths support, specifically precision, is admittedly still one of > >>>clang's

Re: Clang as default compiler November 4th

2012-09-11 Thread Steve Kargl
On Tue, Sep 11, 2012 at 07:19:48PM +0200, Roman Divacky wrote: > On Tue, Sep 11, 2012 at 08:12:30AM -0700, Steve Kargl wrote: > > > > I'm not sure if anyone has done any extensive testing. > > I've started to run some of my test codes to compare > > certain fu

Re: Clang as default compiler November 4th

2012-09-11 Thread Steve Kargl
On Tue, Sep 11, 2012 at 12:14:09PM -0500, Mark Felder wrote: > "Clang produces incorrect code" vs "Clang's floating point has > issues" are two different arguments. Wow. clang produces incorrect floating point code, and that's somehow just an issue with floating point. > For a mathematical appl

Re: Clang as default compiler November 4th

2012-09-11 Thread Steve Kargl
On Tue, Sep 11, 2012 at 11:42:53AM -0500, Mark Felder wrote: > On Tue, 11 Sep 2012 09:10:24 -0500, Michael Butler > wrote: > > >- From the link (http://math-atlas.sourceforge.net/errata.html#WhatComp) > >that Steve Kargl referenced (dated July 2012). > > >

Re: Clang as default compiler November 4th

2012-09-11 Thread Steve Kargl
On Tue, Sep 11, 2012 at 04:27:55PM +0200, Tijl Coosemans wrote: > On 11-09-2012 16:10, Dimitry Andric wrote: > > On 2012-09-11 15:24, Steve Kargl wrote: > >> What is important is whether software built with clang functions > >> correctly. See for exa

Re: Clang as default compiler November 4th

2012-09-11 Thread Steve Kargl
On Tue, Sep 11, 2012 at 04:10:13PM +0200, Dimitry Andric wrote: > On 2012-09-11 15:24, Steve Kargl wrote: > ... > >How fast clang builds world in comparison to gcc is irrelevant. > > Not at all irrelevant: this proposal is about changing the default > compiler for the FreeB

Re: Clang as default compiler November 4th

2012-09-11 Thread Steve Kargl
On Tue, Sep 11, 2012 at 02:52:20PM +0200, Erik Cederstrand wrote: > Den 11/09/2012 kl. 14.38 skrev Roman Divacky : > > By the nature of "developing the OS" we are forced to use compilers and > > toolchains. Recently I saw you submitting/committing patches with .byte > > sequences because our defaul

Re: Clang as default compiler November 4th

2012-09-11 Thread Steve Kargl
On Tue, Sep 11, 2012 at 02:06:49PM +0200, Roman Divacky wrote: > > > tl;dr: Clang will become the default compiler for x86 architectures on > > > 2012-11-04 > > > Another issue with the switch, which seems to be not only not addressed, > > but even not talked about, is the performance impact of t

Re: HELP: New Port: devel/pocl: A portable OpenCL library with LLVM backend

2012-09-08 Thread Steve Kargl
On Sat, Sep 08, 2012 at 10:57:49AM +0200, O. Hartmann wrote: > Hello. > I tried to create a "port", see the Makefile attached I created already. > For further informations and your convenience, look at this website: > Please stop cross posting to freebsd-current when you have some issue that clea

Re: Compiler performance tests on FreeBSD 10.0-CURRENT

2012-09-06 Thread Steve Kargl
On Thu, Sep 06, 2012 at 10:43:12AM +0200, Roman Divacky wrote: > On Wed, Sep 05, 2012 at 03:13:11PM -0700, Steve Kargl wrote: > > > > Compiling libm on > > > > CPU: AMD Opteron(tm) Processor 248 (2192.01-MHz K8-class CPU) > > Origin = "AuthenticA

Re: Compiler performance tests on FreeBSD 10.0-CURRENT

2012-09-05 Thread Steve Kargl
On Wed, Sep 05, 2012 at 11:31:26AM +0200, Dimitry Andric wrote: > On 2012-09-05 01:40, Garrett Cooper wrote: > ... > > Steve does have a point. Posting the results of > >CFLAGS/CPPFLAGS/LDFLAGS/etc for config.log (and maybe poking through > >the code to figure out what *FLAGS were used elsewher

Re: Compiler performance tests on FreeBSD 10.0-CURRENT

2012-09-04 Thread Steve Kargl
On Tue, Sep 04, 2012 at 11:59:39PM +0200, Dimitry Andric wrote: > On 2012-09-04 23:43, Steve Kargl wrote: > >On Tue, Sep 04, 2012 at 10:39:40PM +0200, Dimitry Andric wrote: > >>I recently performed a series of compiler performance tests on FreeBSD > >>10.0-CURRENT, parti

Re: Compiler performance tests on FreeBSD 10.0-CURRENT

2012-09-04 Thread Steve Kargl
On Tue, Sep 04, 2012 at 10:39:40PM +0200, Dimitry Andric wrote: > > I recently performed a series of compiler performance tests on FreeBSD > 10.0-CURRENT, particularly comparing gcc 4.2.1 and gcc 4.7.1 against > clang 3.1 and clang 3.2. > > The attached text file[1] contains more information abou

Re: rtld dropping core on recent -current

2012-08-02 Thread Steve Kargl
On Thu, Aug 02, 2012 at 09:55:36PM -0400, Alexander Kabaev wrote: > On Thu, 2 Aug 2012 14:39:54 -0700 > Steve Kargl wrote: > > > % file /usr/local/bin/ppdpo > > /usr/local/bin/ppdpo: ELF 32-bit LSB shared object, Intel 80386, \ > > version 1 (FreeBSD), dynamical

Re: possible je-malloc issue

2012-08-02 Thread Steve Kargl
On Thu, Aug 02, 2012 at 04:36:35PM -0700, Steve Kargl wrote: > On Thu, Aug 02, 2012 at 04:21:20PM -0700, Jason Evans wrote: > > On Aug 2, 2012, at 3:32 PM, Steve Kargl wrote: > > > (gdb) print *ptr > > > Attempt to dereference a generic pointer. > > > (gdb) up 1

Re: possible je-malloc issue

2012-08-02 Thread Steve Kargl
On Thu, Aug 02, 2012 at 04:21:20PM -0700, Jason Evans wrote: > On Aug 2, 2012, at 3:32 PM, Steve Kargl wrote: > > (gdb) print *ptr > > Attempt to dereference a generic pointer. > > (gdb) up 1 > > #5 0x48164b7d in XFree (data=0x80f58e0) at XlibInt.c:1701 > > 1

possible je-malloc issue

2012-08-02 Thread Steve Kargl
Libc built today. Start X with fvwm window manager. Open xterm and su to root. 1. Use nedit to edit a file and close. fvwm drops core. If fvwm does not drop core repeat 1 until she does. (gdb) bt #0 0x4841e294 in __jemalloc_arena_mapbits_get (chunk=0x800, pageind=245) at /usr/src/lib

rtld dropping core on recent -current

2012-08-02 Thread Steve Kargl
% file /usr/local/bin/ppdpo /usr/local/bin/ppdpo: ELF 32-bit LSB shared object, Intel 80386, \ version 1 (FreeBSD), dynamically linked (uses shared libs), FreeBSD-style,\ for FreeBSD 10.0 (115), stripped % ldd /usr/local/bin/ppdpo /usr/local/bin/ppdpo: /usr/local/bin/ppdpo: signal 11 % gdb741

Re: On cooperative work [Was: Re: newbus' ivar's limitation..]

2012-08-01 Thread Steve Kargl
On Wed, Aug 01, 2012 at 09:36:26PM -0600, Warner Losh wrote: > > I think this proves the point everybody has been saying: you > are being needlessly contrary and confrontational. > Yep. In 18+ years of being subscribed to various freebsd lists, Arnaud has the honor of being only the 2nd person

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Steve Kargl
On Wed, Jul 25, 2012 at 07:33:07PM +0200, Rainer Hurling wrote: > On 25.07.2012 19:00 (UTC+2), Steve Kargl wrote: > > > >If you actually want to test expl() to see if it is producing > >a decent result, you need a reference solution that contains > >a higher precision.

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Steve Kargl
On Wed, Jul 25, 2012 at 12:27:43PM -0500, Stephen Montgomery-Smith wrote: > On 07/25/12 11:29, Rainer Hurling wrote: > > >Many thanks to you three for implementing expl() with r238722 and r238724. > > > >I am not a C programmer, but would like to ask if the following example > >is correct and suit

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Steve Kargl
On Wed, Jul 25, 2012 at 06:29:18PM +0200, Rainer Hurling wrote: > > Many thanks to you three for implementing expl() with r238722 and r238724. > > I am not a C programmer, but would like to ask if the following example > is correct and suituable as a minimalistic test of this new C99 function? >

Re: Use of C99 extra long double math functions after r236148

2012-07-13 Thread Steve Kargl
On Fri, Jul 13, 2012 at 09:41:00PM +1000, Peter Jeremy wrote: > On 2012-Jul-11 15:32:47 -0700, Steve Kargl > wrote: > >I know an approach to implementing many of the missing > >functions. > > Are you willing to share this insight so someone else could do the work?

Re: Use of C99 extra long double math functions after r236148

2012-07-11 Thread Steve Kargl
On Wed, Jul 11, 2012 at 04:54:14PM -0500, Diane Bruce wrote: > On Wed, Jul 11, 2012 at 02:43:46PM -0700, Steve Kargl wrote: > > On Wed, Jul 11, 2012 at 04:20:09PM -0500, Diane Bruce wrote: > > > On Tue, Jul 10, 2012 at 08:02:33AM -0600, Warner Losh wrote: > > > > &g

Re: Use of C99 extra long double math functions after r236148

2012-07-11 Thread Steve Kargl
On Wed, Jul 11, 2012 at 04:20:09PM -0500, Diane Bruce wrote: > On Tue, Jul 10, 2012 at 08:02:33AM -0600, Warner Losh wrote: > > > > On Jul 10, 2012, at 3:10 AM, Rainer Hurling wrote: > > > > Not having R would be a bit pain in my backside. That's one of the > > practical considerations that I w

Re: [CFT] Add -Wbounded to gcc

2012-07-10 Thread Steve Kargl
On Tue, Jul 10, 2012 at 10:41:44PM -0500, Pedro Giffuni wrote: > > I have a patch from OpenBSD that adds -Wbounded to gcc: > > http://people.freebsd.org/~pfg/patches/patch-gcc-bounded > > Unfortunately it breaks world, or at least binutils, at this time: > > _ > ... > cc1: warnings bein

Re: ada,ata and cd?

2012-07-10 Thread Steve Kargl
On Tue, Jul 10, 2012 at 10:41:38PM +0100, Anton Shterenlikht wrote: > On Mon, Jul 09, 2012 at 05:14:01PM -0700, Garrett Cooper wrote: > > On Mon, Jul 9, 2012 at 4:38 PM, Steve Kargl > > wrote: > > > On Mon, Jul 09, 2012 at 11:52:10PM +0100, Anton Shterenlikht wrote: >

Re: Use of C99 extra long double math functions after r236148

2012-07-10 Thread Steve Kargl
On Tue, Jul 10, 2012 at 01:11:38PM -0500, Stephen Montgomery-Smith wrote: > On 07/10/2012 11:50 AM, Steve Kargl wrote: > >On Tue, Jul 10, 2012 at 11:39:59AM -0500, Stephen Montgomery-Smith wrote: > >>On 07/09/2012 12:02 AM, Steve Kargl wrote: > >> > >>>Yep

Re: Use of C99 extra long double math functions after r236148

2012-07-10 Thread Steve Kargl
On Tue, Jul 10, 2012 at 11:39:59AM -0500, Stephen Montgomery-Smith wrote: > On 07/09/2012 12:02 AM, Steve Kargl wrote: > > >Yep. Another example is the use of upward recurion to compute > >Bessel functions where the argument is larger than the order. > >The algorithm

Re: Use of C99 extra long double math functions after r236148

2012-07-10 Thread Steve Kargl
On Tue, Jul 10, 2012 at 11:10:05AM +0200, Rainer Hurling wrote: > > Do you think your version from > http://www.freebsd.org/cgi/query-pr.cgi?pr=152415 for expl() ld80 > version could be the one getting into head? Would you be willing to > commit it? That's a fairly early version of the ld80 ex

Re: ada,ata and cd?

2012-07-09 Thread Steve Kargl
On Mon, Jul 09, 2012 at 11:52:10PM +0100, Anton Shterenlikht wrote: > I'm on amd64 r238259. > > I'm still not clear on the /usr/src/UPDATING > entry from 20110424 on replacing the ATA > drivers by CAM drivers. > > If I *do not* have device ata in the kernel, > I have neither /dev/cd* or /dev/acd*

Re: Use of C99 extra long double math functions after r236148

2012-07-08 Thread Steve Kargl
On Sun, Jul 08, 2012 at 10:41:44PM -0500, Stephen Montgomery-Smith wrote: > On 07/08/2012 09:01 PM, Steve Kargl wrote: > > >Have you read Goldberg's paper? > > I must admit that I had not. I found it at: > > http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg

Re: Use of C99 extra long double math functions after r236148

2012-07-08 Thread Steve Kargl
On Sun, Jul 08, 2012 at 08:13:21PM -0600, Warner Losh wrote: > > On Jul 8, 2012, at 8:01 PM, Steve Kargl wrote: > > Not to mention, I've seen way too many examples of 'x - y' > > where cancellation of significant digits causes > > problems. Throw in rather

Re: Use of C99 extra long double math functions after r236148

2012-07-08 Thread Steve Kargl
On Sun, Jul 08, 2012 at 07:29:30PM -0500, Stephen Montgomery-Smith wrote: > On 07/08/2012 06:58 PM, Steve Kargl wrote: > >On Sun, Jul 08, 2012 at 02:06:46PM -0500, Stephen Montgomery-Smith wrote: > > >>So do people really work hard to get that last drop of ulp out of t

Re: Use of C99 extra long double math functions after r236148

2012-07-08 Thread Steve Kargl
On Sun, Jul 08, 2012 at 02:06:46PM -0500, Stephen Montgomery-Smith wrote: > Here is a technical question. I know that people always talk about > ulp's in the context of how good a function implementation is. I think > the ulp is the number of base 2 digits at the end of the mantissa that > we

Re: Use of C99 extra long double math functions after r236148

2012-07-08 Thread Steve Kargl
On Sun, Jul 08, 2012 at 11:51:56AM -0600, Warner Losh wrote: > > On Jul 8, 2012, at 6:40 AM, David Schultz wrote: > > > On Tue, May 29, 2012, Peter Jeremy wrote: > >> On 2012-May-28 15:54:06 -0700, Steve Kargl > >> wrote: > >>> Given that

Re: r232100: /usr/local/lib/libsasl2.so: undefined reference to `_ThreadRuneLocale@FBSD_1.3'

2012-06-19 Thread Steve Kargl
On Tue, Jun 19, 2012 at 04:40:34PM +0100, Anton Shterenlikht wrote: > I'm doing a binary search for another > issue between r231193 and r233000. > > On r232100 I get: > > cc -O2 -pipe -I/usr/src/libexec/mail.local/../../contrib/sendmail/include > -I. -I/usr/local/include -DSASL=2 -std=gnu99 -Ws

Re: Use of C99 extra long double math functions after r236148

2012-06-01 Thread Steve Kargl
On Sat, Jun 02, 2012 at 12:04:58AM -0400, Eitan Adler wrote: > On 1 June 2012 23:52, Steve Kargl wrote: > > > Of course. ??Sit down and write code. > > If I ever find the time, I just might. Do we have a wiki page listing > the set of functions which we don't yet

Re: Use of C99 extra long double math functions after r236148

2012-06-01 Thread Steve Kargl
On Fri, Jun 01, 2012 at 05:16:03PM -0700, Eitan Adler wrote: > On 1 June 2012 17:03, Peter Jeremy wrote: > > On 2012-Jun-01 10:29:13 -0400, John Baldwin wrote: > >>On Friday, June 01, 2012 1:55:10 am Eitan Adler wrote: > >>> Also, are there BSD licensed naive implementations of these functions >

Re: Use of C99 extra long double math functions after r236148

2012-05-28 Thread Steve Kargl
On Tue, May 29, 2012 at 02:56:13PM +1000, Peter Jeremy wrote: > On 2012-May-28 15:54:06 -0700, Steve Kargl > wrote: > > There some test code in cephes. Can you point me to a suitable test > suite for LD80 and LD128? The reason for calling it libm is to avoid > having to hack

Re: Use of C99 extra long double math functions after r236148

2012-05-28 Thread Steve Kargl
On Mon, May 28, 2012 at 06:44:42PM -0500, Stephen Montgomery-Smith wrote: > On 05/28/2012 06:30 PM, Steve Kargl wrote: > > > > >>From clog.c in http://www.netlib.org/cephes/c9x-complex > > > >double complex > >ccosh (z) > > double complex z; &

Re: Use of C99 extra long double math functions after r236148

2012-05-28 Thread Steve Kargl
On Mon, May 28, 2012 at 06:03:37PM -0500, Stephen Montgomery-Smith wrote: > On 05/28/2012 05:17 PM, Steve Kargl wrote: > >On Mon, May 28, 2012 at 04:19:22PM -0500, Stephen Montgomery-Smith wrote: > >>On 05/28/2012 03:31 PM, Steve Kargl wrote: > >>>On Mon, May 28, 201

Re: Use of C99 extra long double math functions after r236148

2012-05-28 Thread Steve Kargl
On Tue, May 29, 2012 at 07:05:07AM +1000, Peter Jeremy wrote: > On 2012-May-28 11:01:24 -0500, Stephen Montgomery-Smith > wrote: > >One thing that could be done is to have a "math/cephes" port that adds > >the extra C99 math functions. This is already done in the math/sage > >port, using a rat

Re: Use of C99 extra long double math functions after r236148

2012-05-28 Thread Steve Kargl
On Tue, May 29, 2012 at 08:04:36AM +1000, Peter Jeremy wrote: > On 2012-May-28 13:31:59 -0700, Steve Kargl > wrote: > >On Mon, May 28, 2012 at 11:01:24AM -0500, Stephen Montgomery-Smith wrote: > >> One thing that could be done is to have a "math/cephes" port tha

Re: Use of C99 extra long double math functions after r236148

2012-05-28 Thread Steve Kargl
On Mon, May 28, 2012 at 04:19:22PM -0500, Stephen Montgomery-Smith wrote: > On 05/28/2012 03:31 PM, Steve Kargl wrote: > >On Mon, May 28, 2012 at 11:01:24AM -0500, Stephen Montgomery-Smith wrote: > >>One thing that could be done is to have a "math/cephes" port that

Re: Use of C99 extra long double math functions after r236148

2012-05-28 Thread Steve Kargl
On Mon, May 28, 2012 at 11:01:24AM -0500, Stephen Montgomery-Smith wrote: > One thing that could be done is to have a "math/cephes" port that adds > the extra C99 math functions. This is already done in the math/sage > port, using a rather clever patch due to Peter Jeremy, that applies to > the

Re: clang and 'config KERNFILE' error

2012-04-22 Thread Steve Kargl
On Sun, Apr 22, 2012 at 01:18:53AM +0200, Dimitry Andric wrote: > On 2012-04-20 02:40, Steve Kargl wrote: > >laptop:root[227] uname -a > >FreeBSD laptop 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r230975M: Sat Feb 4 > >09:03:27 PST 2012 root@laptop:/usr/obj/usr

clang and 'config KERNFILE' error

2012-04-19 Thread Steve Kargl
laptop:root[227] uname -a FreeBSD laptop 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r230975M: Sat Feb 4 09:03:27 PST 2012 root@laptop:/usr/obj/usr/src/sys/MOBILE i386 laptop:root[224] config MOBILE Kernel build directory is ../compile/MOBILE Don't forget to do ``make cleandepend && make depend''

Re: -ffast-math in Ports and wrong generated code

2012-04-03 Thread Steve Kargl
On Tue, Apr 03, 2012 at 02:21:11PM +0300, Andrey Simonenko wrote: > > I use one port from the Ports Collection, that works with FP. Having > reinstalled it (its version was not changed) I noticed that it started > to work incorrectly. After debugging and disassembling its code I found > out that

Re: Using TMPFS for /tmp and /var/run?

2012-03-30 Thread Steve Kargl
On Fri, Mar 30, 2012 at 05:56:06PM +, Chris Rees wrote: > On 30 March 2012 17:31, C. P. Ghost wrote: > > On Fri, Mar 30, 2012 at 3:18 PM,   wrote: > >>> > However, if you always want to use tmpfs instead of stable storage, > >>> please do not.  Some people expect /tmp to be persistent.  This i

Re: general protection fault panic

2012-03-26 Thread Steve Kargl
On Mon, Mar 26, 2012 at 04:17:50PM -0400, John Baldwin wrote: > On Monday, March 26, 2012 1:59:18 pm Steve Kargl wrote: > > On Mon, Mar 26, 2012 at 01:53:25PM -0400, John Baldwin wrote: > > > On Monday, March 26, 2012 1:41:55 pm Steve Kargl wrote: > > > > On Mon, Ma

Re: general protection fault panic

2012-03-26 Thread Steve Kargl
On Mon, Mar 26, 2012 at 01:53:25PM -0400, John Baldwin wrote: > On Monday, March 26, 2012 1:41:55 pm Steve Kargl wrote: > > On Mon, Mar 26, 2012 at 01:18:37PM -0400, John Baldwin wrote: > > > On Monday, March 26, 2012 12:21:29 pm Steve Kargl wrote: > > > > > >

Re: general protection fault panic

2012-03-26 Thread Steve Kargl
On Mon, Mar 26, 2012 at 01:18:37PM -0400, John Baldwin wrote: > On Monday, March 26, 2012 12:21:29 pm Steve Kargl wrote: > > You know your APIC ID is 0, so you should be able to find the IRQ for vector > 51 from here in apic_idt_to_irq(): > > irq = lapics[apic_id].la

Re: general protection fault panic

2012-03-26 Thread Steve Kargl
On Mon, Mar 26, 2012 at 08:43:59AM -0700, Steve Kargl wrote: > On Mon, Mar 26, 2012 at 10:59:35AM -0400, John Baldwin wrote: > > On Friday, March 23, 2012 6:23:13 pm Steve Kargl wrote: > > > Haven't seen one of these in a long time. > > > > > > %uname -a &

Re: general protection fault panic

2012-03-26 Thread Steve Kargl
On Mon, Mar 26, 2012 at 10:59:35AM -0400, John Baldwin wrote: > On Friday, March 23, 2012 6:23:13 pm Steve Kargl wrote: > > Haven't seen one of these in a long time. > > > > %uname -a > > FreeBSD troutmask.apl.washington.edu 10.0-CURRENT FreeBSD > > 10.0-C

general protection fault panic

2012-03-23 Thread Steve Kargl
Haven't seen one of these in a long time. %uname -a FreeBSD troutmask.apl.washington.edu 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r233282: Wed Mar 21 12:39:16 PDT 2012 ka...@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/SPEW amd64 Hand transcribed Fatal trap 9: general protection fault while in

Re: rtld or lang/gcc cannot find libgcc_s.so.1

2012-02-21 Thread Steve Kargl
On Tue, Feb 21, 2012 at 06:39:36PM -0500, Daniel Eischen wrote: > On Tue, 21 Feb 2012, Steve Kargl wrote: > > >On Tue, Feb 21, 2012 at 05:00:53PM -0500, Diane Bruce wrote: > >>On Tue, Feb 21, 2012 at 10:37:15PM +0100, Dimitry Andric wrote: > >>>On 20

Re: rtld or lang/gcc cannot find libgcc_s.so.1

2012-02-21 Thread Steve Kargl
On Wed, Feb 22, 2012 at 12:22:50AM +0100, Mel Flynn wrote: > On 2/21/2012 23:32, Steve Kargl wrote: > > On Tue, Feb 21, 2012 at 05:00:53PM -0500, Diane Bruce wrote: > >> On Tue, Feb 21, 2012 at 10:37:15PM +0100, Dimitry Andric wrote: > >>> On 2012-

Re: rtld or lang/gcc cannot find libgcc_s.so.1

2012-02-21 Thread Steve Kargl
On Tue, Feb 21, 2012 at 05:00:53PM -0500, Diane Bruce wrote: > On Tue, Feb 21, 2012 at 10:37:15PM +0100, Dimitry Andric wrote: > > On 2012-02-21 20:42, Steve Kargl wrote: > > ... > > > Yes, /lib comes before /usr/local/lib/gcc46. I suppose > > > that this is a

Re: rtld or lang/gcc cannot find libgcc_s.so.1

2012-02-21 Thread Steve Kargl
On Tue, Feb 21, 2012 at 08:57:54PM +0200, Konstantin Belousov wrote: > On Tue, Feb 21, 2012 at 10:28:50AM -0800, Steve Kargl wrote: > > > > troutmask:kargl[210] halfspace > > /lib/libgcc_s.so.1: version GCC_4.6.0 required by /home/kargl/bin/halfspace > > n

rtld or lang/gcc cannot find libgcc_s.so.1

2012-02-21 Thread Steve Kargl
Sorry about the cross post, but I can't tell if this a -current issue of a -ports issue. Unfortunately, I updated my freebsd 10.0 systems and the lang/gcc port during the same timeframe. I have compiled my math library and several programs with gfortran, which is installed by lang/gcc (pkg_info

Re: svn stuck in read()

2012-01-17 Thread Steve Kargl
On Mon, Jan 16, 2012 at 03:54:02PM -0800, Steve Kargl wrote: > On Mon, Jan 16, 2012 at 10:38:04PM +0100, Dimitry Andric wrote: > > On 2012-01-16 21:42, Steve Kargl wrote: > > >Is anyone else seeing svn getting stuck while > > >updating /usr/src on an update-to-date free

Re: svn stuck in read()

2012-01-16 Thread Steve Kargl
On Mon, Jan 16, 2012 at 10:38:04PM +0100, Dimitry Andric wrote: > On 2012-01-16 21:42, Steve Kargl wrote: > >Is anyone else seeing svn getting stuck while > >updating /usr/src on an update-to-date freebsd-current? > > I saw this when I tried out serf instead of the defaul

svn stuck in read()

2012-01-16 Thread Steve Kargl
Is anyone else seeing svn getting stuck while updating /usr/src on an update-to-date freebsd-current? laptop:kargl[211] svn update Updating '.': ^Z Suspended laptop:kargl[212] fg svn update load: 0.07 cmd: svn 62029 [sbwait] 4717.28r 1.65u 1.09s 0% 9260k load: 0.07 cmd: svn 62029 [sbwait] 4720

Re: [RFT] Major snd_hda rewrite

2012-01-14 Thread Steve Kargl
On Sun, Jan 15, 2012 at 12:31:51AM +0200, Alexander Motin wrote: > Audio from DVDs always played by software after reading if from the disk > as usual data. Audio CDs instead could be played either by the CD drive > itself via analog audio connection or by software using digital audio > extracti

<    2   3   4   5   6   7   8   9   10   11   >