Fixed
Created: Apr 23, 2015
Updated: Dec 3, 2018
Resolved Date: Apr 27, 2015
Found In Version: 6.0
Fix Version: 6.0.0.20
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Toolchain
In WRL5, the toolchain should points to wrappers through environment variables, instead of letting the configure script to compute it from host/target tripple.
However, unlike other toolchain veriables, such as STRIP and NM, READELF is not specified by OE.
So as the log shows, the host readelf is picked up, even we have a proper version in host-cross. I noticed this by trying rebuild in a docker image, where the host readelf is not working properly for cross compilation.
--------------- config.log -------------------
configure:5437: checking for x86_64-wrs-linux-readelf
configure:5467: result: no
configure:5477: checking for readelf
configure:5493: found /usr/bin/readelf
configure:5504: result: readelf
configure:5516: WARNING: using cross tools not prefixed with host triplet
---------------------------------------------------