From: Saul Wold <sgw@linux.intel.com>
To: "Cui, Dexuan" <dexuan.cui@intel.com>,
'Patches and discussions about the oe-core layer'
<openembedded-core@lists.openembedded.org>
Cc: "poky@yoctoproject.org" <poky@yoctoproject.org>
Subject: gdb and lttng-ust 0.12
Date: Sun, 24 Apr 2011 13:16:50 -0700 [thread overview]
Message-ID: <4DB48532.3030605@linux.intel.com> (raw)
Dexuan,
It seems that when you updated lttng-ust to 0.12, it installed an
/usr/include/ust directory that GDB now finds. This caused the
gdbserver code to not build.
I investigated this and it seems to be due to gdb having a dependency on
UST that causes GDB not to compile. I think at this point we may want
to continue with UST disabled in gdb.
To reproduce this, ensure that lttng-ust-0.12 is built before building
gdb and you should see a compilation failure.
My concern here is that if fix the GDB compilation failures, what else
is going to fail as far as debugging with UST enabled on the remote, I
know this feature is something we want, and should probably report to
the GDB upstream.
The fix seems to be as simple as adding "--without-ust" to the gdb
EXTRA_OECONF line.
Comments?
--
Sau!
Saul Wold
Yocto Component Wrangler @ Intel
Yocto Project / Poky Build System
Error while compiling tracepoint.c -> tracepoint-ipa.o (note it's -ipa.o
so a different set of flags).
| ccache i586-poky-linux-gcc -march=i586
--sysroot=/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/sysroots/qemux86
-c -Wall -I.
-I/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver
-I/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/../common
-I/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/../regformats
-I/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/../../include
-O2 -pipe -g -feliminate-unused-debug-types
-DCONFIG_UST_GDB_INTEGRATION -fPIC -DGDBSERVER -DIN_PROCESS_AGENT
-fvisibility=hidden
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c
-o tracepoint-ipa.o
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:
In function 'first_marker':
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7009:3:
warning: return from incompatible pointer type
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:
In function 'next_marker':
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7024:23:
warning: comparison of distinct pointer types lacks a cast
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7027:4:
warning: return from incompatible pointer type
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:
In function 'unprobe_marker_at':
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7105:33:
error: request for member 'location' in something not a structure or union
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7109:51:
error: request for member 'channel' in something not a structure or union
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7110:23:
error: request for member 'name' in something not a structure or union
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7114:17:
error: request for member 'channel' in something not a structure or union
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7114:39:
error: request for member 'name' in something not a structure or union
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:
In function 'probe_marker_at':
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7135:43:
warning: assignment from incompatible pointer type
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7137:42:
warning: assignment from incompatible pointer type
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:
In function 'cmd_qtstmat':
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7180:43:
warning: assignment from incompatible pointer type
|
/vol/1/sgw/autobuilder/poky-slave/poky-full-ia/build/build/tmp/work/i586-poky-linux/gdb-7.2-r0/gdb-7.2/gdb/gdbserver/tracepoint.c:7182:42:
warning: assignment from incompatible pointer type
| make[4]: *** [tracepoint-ipa.o] Error 1
next reply other threads:[~2011-04-24 20:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-24 20:16 Saul Wold [this message]
2011-04-25 1:56 ` gdb and lttng-ust 0.12 Cui, Dexuan
2011-04-25 5:14 ` Cui, Dexuan
2011-04-25 5:24 ` Saul Wold
2011-04-25 9:06 ` Cui, Dexuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DB48532.3030605@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=dexuan.cui@intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=poky@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.