public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/11427] systemtap 1.2 does not compile on sparc/sparc64
  2010-03-24 15:51 [Bug runtime/11427] New: systemtap 1.2 does not compile on sparc/sparc64 tcallawa at redhat dot com
@ 2010-03-24 15:51 ` tcallawa at redhat dot com
  2010-03-24 16:08 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tcallawa at redhat dot com @ 2010-03-24 15:51 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From tcallawa at redhat dot com  2010-03-24 15:51 -------
Created an attachment (id=4677)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4677&action=view)
Fix sparc to use nop, not nop 0


-- 


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug runtime/11427] New: systemtap 1.2 does not compile on sparc/sparc64
@ 2010-03-24 15:51 tcallawa at redhat dot com
  2010-03-24 15:51 ` [Bug runtime/11427] " tcallawa at redhat dot com
  2010-03-24 16:08 ` fche at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: tcallawa at redhat dot com @ 2010-03-24 15:51 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug runtime/11427] systemtap 1.2 does not compile on sparc/sparc64
  2010-03-24 15:51 [Bug runtime/11427] New: systemtap 1.2 does not compile on sparc/sparc64 tcallawa at redhat dot com
  2010-03-24 15:51 ` [Bug runtime/11427] " tcallawa at redhat dot com
@ 2010-03-24 16:08 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2010-03-24 16:08 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-03-24 16:08 -------
Thank you, pushed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-24 16:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-24 15:51 [Bug runtime/11427] New: systemtap 1.2 does not compile on sparc/sparc64 tcallawa at redhat dot com
2010-03-24 15:51 ` [Bug runtime/11427] " tcallawa at redhat dot com
2010-03-24 16:08 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).