Re: the memory model being used in elks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Linux ia64]     [DCCP]     [Linux for ARM]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux