This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/9980] New: sdt.h doesn't compile against gcc 4.3.2 on i386
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 22 Mar 2009 19:58:46 -0000
- Subject: [Bug runtime/9980] New: sdt.h doesn't compile against gcc 4.3.2 on i386
- Reply-to: sourceware-bugzilla at sourceware dot org
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.