It was <2013-10-21 pon 16:56>, when Stéphane Desneux wrote: > On 21/10/2013 14:26, Łukasz Stelmach wrote: >> It was <2013-10-21 pon 12:51>, when Stéphane Desneux wrote: >>> I found the lib responsible for the extra 1.2GB on tizen/common: it's >>> /usr/lib64/libewebkit2.so . Other libs are not that big, stripped or >>> not. => some specific fitness program should be applied on this lib >>> :-) >> >> Could you please check with readelf(1) which sections take some much >> space? > > I have made 3 tests with readelf (see attached results): > - on the original lib (not stripped) > * file size: 1269 MB > * results in libewebkit2_nonstripped.txt > - on the same lib stripped with 'strip --strip-debug': > * file size: 40.8 MB > * results in libewebkit2_stripdebug.txt > - on the lib stripped with 'strip --strip-all': > * file size: 32.6 MB > * results in libewebkit2_stripped.txt > > The 1296 MB are composed of: > - 32.6 MB of code/data (and related sections) > - 8.2 MB of symbols (sections .symbtab and .strtab) > - 1228.2 MB in debug sections (.debug_*)
If the file in /usr/lib is not properly stripped it might mean there is a problem with the find-debuginfo.sh script https://review.tizen.org/git/?p=platform/upstream/rpm.git;a=blob;f=scripts/find-debuginfo.sh;h=c73f06bf0c9432f999174a40f13c5efe11a43cb0;hb=HEAD -- Łukasz Stelmach Samsung R&D Institute Poland Samsung Electronics
pgppJc8ouAFD6.pgp
Description: PGP signature
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
