From owner-freebsd-alpha Sun Apr 8 5:18:31 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from VL-MS-MR003.sc1.videotron.ca (relais.videotron.ca [24.201.245.36]) by hub.freebsd.org (Postfix) with ESMTP id 0E80A37B422 for ; Sun, 8 Apr 2001 05:18:28 -0700 (PDT) (envelope-from nospam@videotron.ca) Received: from neutrino.quantum.net ([24.201.45.238]) by VL-MS-MR003.sc1.videotron.ca (Netscape Messaging Server 4.15) with ESMTP id GBH3IR03.LTH; Sun, 8 Apr 2001 08:18:27 -0400 Received: from videotron.ca (client40.quantum.net [192.168.56.40]) by neutrino.quantum.net (8.12.0.Beta5/8.12.0.Beta5) with ESMTP id f38CIPfa013266; Sun, 8 Apr 2001 08:18:25 -0400 (EDT) Message-ID: <3AD05711.7000002@videotron.ca> Date: Sun, 08 Apr 2001 08:18:25 -0400 From: tcn Reply-To: leclercn@videotron.ca User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en MIME-Version: 1.0 To: Peter Wemm Cc: freebsd-alpha@FreeBSD.ORG Subject: 64bits mixups (Was: Re: Vinum status) References: <20010408030913.213D1380A@overcee.netplex.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > ia64 is just like Alpha. int = 32 bits. long and pointers are 64 bit. Exactly. I can tell you Alpha has a lot of problems with this so IA64 will have them too. Many ports can't be compiled because pointer arithmetic are done in ints. I've seen messages from some kernel modules that pointers were changed for ints (this is fine up to a certain point) and I'm not sure if I didn't see any modules converting ints to pointers. Many ports are not working. Take dhcpd3 for example. I don't have any error compiling it but the thing keeps droping all my packets saying they have bogus length. I didn't have time to debug the port yet but this probably will be my next step as I need dynamic dns updates from dhcpd. I know that Compaq C++ (the very newly beta version) is supposed to give us control on pointer size but we would need this capability for C also. My biggest frustration was a piece of software called alliance. This is a package for building chip masks. This is a very powerful package but all pointer arithmetics are done in ints. It is an error to keep ints of 32 bits on 64 bits machine like it would have been an error on ia32 to keep ints of 16bits. (I come from a dos world...) Normand, lecn1306@ele.etsmtl.ca leclercn@videotron.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message