Wind River Support Network

HomeDefectsLIN9-6145
Fixed

LIN9-6145 : Compiling Python within bitbake fails if you have 'icc' anywhere in your project path

Created: Jan 2, 2018    Updated: Dec 3, 2018
Resolved Date: Jan 16, 2018
Found In Version: 9.0.0.13
Fix Version: 9.0.0.14
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Build & Config

Description

We were working with an Intel user who used 'iasiccsc' as his username, thus his home directory is /home/iasiccsc.  His WRL9 builds kept failing with:

x86_64-wrs-linux-gcc: error: unrecognized command line option '-fp-model'

Please see:
http://windanswer.wrs.com/question/57395/how-might-fp-model-get-added-to-x86_64-wrs-linux-gcc-command-line/
for more details including log and other ancillary files.

Workaround

Never use 'icc' in your directory name...

All of these would be bad names for dir/subdirs ;)
antidesiccant
antidesiccants
capricci
capriccio
capriccios
chiccories
chiccory
desiccant
desiccants
desiccate
desiccated
desiccates
desiccating
desiccation
desiccations
desiccative
desiccator
desiccators
electrodesiccation
electrodesiccations
exsiccate
exsiccated
exsiccates
exsiccating
exsiccation
exsiccations
hiccough
hiccoughed
hiccoughing
hiccoughs
hiccup
hiccuped
hiccuping
hiccupped
hiccupping
hiccups
niccolite
niccolites
pasticci
pasticcio
pasticcios
piccalilli
piccalillis
piccolo
piccoloist
piccoloists
piccolos
radicchio
radicchios
siccan
sicced
siccing
spiccato
spiccatos

Steps to Reproduce

mkdir -p /ala-lpggp22/xxxxx/sandbox/iasiccsc
cd /ala-lpggp22/xxxxx/sandbox/iasiccsc
git clone --branch WRLINUX_9_LTS_CVE   https://windshare.windriver.com/ondemand/remote.php/gitsmart/WRLinux-9-LTS-CVE/wrlinux-9
./wrlinux-9/setup.sh --machine intel-x86-64 --distro=wrlinux --dl-layers --templates feature/self-hosted
. ./environment-setup-x86_64-wrlinuxsdk-linux
. ./oe-init-build-env build
edit conf/local.conf and set 
DISTRO ??= "wrlinux-std-sato"
export LANG=en_US.UTF-8
bitbake wrlinux-image-glibc-std

You will get error on both python or python3.

Other Downloads


Live chat
Online