From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: Christoph Egger <siccegge@cs.fau.de>
Cc: "Américo Wang" <xiyou.wangcong@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: Bus error on make allyesconfig, kernelbuild with HEAD
Date: Fri, 30 Jul 2010 16:43:53 +0800 [thread overview]
Message-ID: <20100730084353.GB5638@cr0.nay.redhat.com> (raw)
In-Reply-To: <20100729121002.GC13192@faui48a.informatik.uni-erlangen.de>
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!
next prev parent reply other threads:[~2010-07-30 8:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-29 10:52 Christoph Egger
2010-07-29 11:26 ` Américo Wang
2010-07-29 11:57 ` Christoph Egger
2010-07-29 12:10 ` Christoph Egger
2010-07-30 8:43 ` Américo Wang [this message]
2010-11-06 15:07 ` Ben Gamari
2010-11-06 15:49 ` Ben Gamari
2010-11-06 16:24 ` Sam Ravnborg
2010-11-07 16:39 ` Ben Gamari
2010-11-07 16:44 ` Ben Gamari
2010-11-07 16:48 ` [PATCH] Debug fixdep Ben Gamari
2010-11-07 17:07 ` Bus error on make allyesconfig, kernelbuild with HEAD Sam Ravnborg
2010-11-07 18:09 ` Ben Gamari
2010-11-07 22:30 ` fstat suddenly return -EINVAL [Was: Bus error on make allyesconfig, kernelbuild with HEAD] Sam Ravnborg
2010-11-07 23:07 ` Ben Gamari
2010-11-08 10:20 ` Américo Wang
2010-11-08 12:38 ` Ben Gamari
2010-11-08 18:22 ` Sam Ravnborg
2010-11-08 18:42 ` Ben Gamari
2010-11-08 19:05 ` Sam Ravnborg
2010-11-08 20:17 ` Ben Gamari
2010-11-09 10:29 ` Américo Wang
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=20100730084353.GB5638@cr0.nay.redhat.com \
--to=xiyou.wangcong@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=siccegge@cs.fau.de \
/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
all inboxes | Powered by JetHome®