Wind River Support Network

HomeDefectsLIN6-10280
Fixed

LIN6-10280 : Build erors "can't get dirname of cross compiler"

Created: Aug 30, 2015    Updated: Dec 3, 2018
Resolved Date: Sep 16, 2015
Found In Version: 6.0.0.23
Fix Version: 6.0.0.25
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

unning below command it would see right result:

bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-gcc  -print-libgcc-file-name.

$bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-gcc -print-libgcc-file-name
/net/pek-lpd-susbld/pek-lpd-susbld12/wrlinux-6.0-rcpl/wrlinux-6/layers/binary-toolchain-4.8-45/bin/../lib/gcc/i686-wrs-linux-gnu/4.8.1/libgcc.a


but, it will lost dirname of libgcc's path if you run it under pseudo:

bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/pseudo  bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-gcc  -print-libgcc-file-name
pseudo: Warning: PSEUDO_PREFIX unset, defaulting to /initramfas-1/bitbake_build/tmp/sysroots/x86_64-linux/usr.
libgcc.a


this is case heavily relating with host environment

Other Downloads


Live chat
Online