* [Buildroot] libglib and vim doesn't compile with -g3 -O0
[not found] <209834601.226906150.1351587308354.JavaMail.root@zimbra49-e8.priv.proxad.net>
@ 2012-10-30 8:56 ` dboml at free.fr
2012-10-30 8:59 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: dboml at free.fr @ 2012-10-30 8:56 UTC (permalink / raw)
To: buildroot
Hello,
In the goal to remote cross debug my app to avoid gdb error , i rebuild BR with -g3 and -O0.
But libglib and vim doesn't compile.
I've modify by hand makefiles to remove -g3 and -O0 and it is ok.
Is it normal?
Is there a way to doesn't put all package to -g3 and -O0 and i can remote cross debug (i use eclipse with out of the tree project)?
thanks for any help.
For information my gdb error before rebuild BR with -g3 -O0:
remote shell:
[root at plc ~]# gdbserver :2345 /root/plc;exit
Process /root/plc created; pid = 5622
Listening on port 2345
Remote debugging from host 192.168.10.235
gdbserver: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
Aborted
logout
GDB trace:
021,586 2-environment-cd /media/sf_trunk/plc
021,587 2^done
021,589 (gdb)
021,593 3-gdb-set breakpoint pending on
021,593 3^done
021,594 (gdb)
021,597 4-gdb-set detach-on-fork on
021,598 4^done
021,598 (gdb)
021,601 5-enable-pretty-printing
021,601 5^done
021,602 (gdb)
021,604 6-gdb-set python print-stack none
021,605 6^done
021,605 (gdb)
021,608 7-gdb-set print object on
021,608 7^done
021,608 (gdb)
021,612 8-gdb-set print sevenbit-strings on
021,612 8^done
021,612 (gdb)
021,614 9-gdb-set host-charset UTF-8
021,615 9^done
021,616 (gdb)
021,618 10-gdb-set target-charset UTF-8
021,618 10^done
021,618 (gdb)
021,622 11-gdb-set target-wide-charset UTF-32
021,622 11^done
021,623 (gdb)
021,625 12source /media/sf_trunk/plc/gdbinit
021,625 &"source /media/sf_trunk/plc/gdbinit\n"
021,630 12^done
021,630 (gdb)
021,634 13-gdb-set target-async off
021,634 13^done
021,634 (gdb)
021,638 14-gdb-set auto-solib-add on
021,638 14^done
021,638 (gdb)
021,646 15-file-exec-and-symbols --thread-group i1 /media/sf_trunk/plc/Debug/plc
021,705 15^done
021,705 (gdb)
021,709 16-target-select remote 192.168.10.20:2345
021,743 =thread-group-started,id="i1",pid="5622"
021,744 =thread-created,id="1",group-id="i1"
021,746 17-list-thread-groups --available
021,773 &"warning: Unable to find dynamic linker breakpoint function.\nGDB will be unable to debug shared library initializers\nand track explicitly loaded dynamic code."
021,773 &"\n"
021,793 *stopped,frame={addr="0x4006ad10",func="??",args=[]},thread-id="1",stopped-threads="all",cor\
e="0"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121030/bd2ce552/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] libglib and vim doesn't compile with -g3 -O0
2012-10-30 8:56 ` [Buildroot] libglib and vim doesn't compile with -g3 -O0 dboml at free.fr
@ 2012-10-30 8:59 ` Thomas Petazzoni
2012-10-30 9:53 ` David Bonnin
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2012-10-30 8:59 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 30 Oct 2012 09:56:46 +0100 (CET), dboml at free.fr wrote:
> For information my gdb error before rebuild BR with -g3 -O0:
[..]
> 021,773 &"warning: Unable to find dynamic linker breakpoint function.\nGDB will be unable to debug shared library initializers\nand track explicitly loaded dynamic code."
> 021,773 &"\n"
> 021,793 *stopped,frame={addr="0x4006ad10",func="??",args=[]},thread-id="1",stopped-threads="all",cor\
> e="0"
Which toolchain are you using? Please post your Buildroot .config file.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] libglib and vim doesn't compile with -g3 -O0
2012-10-30 8:59 ` Thomas Petazzoni
@ 2012-10-30 9:53 ` David Bonnin
0 siblings, 0 replies; 3+ messages in thread
From: David Bonnin @ 2012-10-30 9:53 UTC (permalink / raw)
To: buildroot
Files are join to this mail.
It is an external toolchain build with CTNG 1.16.0+hg+unknown-20120917.140812. with toolchain suite src from linaro linaro-4.7-2012.08
forgot BR version: 2012.08
Thanks,
David Bonnin.
----- Mail original -----
De: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com>
?: dboml at free.fr
Cc: "buildroot" <buildroot@busybox.net>
Envoy?: Mardi 30 Octobre 2012 09:59:57
Objet: Re: [Buildroot] libglib and vim doesn't compile with -g3 -O0
Hello,
On Tue, 30 Oct 2012 09:56:46 +0100 (CET), dboml at free.fr wrote:
> For information my gdb error before rebuild BR with -g3 -O0:
[..]
> 021,773 &"warning: Unable to find dynamic linker breakpoint function.\nGDB will be unable to debug shared library initializers\nand track explicitly loaded dynamic code."
> 021,773 &"\n"
> 021,793 *stopped,frame={addr="0x4006ad10",func="??",args=[]},thread-id="1",stopped-threads="all",cor\
> e="0"
Which toolchain are you using? Please post your Buildroot .config file.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: br.config
Type: application/xml
Size: 25693 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121030/1f27f13c/attachment-0002.wsdl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crosstool.config
Type: application/xml
Size: 12279 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121030/1f27f13c/attachment-0003.wsdl>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-30 9:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <209834601.226906150.1351587308354.JavaMail.root@zimbra49-e8.priv.proxad.net>
2012-10-30 8:56 ` [Buildroot] libglib and vim doesn't compile with -g3 -O0 dboml at free.fr
2012-10-30 8:59 ` Thomas Petazzoni
2012-10-30 9:53 ` David Bonnin
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.