>>>> 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


_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to