lkml.org 
[lkml]   [2010]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2010-07-30 10:43    [W:0.095 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site