Re: rebuild DragonFly using gcc 4.1
On 5/7/07, Justin C. Sherrill <[EMAIL PROTECTED]> wrote: On Mon, May 7, 2007 6:55 am, Joerg Sonnenberger wrote: > Note that those packages are no longer updated. The current sets can be > found under > http://www.pkgsrc-box.org/packages/current/DragonFly-1.8/All/ > for pkgsrc HEAD and > http://www.pkgsrc-box.org/packages/stable/DragonFly-1.8/All/ > for the release branch. Matt - can you update DNS to point the CNAME for pkgsrc.dragonflybsd.org to this new location? whei try to open that address in Firefox. it says "Page not found" :-( -- http://arnuld.blogspot.com/
Re: libm update plans?
Matthew Dillon wrote: > > I looked for various pieces of example code. FreeBSD has a really > old implementation in (libmsun) which is not suitable, and NetBSD uses > the same implementation. Gnu seems to have a clean 4-line implementation > done in 2005: > > http://gcc.gnu.org/ml/fortran/2005-05/msg00227.html 1) haven't read this yet, to keep ye-olde eyes clean :) 2) just assumed that since DF was rebasing things from netbsd (based on df commit messages), that this was added new after the fact good summary of netbsd's changes here: http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libm/shlib_version although based on a quick glance at: http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libm/src/s_floor.c ($NetBSD$ v1.11) http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libm/src/s_trunc.c ($NetBSD$ v1.2) http://www.netlib.org/fdlibm/fdlibm.h ( /* @(#)fdlibm.h 1.5 04/04/22 */ ) and http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/msun/src/s_trunc.c ($FreeBSD$ v1.1) It looks like this was a fresh implementeation for FBSD 5 using a similar structure (and misnamed header) from the s_floor.c brought in to netbsd since 3.x release aside from all the various conditionals, length, and so on, what do you find unsuitable about this version? gak! the whole point of mentioning it was so I didn't spend hours doing this ^ .. oh well. that's what I get for being lazy - hopefully some good will come of it. > > Are you sure this is part of C99? was shamefully baseing this off of the GNU manpage on a linux box (hence '?').. anyhoo, someone did the real homework here.. Like I mentioned, this is further down in my list of priorities at the moment (e.g. not-started external vkernel shutdown & other ideas, etc much more fun) .. Let me know if I should file a bug or similar to track things, otherwise I'll probably leave in the back of my mind to gather dust. Thanks, - Chris
Re: rebuild DragonFly using gcc 4.1
:On Mon, May 7, 2007 6:55 am, Joerg Sonnenberger wrote: : :> Note that those packages are no longer updated. The current sets can be :> found under :> http://www.pkgsrc-box.org/packages/current/DragonFly-1.8/All/ :> for pkgsrc HEAD and :> http://www.pkgsrc-box.org/packages/stable/DragonFly-1.8/All/ :> for the release branch. : :Matt - can you update DNS to point the CNAME for pkgsrc.dragonflybsd.org :to this new location? Ok, change made. -Matt Matthew Dillon <[EMAIL PROTECTED]>
Re: rebuild DragonFly using gcc 4.1
On Mon, May 7, 2007 6:55 am, Joerg Sonnenberger wrote: > Note that those packages are no longer updated. The current sets can be > found under > http://www.pkgsrc-box.org/packages/current/DragonFly-1.8/All/ > for pkgsrc HEAD and > http://www.pkgsrc-box.org/packages/stable/DragonFly-1.8/All/ > for the release branch. Matt - can you update DNS to point the CNAME for pkgsrc.dragonflybsd.org to this new location?
Re: libm update plans?
On Mon, May 07, 2007 at 06:17:44PM +0200, Erik Wikström wrote: > I've never been an assembly programmer but it seems to me like there > should be some instruction for this kind of thing. By changing the rounding mode, which in general is quite expensive and often not worse it. Note that it is the same as floor/ceil + condition. Joerg
Re: libm update plans?
On 2007-05-07 16:45, Matthew Dillon wrote: :3) port over myself (see #1, #2 :) : :Thanks, : :- Chris Hmmm. I looked for various pieces of example code. FreeBSD has a really old implementation in (libmsun) which is not suitable, and NetBSD uses the same implementation. Gnu seems to have a clean 4-line implementation done in 2005: http://gcc.gnu.org/ml/fortran/2005-05/msg00227.html But I'd like to find an unadulterated version if possible (though presumably it is simple enough that it pretty much has to be done that way regardless). I'm a little concerned that there are so few implementations around. Are you sure this is part of C99? Yes it it, section 7.12.9.8: "The trunc functions round their argument to the integer value, in floating format, nearest to but no larger in magnitude than the argument." I've never been an assembly programmer but it seems to me like there should be some instruction for this kind of thing. -- Erik Wikström
Re: libm update plans?
Matthew Dillon wrote: unadulterated version LOL ?
Re: problem getting sources using CVS-UP
On Mon, 7 May 2007 04:40:24 + arnuld <[EMAIL PROTECTED]> wrote: > Q1: why it is not downloading the source ? What is the tag? Tags are available at: http://www.dragonflybsd.org/community/download.shtml A sample supfile that WORKSFORME(tm): *default host=chlamydia.fs.ei.tum.de *default base=/usr *default prefix=/usr *default release=cvs tag=DragonFly_RELEASE_1_8_Slip *default delete use-rel-suffix *default compress dragonfly-cvs-src > Q2: i tried this ione too. i FTP-ed and then downloaded the tarball of > sources to "/usr/src" which then unpacked to "/usr/src/src/" so i > moved the tarball to "/usr" and them it unpacked to "/usr/src/". then > i can make buidlworld". right ? Yes. By the way it does not really matter where the sources are located as long as you have enough disk space. ;-) -- Gergo Szakal <[EMAIL PROTECTED]> University Of Szeged, HU Faculty Of General Medicine /* Please do not CC me with replies, thank you. */
Re: libm update plans?
:3) port over myself (see #1, #2 :) : :Thanks, : :- Chris Hmmm. I looked for various pieces of example code. FreeBSD has a really old implementation in (libmsun) which is not suitable, and NetBSD uses the same implementation. Gnu seems to have a clean 4-line implementation done in 2005: http://gcc.gnu.org/ml/fortran/2005-05/msg00227.html But I'd like to find an unadulterated version if possible (though presumably it is simple enough that it pretty much has to be done that way regardless). I'm a little concerned that there are so few implementations around. Are you sure this is part of C99? -Matt Matthew Dillon <[EMAIL PROTECTED]>
Re: rebuild DragonFly using gcc 4.1
On Sat, May 05, 2007 at 10:14:47PM +0200, Erik Wikström wrote: > For third party application don't follow what's written under Installing > software, look at http://wiki.dragonflybsd.org/index.cgi/HowToPkgsrc and > follow the steps under the section Pre-built pkgsrc packages, but use > the addresses found on > > ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/RELEASE/i386/All > > if a package you want can't be found there take a look in > > ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/RELEASE/i386/vulnerable Note that those packages are no longer updated. The current sets can be found under http://www.pkgsrc-box.org/packages/current/DragonFly-1.8/All/ for pkgsrc HEAD and http://www.pkgsrc-box.org/packages/stable/DragonFly-1.8/All/ for the release branch. Before starting to mirror those, please contact me off-list. Joerg