diff options
author | Mark Hatle <mark.hatle@kernel.crashing.org> | 2019-11-18 11:17:30 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-29 17:37:16 +0000 |
commit | b879fe730bc2cbce99704705cb53fa9ee958b311 (patch) | |
tree | 52f8f179741e7e1daa537994d147a31c107aa925 /meta/recipes-devtools/gcc/gcc-cross.inc | |
parent | 5e4504026c6358c7d5649843dc354247f5972558 (diff) | |
download | openembedded-core-contrib-b879fe730bc2cbce99704705cb53fa9ee958b311.tar.gz |
gcc-9.2: Update the relocation patch to add PREFIX/EXEC_PREFIX
Without relocating PREFIX/EXEC_PREFIX the system can not do runtime
relocation for the path to the usr/lib/gcc directory, and other components.
While this is not a normal or supported use-case it does work in the upstream
gcc. This is difficult to test with the regular OE SDKs, as it requires
running the components with the correct LD_LIBRARY_PATH and ld.so.
Without this update, gcc will typically not be able to find the gcc
provided include file for stddef.h and similar. This is due to certain
relocations being based on the PREFIX and/or EXEC_PREFIX locations which
are hardcoded at compilation time.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross.inc')
0 files changed, 0 insertions, 0 deletions