From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22528 invoked by alias); 25 Jan 2008 15:33:07 -0000 Received: (qmail 22359 invoked by uid 48); 25 Jan 2008 15:32:24 -0000 Date: Fri, 25 Jan 2008 15:33:00 -0000 Message-ID: <20080125153224.22358.qmail@sourceware.org> From: "wcohen at redhat dot com" To: systemtap@sources.redhat.com In-Reply-To: <20080108200751.5554.mhiramat@redhat.com> References: <20080108200751.5554.mhiramat@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug testsuite/5554] sytemtap.syscall failures on ia64. X-Bugzilla-Reason: AssignedTo 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 X-SW-Source: 2008-q1/txt/msg00142.txt.bz2 ------- Additional Comments From wcohen at redhat dot com 2008-01-25 15:32 ------- The checked in patch for bz5554 causes the syscall tests to fail on RHEL4/5 kernel on i386 machines. Trying to build the systemtap.syscall/sys.stp: ../../install/bin/stap -vv ../../src/testsuite/systemtap.syscall/sys.stp Ends up producing the following error messages that SEGMENT_RPL_MASK and USER_RPL undefined on RHEL4 i386 2.6.9-67.0.1.ELsmp and RHEL5 i386 2.6.18-53.1.4.el5: 2dcdef1bb34572403776cda3605b_421823.o /tmp/stapzirZcY/stap_d39a2dcdef1bb34572403776cda3605b_421823.c /tmp/stapzirZcY/stap_d39a2dcdef1bb34572403776cda3605b_421823.c: In function `function___is_user_regs': /tmp/stapzirZcY/stap_d39a2dcdef1bb34572403776cda3605b_421823.c:33210: error: `SEGMENT_RPL_MASK' undeclared (first use in this function) /tmp/stapzirZcY/stap_d39a2dcdef1bb34572403776cda3605b_421823.c:33210: error: (Each undeclared identifier is reported only once /tmp/stapzirZcY/stap_d39a2dcdef1bb34572403776cda3605b_421823.c:33210: error: for each function it appears in.) /tmp/stapzirZcY/stap_d39a2dcdef1bb34572403776cda3605b_421823.c:33210: error: `USER_RPL' undeclared (first use in this function) See that linux-2.6.24/include/asm-x86/segment_32.h has definition for the SEGMENT_RPL_MASK. The x86_64 version has: THIS->__retvalue = (!!((cs & 3))); For the x86_64 version is it going to return 1 for 1, 2, and 3 in the low bits of cs. The i386 version is only going to return 1 if the value is 3. Why the difference in test for x86_64 and i386? The include/asm-x86/ptrace.h has the same logic. It seems like there could be some simplification there. -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | http://sourceware.org/bugzilla/show_bug.cgi?id=5554 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.