* [Bug runtime/9980] New: sdt.h doesn't compile against gcc 4.3.2 on i386
@ 2009-03-23 14:35 mjw at redhat dot com
2009-03-23 16:16 ` [Bug runtime/9980] " rarora at redhat dot com
2009-03-23 16:39 ` scox at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: mjw at redhat dot com @ 2009-03-23 14:35 UTC (permalink / raw)
To: systemtap
After commit 422735b3ec857e812097566e28950aa3313892b4
Author: Stan Cox <scox@redhat.com>
Date: Fri Mar 20 16:30:19 2009 -0400
Define static user probe point using asm instead of c.
* includes/sys/sdt.h (STAP_PROBE_DATA): New. Define the probe point
using asm instead of c.
(STAP_PROBEN): Use it.
* testsuite/systemtap.base/sdt.exp: Continue if a compile fails.
* testsuite/systemtap.base/static_uprobes.exp: Don't test setting
probe without .probes section.
sdt.h doesn't compile anymore on i386.
Linux hermans.wildebeest.org 2.6.27.19-170.2.35.fc10.i686 #1 SMP Mon Feb 23
13:21:22 EST 2009 i686 i686 i386 GNU/Linux
gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)
Running /home/mark/src/systemtap/testsuite/systemtap.base/sdt.exp ...
FAIL: compiling sdt.c ""
FAIL: compiling sdt.c additional_flags=-std=gnu89
FAIL: compiling sdt.c additional_flags=-ansi
FAIL: compiling sdt.c additional_flags=-pedantic
FAIL: compiling sdt.c additional_flags=-ansi additional_flags=-pedantic
FAIL: compiling sdt.c additional_flags=-O2
FAIL: compiling sdt.c additional_flags="-O3"
All tests fail with:
Executing on host: gcc /home/mark/src/systemtap/testsuite/systemtap.base/sdt.c
-g -I/home/mark/src/systemtap/testsuite/../includes/sys -Wall -Wextra -Werror -
lm -o sdt.c.exe.0 (timeout = 300)
/home/mark/src/systemtap/testsuite/systemtap.base/sdt.c: Assembler messages:
/home/mark/src/systemtap/testsuite/systemtap.base/sdt.c:12: Error: cannot repres
ent relocation type BFD_RELOC_64
/home/mark/src/systemtap/testsuite/systemtap.base/sdt.c:13: Error: cannot repres
ent relocation type BFD_RELOC_64
[...]
--
Summary: sdt.h doesn't compile against gcc 4.3.2 on i386
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mjw at redhat dot com
CC: scox at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=9980
------- 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/9980] sdt.h doesn't compile against gcc 4.3.2 on i386
2009-03-23 14:35 [Bug runtime/9980] New: sdt.h doesn't compile against gcc 4.3.2 on i386 mjw at redhat dot com
@ 2009-03-23 16:16 ` rarora at redhat dot com
2009-03-23 16:39 ` scox at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: rarora at redhat dot com @ 2009-03-23 16:16 UTC (permalink / raw)
To: systemtap
------- Additional Comments From rarora at redhat dot com 2009-03-22 21:52 -------
Reproduced on Rawhide i686 with gcc 4.4.0 when building tcl/FF with --enable-dtrace
tclBasic.c: Assembler messages:
tclBasic.c:6830: Error: cannot represent relocation type BFD_RELOC_64
tclBasic.c:6831: Error: cannot represent relocation type BFD_RELOC_64
[...]
make: *** [tclBasic.o] Error 1
=========
jsdtracef.c: Assembler messages:
jsdtracef.c:216: Error: cannot represent relocation type BFD_RELOC_64
jsdtracef.c:217: Error: cannot represent relocation type BFD_RELOC_64
[...]
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rarora at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=9980
------- 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/9980] sdt.h doesn't compile against gcc 4.3.2 on i386
2009-03-23 14:35 [Bug runtime/9980] New: sdt.h doesn't compile against gcc 4.3.2 on i386 mjw at redhat dot com
2009-03-23 16:16 ` [Bug runtime/9980] " rarora at redhat dot com
@ 2009-03-23 16:39 ` scox at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: scox at redhat dot com @ 2009-03-23 16:39 UTC (permalink / raw)
To: systemtap
------- Additional Comments From scox at redhat dot com 2009-03-23 14:35 -------
Have the asm probe do the same sort of 32/64 awareness the c version did.
commit: 407658581b
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=9980
------- 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:[~2009-03-23 14:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-23 14:35 [Bug runtime/9980] New: sdt.h doesn't compile against gcc 4.3.2 on i386 mjw at redhat dot com
2009-03-23 16:16 ` [Bug runtime/9980] " rarora at redhat dot com
2009-03-23 16:39 ` scox 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).