public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/12699] New: gdb 7.2 can't build with lttng-ust 0.12
@ 2011-04-25 12:42 dexuan.cui at intel dot com
  2012-01-10 15:48 ` [Bug gdb/12699] " marc.khouzam at ericsson dot com
  2012-03-27  3:51 ` sergiodj at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: dexuan.cui at intel dot com @ 2011-04-25 12:42 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/12699] gdb 7.2 can't build with lttng-ust 0.12
  2011-04-25 12:42 [Bug gdb/12699] New: gdb 7.2 can't build with lttng-ust 0.12 dexuan.cui at intel dot com
@ 2012-01-10 15:48 ` marc.khouzam at ericsson dot com
  2012-03-27  3:51 ` sergiodj at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: marc.khouzam at ericsson dot com @ 2012-01-10 15:48 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12699

Marc Khouzam <marc.khouzam at ericsson dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc.khouzam at ericsson
                   |                            |dot com

-- 
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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/12699] gdb 7.2 can't build with lttng-ust 0.12
  2011-04-25 12:42 [Bug gdb/12699] New: gdb 7.2 can't build with lttng-ust 0.12 dexuan.cui at intel dot com
  2012-01-10 15:48 ` [Bug gdb/12699] " marc.khouzam at ericsson dot com
@ 2012-03-27  3:51 ` sergiodj at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: sergiodj at redhat dot com @ 2012-03-27  3:51 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12699

Sergio Durigan Junior <sergiodj at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sergiodj at redhat dot com

--- Comment #1 from Sergio Durigan Junior <sergiodj at redhat dot com> 2012-03-27 03:50:15 UTC ---
Thank you for posting this.  We have been discussing this topic a lot during
the last few months, and the consensus is that:

  a) the UST interface is broken, and there are plans to implement the support
for <sys/sdt.h> SDT probes in it (probably already implemented) [1] [2]
  b) we will eventually fix GDB to compile against this new UST release

[1]: http://lists.lttng.org/pipermail/lttng-dev/2011-April/015709.html
[2]: https://bugs.lttng.org/issues/29

-- 
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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-27  3:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-25 12:42 [Bug gdb/12699] New: gdb 7.2 can't build with lttng-ust 0.12 dexuan.cui at intel dot com
2012-01-10 15:48 ` [Bug gdb/12699] " marc.khouzam at ericsson dot com
2012-03-27  3:51 ` sergiodj 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).