FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 07-15-2008, 10:37 PM
Xavier
 
Default static libraries not stripped?

I just noticed that the last ffmpeg package is much bigger than the old
one (13MB vs 4MB).
Looking more in depth in the two packages, it looks like it is all the
static libraries which are much bigger now :
-rw-r--r-- root/root 4838852 2007-12-05 03:43 usr/lib/libavcodec.a
-rw-r--r-- root/root 20604500 2008-06-26 03:12 usr/lib/libavcodec.a

Isn't this only because the new one is not stripped?

Here is how it is detected by file :
$ file -biz /usr/lib/libavcodec.a
application/x-archive

So could this be an old pacman 3.1 regression ?
http://projects.archlinux.org/?p=pacman.git;a=commitdiff;h=721ceee1e2c9b18425d84 cf39f6541b2f04072b3

Maybe this code also needs to handle x-archive.

$ file -iz /usr/lib/* | grep x-archive | wc -l
366

$ file -iz /usr/lib/*.a | grep x-archive | wc -l
366

$ file -iz /usr/lib/*.a | grep -v x-archive
/usr/lib/libcurses.a: application/x-not-regular-file
/usr/lib/libdts.a: application/x-not-regular-file
/usr/lib/libieee.a: application/x-object
/usr/lib/libmcheck.a: application/x-object
/usr/lib/libpng.a: application/x-not-regular-file

So a few .a files don't appear as x-archive, but apparently the big
majority of them do, so maybe this is not a big problem.

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 
Old 07-18-2008, 01:17 AM
"Dan McGee"
 
Default static libraries not stripped?

On Tue, Jul 15, 2008 at 5:37 PM, Xavier <shiningxc@gmail.com> wrote:
> I just noticed that the last ffmpeg package is much bigger than the old
> one (13MB vs 4MB).
> Looking more in depth in the two packages, it looks like it is all the
> static libraries which are much bigger now :
> -rw-r--r-- root/root 4838852 2007-12-05 03:43 usr/lib/libavcodec.a
> -rw-r--r-- root/root 20604500 2008-06-26 03:12 usr/lib/libavcodec.a
>
> Isn't this only because the new one is not stripped?
>
> Here is how it is detected by file :
> $ file -biz /usr/lib/libavcodec.a
> application/x-archive
>
> So could this be an old pacman 3.1 regression ?
> http://projects.archlinux.org/?p=pacman.git;a=commitdiff;h=721ceee1e2c9b18425d84 cf39f6541b2f04072b3
>
> Maybe this code also needs to handle x-archive.
>
> $ file -iz /usr/lib/* | grep x-archive | wc -l
> 366
>
> $ file -iz /usr/lib/*.a | grep x-archive | wc -l
> 366
>
> $ file -iz /usr/lib/*.a | grep -v x-archive
> /usr/lib/libcurses.a: application/x-not-regular-file
> /usr/lib/libdts.a: application/x-not-regular-file
> /usr/lib/libieee.a: application/x-object
> /usr/lib/libmcheck.a: application/x-object
> /usr/lib/libpng.a: application/x-not-regular-file
>
> So a few .a files don't appear as x-archive, but apparently the big
> majority of them do, so maybe this is not a big problem.

I think a patch for this is fair game.

-Dan

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 

Thread Tools




All times are GMT. The time now is 01:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org