Wind River Support Network

HomeDefectsLIN10-3036
Fixed

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

Created: Jan 10, 2018    Updated: Dec 3, 2018
Resolved Date: Jan 17, 2018
Previous ID: LIN9-6166
Found In Version: 10.17.41.2
Fix Version: 10.17.41.4
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Build & Config

Description

home directory contains 'icc' , like '/home/iasiccsc' , 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