Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2013 23:09:56 +0200
From:      olli hauer <ohauer@gmx.de>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        arm@freebsd.org, FreeBSD Tinderbox <tinderbox@freebsd.org>, Peter Wemm <peter@wemm.org>, current@freebsd.org
Subject:   Re: [head tinderbox] failure on arm/arm
Message-ID:  <51C21E24.30306@gmx.de>
In-Reply-To: <ED253459-1BBB-41B2-8DCA-8A436A457BD8@kientzle.com>
References:  <201306182138.r5ILcc7G095543@freebsd-current.sentex.ca> <ED253459-1BBB-41B2-8DCA-8A436A457BD8@kientzle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51C21E24.30306>