From owner-freebsd-current@FreeBSD.ORG Wed Jun 19 21:09:59 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1399C3F1 for ; Wed, 19 Jun 2013 21:09:59 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8D8601F4B for ; Wed, 19 Jun 2013 21:09:58 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.35]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0Mg2Ch-1UddYG2ouD-00NTG2 for ; Wed, 19 Jun 2013 23:09:57 +0200 Received: (qmail invoked by alias); 19 Jun 2013 21:09:57 -0000 Received: from p578be941.dip0.t-ipconnect.de (EHLO [192.168.0.100]) [87.139.233.65] by mail.gmx.net (mp035) with SMTP; 19 Jun 2013 23:09:57 +0200 X-Authenticated: #1956535 X-Provags-ID: V01U2FsdGVkX193G0AnCKR3O1i2LW3WkiI+bHpcUFVbt5rRzngt9s eClqGuvPcIRZCD Message-ID: <51C21E24.30306@gmx.de> Date: Wed, 19 Jun 2013 23:09:56 +0200 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Tim Kientzle Subject: Re: [head tinderbox] failure on arm/arm References: <201306182138.r5ILcc7G095543@freebsd-current.sentex.ca> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Cc: arm@freebsd.org, FreeBSD Tinderbox , Peter Wemm , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 21:09:59 -0000 On 2013-06-19 07:27, Tim Kientzle wrote:>>>>> stage 4.2: building libraries >>>>> stage 4.3: make dependencies >>>>> stage 4.4: building everything >> [...] >> /src/usr.bin/svn/lib/libapr/../../../../contrib/apr/include/apr_ring.h:183:34: note: expanded from macro 'APR_RING_PREV' >> #define APR_RING_PREV(ep, link) (ep)->link.prev >> ^ >> /src/usr.bin/svn/lib/libapr/../../../../contrib/apr/include/apr_ring.h:177:34: note: expanded from macro 'APR_RING_NEXT' >> #define APR_RING_NEXT(ep, link) (ep)->link.next >> ^ >> fatal error: too many errors emitted, stopping now [-ferror-limit=] >> 1 warning and 20 errors generated. >> *** Error code 1 >> >> Stop. >> make: stopped in /src/usr.bin/svn/lib/libapr >> *** Error code 1 > > This might be the OffsetOf bug for APR on ARM. > We just got a fix pushed upstream for this a few > days ago. > > I don't have time to look, but someone should take > a peek at the following patch and see if it's > needed: > > --- ./apr-1.4.7/include/apr_general.h.orig > +++ ./apr-1.4.7/include/apr_general.h > @@ -76,7 +76,7 @@ > ·*·@return·offset > ·*/ > -#if·defined(CRAY)·||·(defined(__arm)·&&·!defined(LINUX)) > +#if·defined(CRAY)·||·(defined(__arm)·&&·!(defined(LINUX)·||·defined(__FreeBSD__))) > #ifdef·__STDC__ > #define·APR_OFFSET(p_type,field)·_Offsetof(p_type,field) > #else > Sorry for the late reply, There is a new apr version on the way which contains the fix already, I suspect it will be released during the next days (if no show stopper is found) The following patch updates apr from 1.4.6 to 1.4.8 http://people.freebsd.org/~ohauer/diffs/apr-1.4.8.1.4.1.diff Would you mind to test the new version on the arm platform and run $> make test (as non priv. user) I have tested on 8.4 and 9.1 no 10-cur system available, tests do not run on redports because of system restrictions (jail). -- olli