This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstools 0.42 builds arm bootloader executable size > 800 MB


On Sat, 2007-07-07 18:40:47 +0800, Alex XT.Yan <xiaotian.yan@gmail.com> wrote:
> hi,
> 	I compiled vivi(arm bootloader of Samsung) with crosstools 0.42.
> 	After some Makefile and header hacks like "short-load-bytes" and
> 	"no-fpu", the compilation finishs normally, but the size of the output
> 	executable (vivi) is 871MB which should be more or less than 70k~!
> 	'ls -l' and 'du -sh' totally make me confused:
> 	$ ls -l vivi
> 	-rwxrwxr-x   1 yanxt   yanxt  871430121  Jul 6 21:53 vivi
> 	$ du -sh vivi
> 	72K     vivi
> 	the needed time for transferring it convices me that 'ls -l' seems
> 	to tell the truth.

This is a "sparse" file, a file containing a hole. Probably a binutils
bug somewhere...

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
 Signature of:                      http://perl.plover.com/Questions.html
 the second  :

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]