Messages in this thread | | | Date | Fri, 30 Jul 2010 16:43:53 +0800 | From | Américo Wang <> | Subject | Re: Bus error on make allyesconfig, kernelbuild with HEAD |
| |
On Thu, Jul 29, 2010 at 02:10:02PM +0200, Christoph Egger wrote: >On Thu, Jul 29, 2010 at 07:26:00PM +0800, Américo Wang wrote: >> On Thu, Jul 29, 2010 at 6:52 PM, Christoph Egger <siccegge@cs.fau.de> wrote: >> > Hi all! >> > >> > Building the linux kernel, as well as doing a"make allyesconfig" >> > on a fresh checkout of linux HEAD results in the same Bus Error in >> > fixdep (details below). This is a i5 box running 32bit Ubuntu Lucid >> > with plenty of (free) RAM. Haven't found any hints to what might be >> > wrong on scanning over the web archives. >> > >> > Regards >> > >> > Christoph >> > >> > ----- >> > % make allyesconfig >> > HOSTCC scripts/basic/fixdep >> > fixdep: mmap: Cannot allocate memory >> >> So what does 'ls -lh scripts/basic/.fixdep.d' say? >> Seems this file is too big... > >Also I don't get the mmap stuff if I call fixdep directly (the way I >think it is called staring at the build system) -- it still dies with >an bus error: > >======= >% scripts/basic/fixdep scripts/basic/.fixdep.d scripts/basic/fixdep "gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/basic/fixdep scripts/basic/fixdep.c" >cmd_scripts/basic/fixdep := gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/basic/fixdep scripts/basic/fixdep.c > >deps_scripts/basic/fixdep := \ > scripts/basic/fixdep.c \ > $(wildcard include/config/his/driver.h) \ > $(wildcard include/config/my/option.h) \ > $(wildcard include/config/.h) \ > $(wildcard include/config/foo.h) \ > $(wildcard include/config/boom.h) \ >zsh: bus error scripts/basic/fixdep scripts/basic/.fixdep.d scripts/basic/fixdep >======= > >gdb isn't of any use for that unfortunately > >valgrund: >======= >==11601== Process terminating with default action of signal 7 (SIGBUS) >==11601== Non-existent physical address at address 0x64F2B000 >==11601== at 0x8048BF0: parse_dep_file (in /var/tmp/siccegge/letssee/scripts/basic/fixdep) >=======
This is useful. :) Looks like parse_dep_file() accesses out of the mmap'ed memory range...
Please attach your scripts/basic/.fixdep.d. Thanks much! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |