This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/9956] New: sdt.h doesn't compile against gcc 4.1.2 with -O2
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 15 Mar 2009 16:44:44 -0000
- Subject: [Bug runtime/9956] New: sdt.h doesn't compile against gcc 4.1.2 with -O2
- Reply-to: sourceware-bugzilla at sourceware dot org
with the rhel5 system compiler gcc --version:
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
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 -O
2 -lm -o sdt.prog (timeout = 300)
/tmp/cco50dzf.o:(.probes+0x10): undefined reference to `.L44'
/tmp/cco50dzf.o:(.probes+0x30): undefined reference to `.L45'
/tmp/cco50dzf.o:(.probes+0x50): undefined reference to `.L46'
/tmp/cco50dzf.o:(.probes+0x70): undefined reference to `.L47'
/tmp/cco50dzf.o:(.probes+0x90): undefined reference to `.L48'
/tmp/cco50dzf.o:(.probes+0xb0): undefined reference to `.L49'
/tmp/cco50dzf.o:(.probes+0xd0): undefined reference to `.L50'
/tmp/cco50dzf.o:(.probes+0xf0): undefined reference to `.L51'
/tmp/cco50dzf.o:(.probes+0x110): undefined reference to `.L52'
/tmp/cco50dzf.o:(.probes+0x130): undefined reference to `.L53'
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/tmp/cco50dzf.o:(.probes+0x10): undefined reference to `.L44'
/tmp/cco50dzf.o:(.probes+0x30): undefined reference to `.L45'
/tmp/cco50dzf.o:(.probes+0x50): undefined reference to `.L46'
/tmp/cco50dzf.o:(.probes+0x70): undefined reference to `.L47'
/tmp/cco50dzf.o:(.probes+0x90): undefined reference to `.L48'
/tmp/cco50dzf.o:(.probes+0xb0): undefined reference to `.L49'
/tmp/cco50dzf.o:(.probes+0xd0): undefined reference to `.L50'
/tmp/cco50dzf.o:(.probes+0xf0): undefined reference to `.L51'
/tmp/cco50dzf.o:(.probes+0x110): undefined reference to `.L52'
/tmp/cco50dzf.o:(.probes+0x130): undefined reference to `.L53'
collect2: ld returned 1 exit status
FAIL: compiling sdt.c additional_flags=-O2
--
Summary: sdt.h doesn't compile against gcc 4.1.2 with -O2
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=9956
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.