Wind River Support Network


LIN8-2255 : Incorrect handling of .gccrelocprefix

Created: Dec 17, 2015    Updated: Dec 3, 2018
Resolved Date: Mar 24, 2016
Found In Version: 8.0
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Build & Config


When installing an SDK that was previously generated from a WR Linux 8 build, the script is run on various binaries to fix paths in the .gccrelocprefix section. 

In case the new SDK path is longer than the build path (the path you will replace in the .gccrelocprefix section is longer than the path already present in this section), the script may not correctly update all the entries in .gccrelocprefix section. The issue is that when updating one entry in the section, we may corrupt the next entry because we will write too many bytes (more than 4096). Note that this problem does not seem to appear on local file systems because of the way file system caching but it is visible when installing the SDK on a NFS mounted file system.

I have attached a patch for Yocto that fixes the problem.

Other Downloads

Live chat