From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21435 invoked from network); 2 Nov 1999 15:40:22 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 2 Nov 1999 15:40:22 -0000 Received: from ludwig-alpha.unil.ch (root@ludwig-alpha.unil.ch [192.42.197.33]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA25402 for ; Tue, 2 Nov 1999 10:40:22 -0500 Received: from ludwig-alpha.unil.ch (chris@localhost) by ludwig-alpha.unil.ch (8.9.3/8.9.3) with ESMTP id QAA11383 for ; Tue, 2 Nov 1999 16:40:20 +0100 Message-Id: <199911021540.QAA11383@ludwig-alpha.unil.ch> X-Mailer: exmh version 2.0.2 To: axp-list@redhat.com Subject: Re: Serious warnings from RH 6.1 SRPMs on alpha In-Reply-To: Your message of "Tue, 02 Nov 1999 10:23:00 EST." <199911021523.KAA18013@polya.math.purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 02 Nov 1999 16:40:20 +0100 From: Christian Iseli lucier@math.purdue.edu said: > In my (limited) experience, this type of warning almost always > indicates that someone is (a) trying to store a pointer in an int > variable without (b) knowing that an int is 32 bits and a pointer is > 64 bits on alpha linux. IIRC, this is true to some extent, but not always. For example, one could imagine a struct like so: struct _foo { void *stuff; }; which you would use to pass various data around. If you do things like: struct _foo f; int bar; f.stuff = bar; /* Get a warning */ ... bar = f.stuff; /* Get a warning */ you should be ok. I'm not saying this is good programming practice BTW ;-) lucier@math.purdue.edu said: > Unfortunately, the build of glibc-2.1.2 got hosed because of clock > skew (of about 20 years, I believe ;-), and another rpm didn't build > to completion. Didn't it get hosed because you have a recent 2.2 kernel tree installed ? The math stuff in recent (not sure from which version) kernel causes problems when compiling glibc-2.1.x... Also, I'm not sure stock gcc-2.95.x can deal with the complex numbers from glibc-2.1.x, it needs a patch IIRC. Anyway, I'm running on an alpha on which I compiled and installed a lot of SRPMS from 6.x, and I don't see that many problems... ;-)