Fixed
Created: Nov 29, 2017
Updated: Dec 3, 2018
Resolved Date: Dec 25, 2017
Found In Version: 6.0.0.35
Fix Version: 6.0.0.36
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config
During glibc rebuild, cpio is truncating inode number of the files. (altering inode number). This will randomly create files with the same inode number. Files with the same inode number will be hard linked by cpio when unpacked.
When different h-filles are linked together, the do_compile step will not work as expected.
1. configure --enable-rootfs=glibc-small --enable-board=qemux86-64
2. echo 'WRL_GLIBC_MODE = "wrl-glibc-rebuild"' >> bitbake_build/conf/auto.conf
3. cd layers/wr-toolchain
4. git apply add-arguments-to-cpio.patch
5. make bbs
6. bitbake wrl-glibc-rebuild -c configure