Re: [head tinderbox] failure on arm/arm

From: Tim Kientzle <tim_at_kientzle.com>
Date: Tue, 18 Jun 2013 22:27:35 -0700
>>>> 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
_at__at_ -76,7 +76,7 _at__at_
·*·_at_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
Received on Wed Jun 19 2013 - 03:27:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:38 UTC