From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31009 invoked by alias); 24 Mar 2010 15:51:13 -0000 Received: (qmail 30376 invoked by uid 48); 24 Mar 2010 15:50:47 -0000 Date: Wed, 24 Mar 2010 15:51:00 -0000 From: "tcallawa at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20100324155046.11427.tcallawa@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/11427] New: systemtap 1.2 does not compile on sparc/sparc64 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: 2010-q1/txt/msg00763.txt.bz2 Systemtap 1.2 does not compile on sparc/sparc64, because nop 0 is invalid on those architectures. gcc -DHAVE_CONFIG_H -I. -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/libexec/systemtap"' -I./includes -D_GNU_SOURCE -fexceptions -Wall -Werror -Wunused -Wformat=2 -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mcpu=ultrasparc -fstack-protector-all -D_FORTIFY_SOURCE=2 -fPIE -DSINGLE_THREADED -fno-strict-aliasing -fno-builtin-strftime -D_FILE_OFFSET_BITS=64 -I/usr/include/nss3 -I/usr/include/nspr4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mcpu=ultrasparc -fstack-protector-all -D_FORTIFY_SOURCE=2 -MT staprun-staprun.o -MD -MP -MF .deps/staprun-staprun.Tpo -c -o staprun-staprun.o runtime/staprun/staprun.c {standard input}: Assembler messages: {standard input}:1292: Error: Illegal operands The easy fix is to add __sparc__ to the list of define conditionals in sys/sdt.h. A patch is attached to this bug report which does this and gets the code building on sparc. -- Summary: systemtap 1.2 does not compile on sparc/sparc64 Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: runtime AssignedTo: systemtap at sources dot redhat dot com ReportedBy: tcallawa at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=11427 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.