From owner-freebsd-sparc64@FreeBSD.ORG Fri Apr 9 22:09:40 2010 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E04D106564A for ; Fri, 9 Apr 2010 22:09:40 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by mx1.freebsd.org (Postfix) with ESMTP id B28988FC12 for ; Fri, 9 Apr 2010 22:09:39 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c122-106-253-149.belrs3.nsw.optusnet.com.au [122.106.253.149]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o39M9ZZC015602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Apr 2010 08:09:37 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id o39M9ZTl017073; Sat, 10 Apr 2010 08:09:35 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id o39M9YAR017072; Sat, 10 Apr 2010 08:09:34 +1000 (EST) (envelope-from peter) Date: Sat, 10 Apr 2010 08:09:34 +1000 From: Peter Jeremy To: Christian Weisgerber Message-ID: <20100409220934.GA97879@server.vk2pj.dyndns.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) X-CMAE-Score: 0 Cc: freebsd-sparc64@freebsd.org Subject: Re: Trailing slashes on file names X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2010 22:09:40 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-Apr-05 17:32:06 +0000, Christian Weisgerber wr= ote: >I'm trying to figure out why ports/archivers/gcpio is reported as >not building on sparc64. The details seem to be twisty, but I >suspect at the root are these different results of a number of >configure script tests: I have checked with 8-stable sparc64, amd64 and i386 and am unable to reproduce this particular problem and gcpio builds on sparc64 for me. I _do_ get some other wierd issues though. Environment: sparc64: 8-stable from mid-Feb, UFS amd64: 8-stable from last Sunday, ZFS i386: 8-beta from last September, NFS [I didn't realise it was that old] The "wierd" issues are: sparc64, amd64: checking for working fcntl.h... no (bad O_NOATIME) checking whether stdint.h conforms to C99... no checking whether inttypes.h conforms to C99... no checking for working mktime... no i386 checking for working fcntl.h... yes checking whether stdint.h conforms to C99... yes checking whether inttypes.h conforms to C99... yes checking for working mktime... yes O_NOATIME appears to be a Linux extension so the claim that fcntl.h does not work on sparc64 or amd64 is spurious whilst the claim it does work on i386 is a flaw in the configure script. The definitions for SIG_ATOMIC_{MIN,MAX} in are incorrect on 64-bit architectures because they are always 32-bit whereas sig_atomic_t is long (64-bit). I have reported this as bin/145590. The inttypes.h non-conformance is linked to stdint.h non-conformance. mktime is reported as non-working on 64-bit architectures because localtime(3) and mktime(3) are not able to reverseably convert some time_t values. There have been various discussions about range restrictions within the timezone code. A short search has turned up kern/128714 and misc/145341. IMO, the test program is unrealistic. --=20 Peter Jeremy --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAku/pZ4ACgkQ/opHv/APuIe6AgCfa9orG46Tztqkbpckhi8jDumM vOIAnAzUZyhMacnDvz+hAE3wQcdkPW0p =UZsX -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--