Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 50469 invoked from network); 18 Oct 2009 15:58:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Oct 2009 15:58:53 -0000 Received: (qmail 16282 invoked by uid 500); 18 Oct 2009 15:58:53 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 16171 invoked by uid 500); 18 Oct 2009 15:58:52 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 16162 invoked by uid 99); 18 Oct 2009 15:58:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2009 15:58:52 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 76.96.59.212 is neither permitted nor denied by domain of jim@jagunet.com) Received: from [76.96.59.212] (HELO QMTA14.westchester.pa.mail.comcast.net) (76.96.59.212) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2009 15:58:42 +0000 Received: from OMTA19.westchester.pa.mail.comcast.net ([76.96.62.98]) by QMTA14.westchester.pa.mail.comcast.net with comcast id uEtr1c00227AodY5EFyNZa; Sun, 18 Oct 2009 15:58:22 +0000 Received: from [192.168.199.10] ([69.251.84.64]) by OMTA19.westchester.pa.mail.comcast.net with comcast id uG4k1c0011PGofZ3fG4kei; Sun, 18 Oct 2009 16:04:44 +0000 Subject: Re: Mac OS X Universal builds and APR Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Jim Jagielski In-Reply-To: Date: Sun, 18 Oct 2009 11:58:20 -0400 Cc: dev@apr.apache.org Content-Transfer-Encoding: 7bit Message-Id: <7C3576B5-1E57-4E63-BAFC-3B0C3AFA50BF@jaguNET.com> References: To: Barry Scott X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org On Oct 18, 2009, at 11:11 AM, Barry Scott wrote: > I'm the author of pysvn that depends on subversion that depends on > APR. > > The convient way to build universal binaries on the Mac is to use - > arch. For example > to get a binary that is 32bit and 64bit: > > gcc -arch i386 -arch x86_64 > > This works so long as the code that is being compile is portable > between the > arch chosen. > > I have found that I cannot build subversion as a Mac OS X Universal > binary > because of none portable code in apr.h created by configure. > > apr.h is configured for 32bit or 64bit and that causes either 32bit > or 64bit to > fail. > > Items that would need to handled are: > > apr_int64_t aways define as long long on Mac. > > APR_SIZEOF_VOIDP would need to be set based on preprocessor symbols. > > I'm sure there are more issues that I have not noticed. > > Are you aware of these issues? > > Do you consider they need fixing? > > Barry > We are aware of these. A patch to address these have been vetoed. For the time being, this is the way it is.