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/9956] New: sdt.h doesn't compile against gcc 4.1.2 with -O2


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.


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