bug-binutils
[Top][All Lists]
Advanced

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

Re: binutils 2.25.1 creates big sparse files


From: Nick Clifton
Subject: Re: binutils 2.25.1 creates big sparse files
Date: Fri, 5 Feb 2016 13:47:12 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

Hi Joakim,

> When building small libs/exec on ppc32 I usally get sparse files like so:

> binutils 2.25.1 doing in this commit:
> (Set ppc COMMONPAGESIZE to 64k)
> 
> This is a huge problem as these sparse file are packaged into a
> tar file and when unpacked they lose the sparse attribute and will expand to 
> 66K on
> disk and fill up the my small FS.
> I guess many packaging tools uses tar so I expect I other people will run 
> into this to.
> 
> I do wonder why it now became necessary to increase page size in binutils?

For correct operation with Linux based installations.

It appears however that there is a workaround.  If you define __QNXTARGET__ 
whilst building 
the ppc32 binutils you will set the page size to 1K, which is presumably what 
you want.

Cheers
  Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]