From owner-freebsd-current Mon Jan 4 18:44:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA15466 for freebsd-current-outgoing; Mon, 4 Jan 1999 18:44:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA15461; Mon, 4 Jan 1999 18:44:06 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id VAA12558; Mon, 4 Jan 1999 21:43:22 -0500 (EST) Date: Mon, 4 Jan 1999 21:43:22 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Kris Kennaway cc: Wiliam Woods , FBSD_QUESTIONS , FBSD_CURRENT Subject: Re: pgcc-1.1.1 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 4 Jan 1999, Kris Kennaway wrote: > On Sun, 3 Jan 1999, Wiliam Woods wrote: > > > Anyone here useing pgcc-1.1.1 as their compiler of choice, to replace gcc? I > > have been debating playing with this on my "spare" system. > > Any reports from someone useing this, good or bad? > > I use egcs-1.1.1 (on which pgcc is based) to compile most of my stuff here, > including the world. There are a few small "gotchas", namely bits of the > system which will not compile (for me): > > lib/libc lib/libc_r lib/libstand games/rogue libexec/rtld-elf games/bs > gnu/lib/libg++ gnu/lib/libstdc++ gnu/usr.bin/groff sys/boot/ sys/modules > > I have a small script which recompiles these using CC and CFLAGS and the > system gcc, and then just do my usual make depend/make all -j4 cycle to do the > rest. The kernel is also not compilable with egcs due to FreeBSD-specific > extensions in our gcc compiler. > > There are the odd one or two ports I've come across which can't be compiled > using egcs, but for the most part it works very nicely. A quick-n-dirty > benchmark: > > # dd if=/dev/random of=/usr2/bigfile bs=1024k count=30 > # cp /usr2/bigfile /usr2/bigfile2 > # /usr/bin/time gzip-486 -9 /usr2/bigfile > 26.06 real 20.46 user 1.17 sys > # /usr/bin/time gzip-pent -9 /usr2/bigfile2 > 23.12 real 18.58 user 1.20 sys > > i.e. a speedup of about 12% > > gzip-486 was compiled with the stock gcc, -O2 -mno-486 > gzip-pentium was compiled with egcs-1.1.1 from the ports collection, -O2 > -mpentium -march-pentium > > Incidentally, the dd command spammed the heck out of my machine..good DoS, > anyone? :) --- src/sys/i386/i386/mem.c.orig Wed Dec 30 13:21:32 1998 +++ src/sys/i386/i386/mem.c Wed Dec 30 13:26:37 1998 @@ -287,6 +287,11 @@ c = iov->iov_len; break; } + if ((error = CURSIG(curproc)) != 0) { + postsig(error); + error = EINTR; + break; + } if (buf == NULL) buf = (caddr_t) malloc(PAGE_SIZE, M_TEMP, M_WAITOK); @@ -300,6 +305,11 @@ case 12: if (uio->uio_rw == UIO_WRITE) { c = iov->iov_len; + break; + } + if ((error = CURSIG(curproc)) != 0) { + postsig(error); + error = EINTR; break; } if (zbuf == NULL) { > > Kris > > > > > > Thanks, > > > > Bill > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > > ----- > (ASP) Microsoft Corporation (MSFT) announced today that the release of its > productivity suite, Office 2000, will be delayed until the first quarter > of 1901. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > Brian Feldman _ __ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message