From: u-vpoa@aetey.se
To: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Cc: ELKS <linux-8086@vger.kernel.org>
Subject: Re: the memory model being used in elks?
Date: Sat, 9 May 2015 19:47:03 +0200 [thread overview]
Message-ID: <20150509174703.GK8197@example.net> (raw)
In-Reply-To: <20150509180333.507d7482@lxorguk.ukuu.org.uk>
On Sat, May 09, 2015 at 06:03:33PM +0100, One Thousand Gnomes wrote:
> > sys_brk failed: len 31368 > end_seg 30864
> > ...
> >
> > I assumed somehow a data segment with around 60K available,
> > is this not the case?
>
> Did you compile it with split I and D ? (-i)
Thanks for the suggestion.
I expected this to be the default, which corresponded to the report
from the elks "file" command (all files and "pres" too were reported as
split i/d). "File" might have been wrong though.
Now I also have rechecked the make logs and bcc documentation.
There was no "-i" flag at the build and the linker command was "bcc".
The man page states that the "-i" flag makes bcc to avoid passing "-i"
to the linker and would in that case lead to creation of an "impure
executable".
IOW, as much as I can see, the binary is built correctly and it is
the memory allocation by the kernel which looks surprizing.
I have tried building kernels both with and without the "advanced
memory manager", the resulting memory limitation looks the same.
Rl
next prev parent reply other threads:[~2015-05-09 17:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-08 20:14 the memory model being used in elks? u-vpoa
2015-05-09 17:03 ` One Thousand Gnomes
2015-05-09 17:47 ` u-vpoa [this message]
2015-05-09 17:50 ` Jody Bruchon
2015-05-09 18:38 ` u-vpoa
2015-05-10 15:31 ` Juan Perez-Sanchez
2015-05-10 18:40 ` u-vpoa
2015-05-10 20:27 ` Alan Cox
2015-05-10 21:19 ` u-vpoa
2015-05-10 21:51 ` Alan Cox
2015-05-11 6:10 ` u-vpoa
2015-05-11 9:27 ` Alan Cox
2015-05-11 11:25 ` u-vpoa
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=20150509174703.GK8197@example.net \
--to=u-vpoa@aetey.se \
--cc=gnomes@lxorguk.ukuu.org.uk \
--cc=linux-8086@vger.kernel.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