This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/11427] New: systemtap 1.2 does not compile on sparc/sparc64


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]