From owner-freebsd-sparc Thu Dec 26 11:42:51 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E25BA37B401 for ; Thu, 26 Dec 2002 11:42:49 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84D6643ED8 for ; Thu, 26 Dec 2002 11:42:45 -0800 (PST) (envelope-from bzeeb+freebsdports@zabbadoz.net) Received: from localhost (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 932701FFF4A; Thu, 26 Dec 2002 20:42:21 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id B748D1FFF3F; Thu, 26 Dec 2002 20:42:20 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 216D41532D; Thu, 26 Dec 2002 19:40:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 1851F15298; Thu, 26 Dec 2002 19:40:06 +0000 (UTC) Date: Thu, 26 Dec 2002 19:40:06 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= Cc: sparc@FreeBSD.org Subject: Re: port fix test request In-Reply-To: <20021226103324.E2299-100000@atlas.home> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Virus-Scanned: by AMaViS snapshot-20020300 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 26 Dec 2002, Mikko Ty=F6l=E4j=E4rvi wrote: > > Makefile.sparc64 to Makefile.`uanme -m` . > > Yes, it does. good. > > +-=09size_t=09rc =3D iconvTo(wideCharBuf, &wLent, &ptr, neededLen); > > ++=09size_t=09rc =3D iconvTo(wideCharBuf, (size_t *)&wLent, &ptr, neede= dLen); > > This isn't right (if I'm reading the source correctly, where "wLent" > is an unsigned int, not a size_t; 32-bits vs 64-bits on sparc64, which > is big-endian, so it won't even work by mistake ;-). > > You need to give iconvTo() the address of a genuine size_t, if that is > what it wants; i.e. either make wLent a size_t or use a temporary > variable. Or something. thanks. I will recheck this and make a correct patch as it also will not work on alpha then. size_t is an unsigned long on sparc ? nonetheless does it compile or does it still error out at make configure ? --=20 Bjoern A. Zeeb=09=09=09=09bzeeb at Zabbadoz dot NeT 56 69 73 69 74=09=09=09=09http://www.zabbadoz.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message