> This looks strange. Primary suspect is a bad Kconfig file.
> A simple check would be to fire up mconf on a smaller Kconfig file.
> Try: 
> rm .config
> touch .config
> scripts/kconfig/mconf init/Kconfig
> 
> This should spit out a few warnings about an unknown symbol being 
> selected,but otherwise it should look ok.
> 
> If this fails then something more subtle is going on..
> 
> I assume you have tried to rebuild your kernel from scratch??
> 
>       Sam
> 

Hello Sam,

Thanks for replying. Well, it looks like mconf is for ncurses menus, and conf 
terminal ones if you one to call it like that.

Yes I'm starting from scratch, what I pasted comes from a just untarred linux 
tree, where I was reusing my usual config which is ok for my hardware.
If I do what you sugessted this is what I get:

[EMAIL PROTECTED] scripts/kconfig/mconf init/Kconfig
init/Kconfig:48:warning: choice must have a prompt

init/Kconfig:48:warning: choice value must have a prompt
init/Kconfig:51:warning: defaults for choice values not supported
Segmentation fault
[EMAIL PROTECTED]

Then if I trace it:

[EMAIL PROTECTED] strace scripts/kconfig/mconf init/Kconfig
execve("scripts/kconfig/mconf", ["scripts/kconfig/mconf", "init/Kconfig"], [/* 
28 vars */]) = 0
brk(0)                                  = 0x8060000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fe9000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=38481, ...}) = 0
old_mmap(NULL, 38481, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fdf000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\330\215"..., 1024) = 
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=4784379, ...}) = 0
old_mmap(NULL, 1087972, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7ed5000
mprotect(0xb7fd5000, 39396, PROT_NONE)  = 0
old_mmap(0xb7fd5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x100000) = 0xb7fd5000
close(3)                                = 0
munmap(0xb7fdf000, 38481)               = 0
getpid()                                = 3505
brk(0)                                  = 0x8060000
brk(0x8060180)                          = 0x8060180
brk(0x8061000)                          = 0x8061000
open("init/Kconfig", O_RDONLY)          = 3
brk(0x8066000)                          = 0x8066000
read(3, "menu \"Code maturity level option"..., 8192) = 8192
brk(0x8067000)                          = 0x8067000
brk(0x8068000)                          = 0x8068000
read(3, "l out to a user mode \"policy\n\t  "..., 8192) = 8192
brk(0x8069000)                          = 0x8069000
brk(0x806a000)                          = 0x806a000
brk(0x806b000)                          = 0x806b000
read(3, "t.  This helps maintainers\n\t  se"..., 8192) = 914
read(3, "", 8192)                       = 0
read(3, "", 8192)                       = 0
close(3)                                = 0
write(2, "init/Kconfig:48:warning: ", 25init/Kconfig:48:warning: ) = 25
write(2, "choice must have a prompt\n", 26choice must have a prompt
) = 26
write(2, "\n", 1
)                       = 1
write(2, "init/Kconfig:48:warning: ", 25init/Kconfig:48:warning: ) = 25
write(2, "choice value must have a prompt", 31choice value must have a prompt) 
= 31
write(2, "\n", 1
)                       = 1
write(2, "init/Kconfig:51:warning: ", 25init/Kconfig:51:warning: ) = 25
write(2, "defaults for choice values not s"..., 40defaults for choice values 
not supported) = 40
write(2, "\n", 1
)                       = 1
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 3505 detached
[EMAIL PROTECTED] 

So I don't really know, have tried with other kernel versions with same results.

The thing is that I've compiled this kernel tree several times. I understand 
Kconfig files aren faulty cose they alwas come from the same tarred tree, which 
is the original I've also re-downloaded form kernel's ftp.

And as far as I can say, my building or anyother part isn't broken, or at least 
not on a critical part. As a matter of fact I've been able to compile geda, 
pcb, dia, glide, etc, after I noticed this, so don't know, any clues?

Kind Regards,





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to