Re: EGCS optimizations

1999-04-06 Thread Dan Nelson
In the last episode (Apr 05), Alex Zepeda said: Have you tried anything beyond -O2? There is only -O3, which is just like -O2 except that it tries to inline all functions. -Dan Nelson dnel...@emsphone.com To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe

Re: EGCS breaks what(1)

1999-04-06 Thread Bruce Evans
Alternately, we could jimmy around with the current hack, and prefix it with 4 NULs, and see what happened. Sorry, I haven't tested this idea, as I've not yet made the EGCS jump. egcs aligns long (= about 28 bytes) strings to 32-byte boundaries. This adds up to 27 NULs to sccsid[] depending on

Re: EGCS optimizations

1999-04-06 Thread Kris Kennaway
On Mon, 5 Apr 1999, Matthew Dillon wrote: There is nothing beyond -O2. Well, there's -O3, which tries to inline static functions, but that typically isn't beneficial because it really bloats up the code and subroutine calls on intel cpus are very fast. When I tested this

Re: Patched RealTek driver -- please test

1999-04-06 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Stephen Hocking-Senior Programmer PGS Tensor Perth had to walk into mine and say: Well, I nipped home over my lunch break gave it a try - some progress, of a sort. My NFS problems have gone away (at least under light activity), but it

Re: EGCS optimizations

1999-04-06 Thread Daniel Berlin
There is nothing beyond -O2. Well, there's -O3, which tries to inline static functions, but that typically isn't beneficial because it really bloats up the code and subroutine calls on intel cpus are very fast. The only other optimization that might be useful is

Re: EGCS optimizations

1999-04-06 Thread Pavel Narozhniy
Matthew Dillon wrote: :Totally informally, I replaced libc (compiled with -O2) with one compiled :with -mpentiumpro and -O6, and compiling kdebase seemed to run a bit :slower (GNU make took longer to traverse directories and egcs took a bit :longer to run). : : Which leads me to

Today CURRENT breakage

1999-04-06 Thread Maxim Sobolev
Following is error output from 'make -j6 buildworld' on sources cvsup'ed today: `gencheck.c' is up to date. `c-parse.in' is up to date. === cc_int make: don't know how to make insn-attrtab.c. Stop *** Error code 2 ? To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe

Re: make -jn ?

1999-04-06 Thread Bob Bishop
At 4:54 pm + 5/4/99, eagle wrote: On Mon, 5 Apr 1999, eagle wrote: I'm running a test build at -j3 now following the reccomended ncpus +1 formula everything looks great so far. if it fails i'll let you know rob build completed successfully will experment some more Hmm. -j3 still fails

Re: EGCS optimizations

1999-04-06 Thread Bob Bishop
Hi, At 2:15 am -0700 6/4/99, Daniel Berlin wrote: Also, -mpentiumpro will actually usually generate WORSE code for a pentium pro. -mpentium and -march=pentium do better at it. OK, but according to man cc: NAME gcc, g++ - GNU project C and C++ Compiler (egcs-1.1.2) [...] -mpentium

Re: EGCS optimizations

1999-04-06 Thread Daniel Berlin
I always use both (because it's in my darn makefiles :P), but that sounds correct to me. If it said -mpentium implied -march=pentium, i'd say it's lying. most of the -mwhatever architecture alone are worthless, it's the -march's that matter (note i say most to mean of the 4 architectures i've

Re: Today CURRENT breakage

1999-04-06 Thread Roman V. Palagin
On Tue, 6 Apr 1999, Maxim Sobolev wrote: Following is error output from 'make -j6 buildworld' on sources cvsup'ed today: `gencheck.c' is up to date. `c-parse.in' is up to date. === cc_int make: don't know how to make insn-attrtab.c. Stop *** Error code 2 don't use -j x. ═ To

Re: arp.

1999-04-06 Thread Andy V. Oleynik
andrea wrote: I have to add a gateway to my net for experimental reasons. Actually there are : a main-router that works as interface to the Internet, and some hosts on my sub net. Internet-MyRouterMySubNet NOw i need to configure one host of MYSubNet to act as a gatway for

Re: WORM CAM CD

1999-04-06 Thread Andreas Dobloug
* Kenneth D. Merry | | Has the worm driver been taken out of current? | | Yes. You have to use cdrecord now for SCSI CD burners. | cdrecord lacks support for a whole lot of CD-burners... | Oh really? The old Worm driver only supported HP/Philips and Plasmon | drives. cdrecord supports those

Re: make -jn ?

1999-04-06 Thread David O'Brien
Hmm. -j3 still fails here, in the usual place. I haven't even started looking at the -j problem. There is still some bootstrap problem with C++ (appears to be in libstdc++). Sorry. (of course patches gladly accepted :-) ) -- -- David(obr...@nuxi.com -or- obr...@freebsd.org) To

Vtable thunks with egcs

1999-04-06 Thread Doug Rabson
I'm assuming that the default for egcs uses vtable thunks instead of offsets in the vtable to handle multiple inheritance. It occurred to me that since this changes the C++ calling convention, we have to bump the major version number of all c++ libraries, particularly the ones in ports. -- Doug

Re: arp.

1999-04-06 Thread Crist J. Clark
Andy V. Oleynik wrote, [Charset koi8-r unsupported, filtering to ASCII...] andrea wrote: I have to add a gateway to my net for experimental reasons. Actually there are : a main-router that works as interface to the Internet, and some hosts on my sub net.

Re: SMP users (important)

1999-04-06 Thread Ville-Pertti Keinonen
John S. Dyson dy...@iquest.net writes: I just wanted to chime in and say that the new patches are based on a really good concept, and is much cleaner than the previous method. Also, many RISC architectures can utilize this method due to the availability of lots of general registers. (One

Re: aio_read

1999-04-06 Thread Ville-Pertti Keinonen
Matthew Dillon dil...@apollo.backplane.com writes: UNIX has been broken this way from day 1. It was a major design mistake. The only way to get your own descriptor seek offset is to open() the file again. It's not necessarily breakage. Not having any mechanism other than open

Re: arp.

1999-04-06 Thread Andy V. Oleynik
Crist J. Clark wrote: Andy V. Oleynik wrote, [Charset koi8-r unsupported, filtering to ASCII...] andrea wrote: I have to add a gateway to my net for experimental reasons. Actually there are : a main-router that works as interface to the Internet, and some hosts on my sub net.

Re: Patched RealTek driver -- please test

1999-04-06 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
OK - I've banged on the new version with extra debug messages and it still locks up, but without any messages! I can only conclude that the 486MB BIOS is iffy. I haven't tried any other slots in the MB, but have tried various PCI settings, all to no avail. I have swapped the de0 and the rl0

Re: Vtable thunks with egcs

1999-04-06 Thread David O'Brien
I'm assuming that the default for egcs uses vtable thunks instead of offsets in the vtable to handle multiple inheritance. At the moment, yes. It occurred to me that since this changes the C++ calling convention, we have to bump the major version number of all c++ libraries, particularly

Re: EGCS breaks what(1)

1999-04-06 Thread John R. LoVerso
'what' is broken. C does not impose any sort of address ordering restriction on globals or autos that are declared next to each other. Right, except that 'what' isn't broken. It is vers.c (and conf/newvers.sh) that is broken, believing that the two variables will be allocating in

Re: YP/NIS and passwd weirdness

1999-04-06 Thread Sheldon Hearn
On Fri, 02 Apr 1999 17:26:15 PST, Scott Michel wrote: Removing the * makes things work again, but the security check wails about a user w/o a password. The entries should not use * in the first place. With regard to the security check, see PR 9639 at:

Slightly wonky auto memory probe + fix

1999-04-06 Thread Stephen McKay
[I posted this to -current because the technology is the same in -current even though this box will never run -current. Bear with me.] We've just got a new Dell PowerEdge (very nice) with 512MB of ram. By default, 3.1-stable sees only 64MB. Looking carefully, it sees 8KB less than 64MB, so it

Re: cvsupped libgcc grief

1999-04-06 Thread Sheldon Hearn
On Sun, 04 Apr 1999 12:48:04 GMT, George Cox wrote: cc: Internal compiler error: program cc1 got fatal signal 11 [...] FreeBSD-CURRENT -- Because I'm worth it. How did you find out about CURRENT without finding out about the FAQ? Please read section 4 of the FreeBSD FAQ, available online

Re: WORM CAM CD

1999-04-06 Thread Kenneth D. Merry
Andreas Dobloug wrote... * Kenneth D. Merry | | Has the worm driver been taken out of current? | | Yes. You have to use cdrecord now for SCSI CD burners. | cdrecord lacks support for a whole lot of CD-burners... | Oh really? The old Worm driver only supported HP/Philips and Plasmon |

New SiS 5591 ide chipset support.

1999-04-06 Thread David Malone
I'm having trouble with a kernel built from this mornings make world. It seems to be related to the new SiS 5591 ide chipset support. It gets as far as the automatic reboot in progress and then says: wd0: interrupt timeout (status 50rdy,seekdone error 0) wd0: wdtimeout() DMA status 0 wd0:

panic: vm_page_bits: illegal base/size 4096/512

1999-04-06 Thread Brian Feldman
This occurs when I'm copying from a floppy (MS-DOS) to my home dir which is on an FFS file system. Any ideas? Reproduced of course. Brian Feldman_ __ ___ ___ ___ ___ gr...@unixhelp.org_ __ ___ | _ ) __| \ FreeBSD: The Power to Serve! _ __ | _

I still get a problem with make world

1999-04-06 Thread Kenneth Wayne Culver
This time, I resupped at about 3 this morning (Eastern Standard Time) and typed make -DNOGAMES world and now I get an error when it compiles dd, and it quits compiling after that. Kenneth Culver To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of

Re: Patched RealTek driver -- please test

1999-04-06 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Stephen Hocking-Senior Programmer PGS Tensor Perth had to walk into mine and say: OK - I've banged on the new version with extra debug messages and it still locks up, but without any messages! Grr. I can only conclude that the 486MB

Re: EGCS breaks what(1)

1999-04-06 Thread David O'Brien
The real question is whether the extreme alignment and padding used by EGCS can be turned off, especially for 486s. Considering it... probably based on -m486. -- -- David(obr...@nuxi.com -or- obr...@freebsd.org) To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe

Re: Patched RealTek driver -- please test

1999-04-06 Thread Bill Paul
Whoops... I just noticed I made a small boo-boo in that last patch, which I just fixed. When downloading, make sure you get the version of if_rl.c with the following ID strings: for 3.0: $Id: if_rl.c,v 1.28 1999/04/06 15:29:01 wpaul Exp $ for 2.2: $Id: if_rl.c,v 1.17 1999/04/06

Re: SMP users (important)

1999-04-06 Thread John S. Dyson
per-processor registers that one could use (but loading a general register with that per processor register would be needed for access.) Also, since the PPC has lots of registers, one could? permanently reserve one of the general registers (r13?). I really don't like the idea of

Re: aio_read

1999-04-06 Thread Matthew Dillon
: : :Matthew Dillon dil...@apollo.backplane.com writes: : : UNIX has been broken this way from day 1. It was a major design mistake. : The only way to get your own descriptor seek offset is to open() the : file again. : :It's not necessarily breakage. Not having any mechanism other

Re: make -jn ?

1999-04-06 Thread Ollivier Robert
According to Bob Bishop: Hmm. -j3 still fails here, in the usual place. Even -j2 failed here. I completed a make world at around 15H GMT (suppoed minutes before) w/o any problem and the machine is now happily running an egcs-compiled kernel. Congrats again David. -- Ollivier ROBERT -=-

Band-aid for building world with -jn [PATCH]

1999-04-06 Thread Bob Bishop
Hi, The following patch makes -jn work. I don't claim it's any sort of long-term solution. The hack consists of simply dropping .NOTPARALLEL: into the right Makefile, but since .NOTPARALLEL is broken (see bin/10985 for the gory details) you'll need the attached patch for make too. Index:

C++ cannot create executables ?

1999-04-06 Thread Tomer Weller
im having problems compiling the giCQ port under 4.0-current. configuration says my C++ compiler cannot create executables, any idea what's the problem ? To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message

Re: C++ cannot create executables ?

1999-04-06 Thread Thomas T. Veldhouse
Read the recent posts. Let me guess, you have probably done a fairly recent cvsup (sunday evening?) and you built world. You now have egcs as your compiler (gcc -v). The best thing to do, at least the easiest to tell you to do, is to simply cvsup the sources again and make the world. You

RE: EGCS optimizations

1999-04-06 Thread paul
-Original Message- From: Matthew Dillon [mailto:dil...@apollo.backplane.com] Sent: 06 April 1999 05:58 To: curr...@freebsd.org Subject: EGCS optimizations Compiling up /usr/src/usr.sbin with egcs and libc compiled with: -O2 160

Re: RE: EGCS optimizations

1999-04-06 Thread Matthew Dillon
:I doubt that that sort of benchmark is going to say an awful lot about the :performance of the optimisation levels since compiling /usr/sr/usr.sbin is :going to be affected by disk i/o performance far more than it would be by :cpu performance. The relative speed differences of the different

Re: EGCS optimizations

1999-04-06 Thread Poul-Henning Kamp
In message 199904062001.naa10...@apollo.backplane.com, Matthew Dillon writes: That test was 100% cpu bound. There was no ( significant ) I/O. I ran it a few times to build the cache before timing it. What is the stddev on your measurements ? a delta-T 1 second need a very tight

Re: EGCS optimizations

1999-04-06 Thread eagle
On Mon, 5 Apr 1999, Alex Zepeda wrote: On Mon, 5 Apr 1999, Matthew Dillon wrote: There is nothing beyond -O2. Well, there's -O3, which tries to inline static functions, but that typically isn't beneficial because it really bloats up the code and subroutine calls on intel

Re: EGCS breaks what(1)

1999-04-06 Thread eagle
On Tue, 6 Apr 1999, Bruce Evans wrote: Alternately, we could jimmy around with the current hack, and prefix it with 4 NULs, and see what happened. Sorry, I haven't tested this idea, as I've not yet made the EGCS jump. egcs aligns long (= about 28 bytes) strings to 32-byte boundaries.

Re: EGCS optimizations

1999-04-06 Thread Matthew Dillon
:it a few times to build the cache before timing it. : :What is the stddev on your measurements ? : :a delta-T 1 second need a very tight stddev to be significant. The timing was +/- 0.5 second ( I ran the test four times ). But, remember, this is not comparing against GCC. This

Re: EGCS optimizations

1999-04-06 Thread Matthew Dillon
:What is the stddev on your measurements ? : :a delta-T 1 second need a very tight stddev to be significant. I would say that a 1% increase or decrease in performance is not significant, so stddev is not significant either. There are too many other factors ( such as running a

Re: RE: EGCS optimizations

1999-04-06 Thread Alex Zepeda
On Tue, 6 Apr 1999, Matthew Dillon wrote: It's no big deal, really. I think the EGCS bandwagon is going to continue to move forward and PGCS runs on top of it, so moving to EGCS puts FreeBSD in a better position in the long term. Well what would be the chances of getting the pgcc

Re: RE: EGCS optimizations

1999-04-06 Thread David O'Brien
Well what would be the chances of getting the pgcc patches committed? I'm quite interested in doing this, BUT only after the dust has settled on the EGCS import and the Alpha build is fixed. Also the 1.1.2 PGCC patches aren't available yet. jdp and I have another round of bootstraping to fix

Re: EGCS breaks what(1)

1999-04-06 Thread Joel Ray Holveck
'what' is broken. C does not impose any sort of address ordering restriction on globals or autos that are declared next to each other. Right, except that 'what' isn't broken. It is vers.c (and conf/newvers.sh) that is broken, believing that the two variables will be allocating in contiguous

Re: C++ cannot create executables ?

1999-04-06 Thread David O'Brien
im having problems compiling the giCQ port under 4.0-current. configuration says my C++ compiler cannot create executables, any idea what's the problem ? On the bootstrap `make world' to EGCS libstdc++ is broken. Do a second `make world' and you will have a working system. I know what the

Re: RE: EGCS optimizations

1999-04-06 Thread Alex Zepeda
On Tue, 6 Apr 1999, David O'Brien wrote: Well what would be the chances of getting the pgcc patches committed? I'm quite interested in doing this, BUT only after the dust has settled on the EGCS import and the Alpha build is fixed. Also the 1.1.2 PGCC patches aren't available yet.

Re: loader

1999-04-06 Thread Robert Nordier
Chuck Robey wrote: I just finished a buildworld, and I'm not sure about the laoder binary. In my obj/usr/src/sys/boot/i386/loader directory, I have 3 files that might be loader: -rw-r--r-- 1 root wheel 135168 Apr 5 19:01 loader -rwxr-xr-x 1 root wheel 121672 Apr 5 19:01 loader.bin*

Re: panic: vm_page_bits: illegal base/size 4096/512

1999-04-06 Thread Matthew Dillon
:This occurs when I'm copying from a floppy (MS-DOS) to my home dir which is :on an FFS file system. Any ideas? Reproduced of course. : : Brian Feldman_ __ ___ ___ ___ ___ : gr...@unixhelp.org_ __ ___ | _ ) __| \ Brian, if the contents of the floppy

Re: loader

1999-04-06 Thread Chuck Robey
On Wed, 7 Apr 1999, Robert Nordier wrote: Chuck Robey wrote: I just finished a buildworld, and I'm not sure about the laoder binary. In my obj/usr/src/sys/boot/i386/loader directory, I have 3 files that might be loader: -rw-r--r-- 1 root wheel 135168 Apr 5 19:01 loader

Re: panic: vm_page_bits: illegal base/size 4096/512

1999-04-06 Thread Brian Feldman
On Tue, 6 Apr 1999, Matthew Dillon wrote: :This occurs when I'm copying from a floppy (MS-DOS) to my home dir which is :on an FFS file system. Any ideas? Reproduced of course. : : Brian Feldman_ __ ___ ___ ___ ___ : gr...@unixhelp.org_ __ ___ | _ ) __|

Re: aio_read

1999-04-06 Thread John Polstra
In article 199904061701.kaa09...@apollo.backplane.com, Matthew Dillon dil...@apollo.backplane.com wrote: : :It's not necessarily breakage. Not having any mechanism other than :open to get your own seek offset is nasty, but sharing a seek offset :can also be useful. File descriptors can't be

Re: YP/NIS and passwd weirdness

1999-04-06 Thread Dag-Erling Smorgrav
Sheldon Hearn sheld...@iafrica.com writes: -awk -F: '$2== {print $0}' /etc/master.passwd +grep -v '^\+' /etc/master.passwd | awk -F: '$2== {print $0}' agh! awk -F: '$1 !~ /^\+/ $2== {print $0}' /etc/master.passwd DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To

Re: aio_read

1999-04-06 Thread Bob Bishop
At 5:00 pm -0700 6/4/99, John Polstra wrote: [...] But O_APPEND didn't exist in early versions of Unix. I'm sure it wasn't present in V6, and I'm pretty sure it wasn't present in V7 either. [Blows dust off V7 manual] You're right: it wasn't. -- Bob Bishop (0118) 977 4017

I'll be in the Reading/London area this weekend...

1999-04-06 Thread Poul-Henning Kamp
I'll be in the Reading / London area from Friday morning until Sunday evening. If there are any FreeBSD events taking place send me email and I'll try to pop around... -- Poul-Henning Kamp FreeBSD coreteam member p...@freebsd.org Real hackers run -current on their

Re: cvsup4.freebsd.org is running behind

1999-04-06 Thread John Polstra
In article xfmail.990405195134@polstra.com, John Polstra j...@polstra.com wrote: If you are trying to follow the fast pace in -current right now, I'd suggest that you avoid cvsup4 until it's fixed. I'll announce that when it happens. It's looking like cvsup4 may be down for the count.

Re: New SiS 5591 ide chipset support.

1999-04-06 Thread Greg Lehey
On Tuesday, 6 April 1999 at 15:44:51 +0100, David Malone wrote: I'm having trouble with a kernel built from this mornings make world. It seems to be related to the new SiS 5591 ide chipset support. It gets as far as the automatic reboot in progress and then says: wd0: interrupt timeout

Re: WORM CAM CD

1999-04-06 Thread Daniel O'Connor
On 06-Apr-99 Kenneth D. Merry wrote: I've got a Matsushita CW-7501. I'll send him a mail. My guess is that cdrecord won't support it. See: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/c dr-unsup.html And remember that Matsushita == Panasonic. From

Re: WORM CAM CD

1999-04-06 Thread Kenneth D. Merry
Daniel O'Connor wrote... On 06-Apr-99 Kenneth D. Merry wrote: I've got a Matsushita CW-7501. I'll send him a mail. My guess is that cdrecord won't support it. See: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/c dr-unsup.html And remember

Re: WORM CAM CD

1999-04-06 Thread Daniel O'Connor
On 07-Apr-99 Kenneth D. Merry wrote: Look at the line just below the URL above, and then look at the web page again. Ack I am blind. I did read that line but proceeded to not read the web page properly sigh The 7501 isn't mentioned as being compatible anywhere I can see though. That's

Re: arp.

1999-04-06 Thread Curt Sampson
On Mon, 5 Apr 1999, andrea wrote: [etc.] If I read you correctly, what you want to do is something like this: internet | main router 192.168.1.1/24 | |-- other hosts on 192.168.1.0/25 subnet | 192.168.1.2/25

gcc build count

1999-04-06 Thread Joel Ray Holveck
How many times does gcc get built in a make buildworld? I had assumed only twice, is this wrong? Cheers, joelh -- Joel Ray Holveck - jo...@gnu.org Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to

Re: I'll be in the Reading/London area this weekend...

1999-04-06 Thread Brian Somers
I'll be in the Reading / London area from Friday morning until Sunday evening. If there are any FreeBSD events taking place send me email and I'll try to pop around... There's one this evening (Wednesday) in London, but nothing on the weekend. If you're interested in a beer on Sunday