Re: Unfortunate dynamic linking for everything

2003-11-23 Thread Thomas David Rivers
> > So far, I haven't seen anyone in this thread seriously > > argue against either of these points. > > I'll seriously argue against the 2nd point above. I don't know of a > SINGLE person that uses /bin/sh as their interactive shell when > multi-user. Not ONE. Every Bourne shell'ish user I've

Re: Final fix for correlation problem (was Re: rand() is broken)

2003-02-03 Thread Thomas David Rivers
I'm afraid I don't understand the fix... and how it seems to affect the historical behaviour of srand()/rand(). How does it address the understanding that if I use srand(28), I will get exactly the same sequence of numbers srand(28) produced yesterday, last week, last year? I have worked with pr

Re: I've just had a massive file system crash

2003-01-24 Thread Thomas David Rivers
Greg Lehey <[EMAIL PROTECTED]> wrote: > It has > three file systems, one of which came up dirty. fsck -y reported > thousands of errors, and when it was finished, my home directory and > some other files were gone, and all the subdirectories of my home > directory were in lost+found, a total of 1.

Re: gcc 3.2.1 optimization bug ?

2002-11-11 Thread Thomas David Rivers
Harti Brandt <[EMAIL PROTECTED]> wrote: > > Yes, of course, but one would assume it to work (I suppose there is a > large amount of code that assumes it will work). Not a safe assumption at all. For example, what if the alignment requirements for `short' and `int' are different (as they frequ

Re: gcc 3.2.1 optimization bug ?

2002-11-11 Thread Thomas David Rivers
Harti Brandt <[EMAIL PROTECTED]> wrote: > > > Hmm, I though the following would work: > > void > foo(unsigned short *s) > { > unsigned short temp; > > temp = s[0]; > s[0] = s[1]; > s[1] = temp; > } > > main() > { > int i = 0x12345678; > > foo(&i); > p

Re: gcc 3.2.1 optimization bug ?

2002-11-11 Thread Thomas David Rivers
Harti Brandt <[EMAIL PROTECTED]> wrote: > > Well, I just had a long discussion with a collegue about the topic. The > main problem is in the ISO-C standard, section 6.7 point 4 which states: > > All declarations in the same scope that refer to the same object or > function shall specify compatibl

Re: gcc 3.2.1 optimization bug ?

2002-11-11 Thread Thomas David Rivers
> > For the source code below, compiling gcc -O2/-O3 seem to produce > incorrect code. > > --- > #include > int main(int argc, char* argv[]) > { > unsigned int x = 0x12345678; > unsigned short tmp; > printf("%x\n", x); > tmp = ((unsigned short *)&x

Re: aout support broken in gcc3

2002-09-04 Thread Thomas David Rivers
Terry Lambert <[EMAIL PROTECTED]> wrote: > > Bruce Evans wrote: > > Isn't this too old and security-holed to use? It stopped being packaged a > > few releases ago. 4.5R has mainly: > > > > /usr/local/lib/netscape-linux/communicator-linux-4.79.bin: ELF 32-bit LSB >executable, Intel 80386, vers

Re: PATCH: wchar_t is already defined in libstd++

2002-06-18 Thread Thomas David Rivers
Terry Lambert <[EMAIL PROTECTED]> wrote: > > Martin Blapp wrote: > > This looks ok to me. And like this we would only have to change one > > file, Garrett is right. > > That's the first thing I said: "Garrett's right". > > David O'Brian had the point that there was a tools dependency that > thi

Re: PATCH: wchar_t is already defined in libstd++

2002-06-18 Thread Thomas David Rivers
"David O'Brien" <[EMAIL PROTECTED]> wrote: > > On Mon, Jun 17, 2002 at 06:16:45PM -0400, Garrett Wollman wrote: > > <<[EMAIL PROTECTED]> said: > > > > > The correct approach (and, I have to admit to not > > > glancing at your patch) would be: > > > > >#ifndef __cplusplus > > >typedef

Re: Sony Vaio, LinkSys EC2T & 5.0-CURRENT ...

2002-06-01 Thread Thomas David Rivers
"Marc G. Fournier" <[EMAIL PROTECTED]> wrote: > Morning all ... > > After getting nowhere with the Surecom EP-428X that I picked up, I > went out today and grabbed one of the Linksys EC2T, figuring it's on the > list of supported devices I found, and I think I'm s close ... > >

Re: moused(8): char signed-ness problem with gcc 3.1

2002-05-16 Thread Thomas David Rivers
Terry Lambert <[EMAIL PROTECTED]> wrote: > Thomas David Rivers wrote: > > Well - it's not counter-intuitive on many machines... For example, > > on the IBM mainframe - there is an instruction to load a character > > into a register - but not one that loads

Re: moused(8): char signed-ness problem with gcc 3.1

2002-05-15 Thread Thomas David Rivers
Terry Lambert <[EMAIL PROTECTED]> wrote: > > Bill Fenner wrote: > > gcc 3.1 simply defaults to unsigned chars. 127 << 1 = 254; 254 / 2 = 127. > > > > My machine is too slow to test this expeditiously, but I'm trying > > adding "#define DEFAULT_SIGNED_CHAR 1" into freebsd-native.h . > > I will

Re: moused(8): char signed-ness problem with gcc 3.1

2002-05-15 Thread Thomas David Rivers
> > I observed gcc 2.95.4 and gcc 3.1 interpret (or maybe optimize) the > following code differently (CFLAGS=-O): > > int main(void) > { > unsigned char i = 127; > printf("%d\n", ((char)(i << 1)) / 2); > return 0; > } > > gcc 2.95.4 says it's -1, whereas gcc 3.1 says it's 127. On FreeBSD

Re: HEADS UP: installworld gotchas

2001-02-12 Thread Thomas David Rivers
On Sun, 11 Feb 2001, Peter Wemm wrote: > Matt Dillon wrote: > > > > : > > : This is a major change to libc. The library maj must be bumped if you > > : intend to change the sizeof(FILE), or every single third party applicatio > n > > : that uses stdio will break. > > : > > :

Re: interesting problem

2000-09-28 Thread Thomas David Rivers
Alfred Perlstein <[EMAIL PROTECTED]> wrote: > > * Tony Johnson <[EMAIL PROTECTED]> [000927 18:26] wrote: > > OK > > Well Here is the issue. If I put in the 2 boot floppies I get a page fault > > 12 after I press Q for "quit" on the visual kernel config. If I can save a > > crash dump before any

Re: VMWare on -current, how fast should I expect it to be?

2000-09-12 Thread Thomas David Rivers
Julian Elischer ([EMAIL PROTECTED]) wrote: > > Nik Clayton wrote: > > > > Hi guys, > > > > For those of you running VMWare (2) on -current, how fast do you expect it to > > be? > > > > I'm running it quite successfully on a 750MHz PIII w/ 128MB RAM, and the > > following disk controller / dis

Re: netscape

2000-09-08 Thread Thomas David Rivers
> > Hi, > I have installed netscape4-navigator and I can't launch its. > I've got following message: > > ld.so failed: Can't find shared library "libXt.so.6.0" > > What can I do? > Piotr Wozniak You need to install the XFree86 a.out library package. It's in the packages directory from the 4

AFS.

2000-08-30 Thread Thomas David Rivers
Just F.Y.I I understand that, today, IBM is announcing it will open-source AFS via the IBM Public Source license.. Some quotes I've seen: "IBM announced today the open source contribution of a high-performance file system technology and talent to strengthen collaboration in the enterpri

Re: HEADS UP: Destabilization due to SMP development

2000-06-20 Thread Thomas David Rivers
> > What about doing the changes on a branch with the understanding that > the branch will *replace* HEAD when it stabilises ? > > This sounds odd at first glance, but it means that others are forced > to MFC into the smp branch - if they don't they lose. > > Anybody that's not confident to b

Re: db 1.85 --> 2.x or 3.x?

2000-05-02 Thread Thomas David Rivers
> > Brad Knowles wrote: > > > > At 10:00 AM -0500 2000/5/2, Dan Nelson wrote: > > > > > .. means that a user that wanted to use FreeBSD in a commercial > > > application would not be able to simply sell his product; he would have > > > to get a license from Sleepycat. > > > > I asked the K

Re: MLEN and crashes

2000-04-14 Thread Thomas David Rivers
Peter Jeremy <[EMAIL PROTECTED]> wrote: > > On 3/04, John Polstra wrote: > [don't allocate big structs on kernel stack] > > Many years ago, I wrote a tool that analysed stack requirements by > parsing the assembler output from the compiler. It determined the > stack frame requirements and buil

Re: Panic (ffs) #2

2000-02-22 Thread Thomas David Rivers
> > And here we are again. > > This time on another disk: > > dev = #amrd/0x20004, block = 2048, fs = /news/spool > panic: ffs_blkfree: freeing free block > Debugger("panic") > Stopped at Debugger+0x35: movb$0,in_Debugger.372 > db> trace > Debugger(c01e7ee3) at Debugger+0x35 > panic(c

Re: Vmware and -current

1999-12-24 Thread Thomas David Rivers
> seems to work fine, > except that now we don't have block devices any more > so every time it gets stuff off disk, it's REALLY SLOW. > > I guess a virtual machine is the "App that no-one could put their finger > on" that really could do with buffered (caching) devices. Hmmm I wonder what

Re: cc taking a signal 11

1999-12-20 Thread Thomas David Rivers
> >Nawww... I've tried this on a bunch of different machines.. as a matter > of fact it replicates with gcc version 2.7.2.1 from December of last > year. I find it hard to believe that I have 80 machines that all > exhibit the exact same memory failure... :-) > > -John > > > Yep - othe

Re: cc taking a signal 11

1999-12-20 Thread Thomas David Rivers
> > Hi, > >While I'm at it, a co-worker gave this one to me earlier today. > >cc: Internal compiler error: program cc1 got fatal signal 11 > >4.0-CURRENT FreeBSD 4.0-CURRENT #0: Mon Dec 20 01:45:25 EST 1999 > > > > FreeBSD(root)/tmp %cc -v > Using builtin specs. > gcc version 2.

Re: sysinstall: is it really at the end of its lifecycle?

1999-12-15 Thread Thomas David Rivers
Adam Strohl <[EMAIL PROTECTED]> wrote: > On Wed, 15 Dec 1999, Daniel C. Sobral wrote: > > > Hey, I like CUI. I'd rather install with a CUI than a GUI, all other > > things being equal. And besides some quirks here and there, I really > > like sysinstall. > > Its nice, but its not where it should

Re: syscons extension: "propellers"

1999-12-14 Thread Thomas David Rivers
> > One potential drawback is that it would probably bloat the > syscons code slightly. > > - Donn > Uhh... "slightly"? - Dave R. - To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: HEADSUP: wd driver will be retired!

1999-12-09 Thread Thomas David Rivers
> > In message <[EMAIL PROTECTED]> Julian >Elischer writes: > : more importantly we lost the aha driver for a while. > > No we didn't. Well, the aha driver did loose support for the 1542A > cards, but the aha driver was done so that cam could be committed to > the tree. Maybe you are confusin

Re: Now that sigcontext is gone ...

1999-10-02 Thread Thomas David Rivers
> > > Just how much code will break? > > Boehm-gc, maybe. Modula-3, maybe. I can't remember whether it > catches both signals or just SIGBUS. I believe electric-fence would change as well. - Dave R. - To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current

Re: ATTENTION PLEASE: g77 in base system.

1999-04-09 Thread Thomas David Rivers
Marc G. Fournier wrote: > On Thu, 8 Apr 1999, Brian Handy wrote: > > > On 9 Apr 1999, Dag-Erling Smorgrav wrote: > > > > >> [4 people said "YES! Add g77!"] > > > > >I beg your pardon? You're adding g77 to the system because you know of > > >four people who would find it useful? Where's the log