public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Cheng Renquan <crquan@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>,
	Roman Zippel <zippel@linux-m68k.org>,
	linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/6] [KBUILD] configuration system improvements
Date: Wed, 04 Mar 2009 09:18:48 -0800	[thread overview]
Message-ID: <49AEB7F8.2000206@oracle.com> (raw)
In-Reply-To: <91b13c310903032250n77c754f4qdcc8be9caf9e9cd5@mail.gmail.com>

Cheng Renquan wrote:

[snip]


> Maybe you can try to "make gconfig" from a vanilla
> linux-2.6.29-rc6-git5 kernel, without these kbuild patches, to check
> if your system can configure kernel with gconfig?

I had already reported that gconfig without this patch series works fine.

> Alternatively, you can use this to compile gconfig,
> 
> gcc -Wall -Wl,--as-needed -Wstrict-prototypes -O2 -fomit-frame-pointer
> -D LKC_DIRECT_LINK `pkg-config --cflags gtk+-2.0 gmodule-2.0
> libglade-2.0` -o scripts/kconfig/gconf scripts/kconfig/gconf.c
> scripts/kconfig/kconfig_load.c scripts/kconfig/zconf.tab.c -lncurses
> `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0`

OK, did that.

> this will build a smaller scripts/kconfig/gconf, with less library
> dependencies, or try "-O2" to "-O0", "-ggdb" to compute more debuging
> information, thanks,

With -O0 -ggdb, this is the backtrace:

(gdb) bt
#0  0x000000000041a6ab in get_symbol_str (r=0x7fff41724130, sym=0x0)
    at scripts/kconfig/menu.c:497
#1  0x000000000041a87c in menu_get_ext_help (menu=0xd82370, 
    help=0x7fff41724130) at scripts/kconfig/menu.c:531
#2  0x0000000000408dc3 in text_insert_help (menu=0xd82370)
    at scripts/kconfig/gconf.c:461
#3  0x000000000040a5f4 in on_treeview2_cursor_changed (treeview=0x6d03b0, 
    user_data=0x0) at scripts/kconfig/gconf.c:1102
#4  0x00002aef6a22dd2f in g_closure_invoke ()
   from /usr/lib64/libgobject-2.0.so.0
#5  0x00002aef6a2401fd in ?? () from /usr/lib64/libgobject-2.0.so.0
#6  0x00002aef6a241c55 in g_signal_emit_valist ()
   from /usr/lib64/libgobject-2.0.so.0
#7  0x00002aef6a242043 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#8  0x00002aef699f3ada in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#9  0x00002aef699fa5de in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#10 0x00002aef69905bbf in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#11 0x00002aef6a22dd2f in g_closure_invoke ()
   from /usr/lib64/libgobject-2.0.so.0
#12 0x00002aef6a2405f6 in ?? () from /usr/lib64/libgobject-2.0.so.0
#13 0x00002aef6a241989 in g_signal_emit_valist ()
   from /usr/lib64/libgobject-2.0.so.0
#14 0x00002aef6a242043 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#15 0x00002aef69a0cff5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#16 0x00002aef698feef2 in gtk_propagate_event ()
   from /usr/lib64/libgtk-x11-2.0.so.0
#17 0x00002aef698ffe95 in gtk_main_do_event ()
   from /usr/lib64/libgtk-x11-2.0.so.0
#18 0x00002aef69db87bc in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#19 0x00002aef6a69a064 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#20 0x00002aef6a69d35d in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00002aef6a69d657 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#22 0x00002aef69900263 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#23 0x000000000040b846 in main (ac=2, av=0x7fff41725408)
    at scripts/kconfig/gconf.c:1609

-- 
~Randy

  reply	other threads:[~2009-03-04 17:17 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-23 15:09 [PATCH 0/6] [KBUILD] configuration system improvements Cheng Renquan
2009-02-23 15:09 ` [PATCH 1/6] [KBUILD] add symbol value to help find the real depend Cheng Renquan
2009-02-23 15:10   ` [PATCH 2/6] [KBUILD] add menu_get_ext_help function to display more information Cheng Renquan
2009-02-23 15:10     ` [PATCH 3/6] [KBUILD] menuconfig improvements Cheng Renquan
2009-02-23 15:10       ` [PATCH 4/6] [KBUILD] make use of menu_get_ext_help in gconfig Cheng Renquan
2009-02-23 15:10         ` [PATCH 5/6] [KBUILD] make use of menu_get_ext_help in qconfig Cheng Renquan
2009-02-23 15:10           ` [PATCH 6/6] [KBUILD] make use of menu_get_ext_help in "make config" Cheng Renquan
2009-03-02  3:42 ` [PATCH 0/6] [KBUILD] configuration system improvements Randy Dunlap
2009-03-03  4:09   ` Cheng Renquan
2009-03-03 18:24     ` Randy Dunlap
2009-03-03 19:55       ` Randy Dunlap
2009-03-04  6:50         ` Cheng Renquan
2009-03-04 17:18           ` Randy Dunlap [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-07-12  8:11 [PATCH 0/6] kbuild " Cheng Renquan
2009-07-18  7:21 ` Sam Ravnborg
2009-07-18 10:47   ` Cheng Renquan
2009-07-22 20:43   ` Randy Dunlap
2009-07-22 21:48     ` Sam Ravnborg
2009-07-23  0:12       ` Randy Dunlap

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=49AEB7F8.2000206@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=crquan@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=zippel@linux-m68k.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox