This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12699] New: gdb 7.2 can't build with lttng-ust 0.12
- From: "dexuan.cui at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 25 Apr 2011 12:41:58 +0000
- Subject: [Bug gdb/12699] New: gdb 7.2 can't build with lttng-ust 0.12
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12699
Summary: gdb 7.2 can't build with lttng-ust 0.12
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: dexuan.cui@intel.com
I found gdb 7.2 can't build with lttng-ust 0.12 due to the API
change(http://www.mail-archive.com/ltt-dev@lists.casi.polymtl.ca/msg01839.html)
in lttng-ust 0.12. BTW, gdb-7.2 builds fine with lttng-ust 0.11.
I also tried
ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-7.2.90.20110425.tar.bz2 and
got the same error:
make[4]: Entering directory `/home/dcui/test/gdb-7.2.90.20110425/gdb/gdbserver'
gcc -c -g -O2 -I. -I. -I./../common -I./../regformats -I./../../include
-Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-char-subscripts -Werror -DCONFIG_UST_GDB_INTEGRATION -fPIC -DGDBSERVER
-DIN_PROCESS_AGENT -fvisibility=hidden tracepoint.c -o tracepoint-ipa.o
cc1: warnings being treated as errors
tracepoint.c: In function 'first_marker':
tracepoint.c:7064: error: return from incompatible pointer type
tracepoint.c: In function 'next_marker':
tracepoint.c:7079: error: comparison of distinct pointer types lacks a cast
tracepoint.c:7082: error: return from incompatible pointer type
tracepoint.c: In function 'unprobe_marker_at':
tracepoint.c:7160: error: request for member 'location' in something not a
structure or union
tracepoint.c:7164: error: request for member 'channel' in something not a
structure or union
tracepoint.c:7165: error: request for member 'name' in something not a
structure or union
tracepoint.c:7169: error: request for member 'channel' in something not a
structure or union
tracepoint.c:7169: error: request for member 'name' in something not a
structure or union
tracepoint.c: In function 'probe_marker_at':
tracepoint.c:7190: error: assignment from incompatible pointer type
tracepoint.c:7192: error: assignment from incompatible pointer type
tracepoint.c: In function 'cmd_qtstmat':
tracepoint.c:7236: error: assignment from incompatible pointer type
tracepoint.c:7238: error: assignment from incompatible pointer type
tracepoint.c: In function 'gdb_ust_thread':
tracepoint.c:7342: error: ignoring return value of 'write', declared with
attribute warn_unused_result
make[4]: *** [tracepoint-ipa.o] Error 1
For now, we have to use --without-ust to disable ust in gdb-7.2. :-(
Is there a plan to support lttng-ust 0.12?
Thanks!
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.