[PATCH] ia64: fix up builds after 16bit uuid support

Mike Frysinger vapier at gentoo.org
Thu Feb 26 07:15:33 UTC 2015


The ia64 port pulls in the i386 syscall table so it can decode 32bit
apps, so we need to enable the 16bit uid parsers for it.

* defs.h (NEED_UID16_PARSERS): Define to 1 for IA64.
* linux/ia64/syscallent.h: Undefine sys_stime to avoid redefine warnings.
---
 defs.h                  | 1 +
 linux/ia64/syscallent.h | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/defs.h b/defs.h
index 85c79f5..adbc006 100644
--- a/defs.h
+++ b/defs.h
@@ -348,6 +348,7 @@ extern const struct xlat whence_codes[];
 
 #if defined(ARM) || defined(AARCH64) \
  || defined(I386) || defined(X32) || defined(X86_64) \
+ || defined(IA64) \
  || defined(BFIN) \
  || defined(M68K) \
  || defined(MICROBLAZE) \
diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h
index 9b23fcd..d44071f 100644
--- a/linux/ia64/syscallent.h
+++ b/linux/ia64/syscallent.h
@@ -26,6 +26,9 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/* Undo any defines that an earlier dummy.h inclusion setup.  */
+#undef sys_stime
+
 /*
  * IA-32 syscalls that have pointer arguments which are incompatible
  * with 64-bit layout get redirected to printargs.
-- 
2.3.0





More information about the Strace-devel mailing list