Bug 8457 - package.bbclass: strip archive files
Summary: package.bbclass: strip archive files
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.2
Assignee: Hongxu Jia
QA Contact: Daniel Istrate
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-10-08 02:52 UTC by Robert Yang
Modified: 2016-04-14 20:00 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2015-10-08 02:52:30 UTC
For saving space and removing build path in .a files.
Comment 1 Richard Purdie 2016-02-18 16:00:16 UTC
Less of a problem now we have disabled static libraries entirely in most cases.
Comment 2 Hongxu Jia 2016-02-26 03:04:28 UTC
Currently in oe-core, only tcl, dtc and valgrind have buildpath issue in its .a files.
...
tcl-8.6.4: File work/core2-64-poky-linux/tcl/8.6.4-r0/packages-split/tcl-staticdev/usr/lib64/libtclstub8.6.a in package contained reference to tmpdir [buildpaths]
dtc-1.4.1+gitAUTOINC+302fca9f4c: File work/core2-64-poky-linux/dtc/1.4.1+gitAUTOINC+302fca9f4c-r0/packages-split/dtc-staticdev/usr/lib64/libfdt.a in package contained reference to tmpdir [buildpaths]
lib32-tcl-8.6.4: File work/core2-32-pokymllib32-linux/lib32-tcl/8.6.4-r0/packages-split/lib32-tcl-staticdev/usr/lib/libtclstub8.6.a in package contained reference to tmpdir [buildpaths]
File work/core2-64-poky-linux/valgrind/3.11.0-r0/packages-split/valgrind-staticdev/usr/lib64/valgrind/libreplacemalloc_toolpreload-amd64-linux.a in package contained reference to tmpdir [buildpaths]
lib32-dtc-1.4.1+gitAUTOINC+302fca9f4c: File work/core2-32-pokymllib32-linux/lib32-dtc/1.4.1+gitAUTOINC+302fca9f4c-r0/packages-split/lib32-dtc-staticdev/usr/lib/libfdt.a in package contained reference to tmpdir [buildpaths]
File work/core2-32-pokymllib32-linux/lib32-valgrind/3.11.0-r0/packages-split/lib32-valgrind-staticdev/usr/lib/valgrind/libreplacemalloc_toolpreload-x86-linux.a in package contained reference to tmpdir [buildpaths]
...

I will fix them and then close this bug

//Hongxu
Comment 3 Ross Burton 2016-04-14 20:00:49 UTC
Fixed in oe-core 7b75303e6df5d685c1b50c53c53af3962d6b3722.  Robert, if you know of more instances, please re-open.