From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22937 invoked by alias); 6 May 2014 18:36:51 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 22889 invoked by uid 48); 6 May 2014 18:36:46 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/16914] probe syscall.* fails with compilation error Date: Tue, 06 May 2014 18:36:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q2/txt/msg00115.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16914 --- Comment #5 from David Smith --- (In reply to Josh Stone from comment #4) > (In reply to Martin Cermak from comment #0) > > kernel-3.13.0-0.rc7.31.sa2.bz1094366.aarch64 (3.13.0-0.rc7.31 + rhbz1094366 fix) > > This kernel does have CONFIG_COMPAT=y, but I don't think that's typical for > that product. Regardless, we need to be prepared for the possibility. Here's the description for CONFIG_COMPAT from the kernel's arm/arm64/Kconfig file: ==== This option enables support for a 32-bit EL0 running under a 64-bit kernel at EL1. AArch32-specific components such as system calls, the user helper functions, VFP support and the ptrace interface are handled appropriately by the kernel. If you want to execute 32-bit userspace applications, say Y. ==== So right now the kernel supports 32-bit apps, but the toolchain doesn't. Odd, but OK. >From poking around the kernel source, it appears that on arm64, syscall numbers for 32-bit syscalls can differ from their 64-bit versions, but most are the same. I've checked in commit 48ad5c5 which should hopefully fix this. Martin or Josh, I'll need one of you to test this and let me know if it worked. -- You are receiving this mail because: You are the assignee for the bug.