On Tue, 2 Sep 2014 16:08:10 -0700
Micheal Waltz <[email protected]> wrote:
> Removing the #undef gives a diff for param.arm_linux26.h of,
>
> --- openafs-1.6.9/src/config/param.arm_linux26.h
> +++ openafs-1.6.9/src/config/param.arm_linux26.h
> @@ -34,7 +34,4 @@
> #define __NR_afs_syscall 137
> #endif
>
> -/* glibc doesn't implement getcontext/savecontext for arm. */
> -#undef USE_UCONTEXT
> -
> #endif /* AFS_PARAM_H */
>
> which when trying to build the package unfortunately still ends up with
> the same error,
Yes, that was dumb; obviously the ARM build system already has a
different file to build without using ucontext. Try the attached patch
in addition to the diff you just posted. This may (likely) fail horribly
trying to compile process.c, but just in case this might work without me
having to build an aarch64 image locally...
--
Andrew Deason
[email protected]
diff --git a/src/lwp/Makefile.in b/src/lwp/Makefile.in
index 15c1375..e50d64c 100644
--- a/src/lwp/Makefile.in
+++ b/src/lwp/Makefile.in
@@ -53,7 +53,7 @@ process.s:
# Making process.o for $(SYS_NAME)
process.o : process.s process.i386.s process.amd64.s process.c lwp.o
@set -x; case "$(SYS_NAME)" in \
- sun4c_51 | sun4c_52 | sun4m_51 | sun4m_52 | sun4c_53 | sun4m_53 | sun4_53 | sun4_52 | sun4_54 | sun4c_54 | sun4m_54 | sun4x_5* | arm_linux* ) \
+ sun4c_51 | sun4c_52 | sun4m_51 | sun4m_52 | sun4c_53 | sun4m_53 | sun4_53 | sun4_52 | sun4_54 | sun4c_54 | sun4m_54 | sun4x_5* ) \
$(PATH_CPP) -P -I${TOP_INCDIR} ${srcdir}/process.s > process.ss; \
${AS} process.ss -o process.o; \
$(RM) process.ss ;; \