bug-binutils
[Top][All Lists]
Advanced

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

binutils 2.25.1 creates big sparse files


From: Joakim Tjernlund
Subject: binutils 2.25.1 creates big sparse files
Date: Fri, 22 Jan 2016 12:49:03 +0000

When building small libs/exec on ppc32 I usally get sparse files like so:
ls -lsh | sort -n
....
 64K -rwxr-xr-x 1 jocke users  68K Jan 22 11:20 mgmt_alarmd*
 64K -rwxr-xr-x 1 jocke users  67K Jan 22 11:20 ne_memd*
 56K -rwxr-xr-x 1 jocke users  67K Jan 22 11:20 cp_dummy*
 56K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 mgmt_pmd*
 48K -rwxr-xr-x 1 jocke users  69K Jan 22 11:20 ntpdate*
 48K -rwxr-xr-x 1 jocke users  67K Jan 22 11:20 ne_rc*
 48K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 relayd*
 48K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 ntptimeset*
 44K -rwxr-xr-x 1 jocke users  67K Jan 22 11:20 mgmt_backup_tftpd*
...
 16K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 tosv_test*
 16K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 tosv_supv*
 16K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 ne_rc_supv*
 16K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 ne_rc_memeater*
 16K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 ne_rc_load*
 16K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 ne_mem_ram_test*
 16K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 alib_test_psup*
 16K -rwxr-xr-x 1 jocke users  16K Jan 22 11:15 convert_backup*
 15M -rwxr-xr-x 1 jocke users  15M Jan 22 11:20 emxp2_hw_bl*
 12K -rwxr-xr-x 1 jocke users 9.0K Jan 22 11:18 swu_prepost_script.sh*
 12K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 tickadj*
 12K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 tclsh8.4*
 12K -rwxr-xr-x 1 jocke users  66K Jan 22 11:20 genkeys*

this is binutils 2.25.1 doing in this commit:
 
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=9059a151e33f2f9b7b989a22e63d711a2c8a3
35b;hp=6e7e69e72dc1c53c8d5a8794c845026c48ff343a
(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?


reply via email to

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