Wind River Support Network

HomeDefectsLIN6-4324
Not to be fixed

LIN6-4324 : kernel compile options conflicts with userspace's for wrs_sbc8548 bsp

Created: Feb 22, 2013    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN4-14492
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Kernel

Description

The userspace  packages are correctly compiled with '-te500v2' option but the kernel isn't.
This create a mismatch between kernel&userspace that potentially could result in performance loss.

Steps to Reproduce

create and build a project like this:
wrl4.3/wrlinux-4/wrlinux/../ldat/configure --enable-board=wrs_
sbc8548 --enable-rootfs=glibc_small --enable-kernel=standard --enable-jobs=4 


xxxx@xxxx-desktop:~$ cat builds/mpc_8548e/build/glibc.rpm.log |grep CFLAG
+ export CFLAGS=
+ CFLAGS=

$ cat builds/mpc_8548e/build/linux.rpm.log |grep CFLAG
+ export 'CFLAGS=-g -Os -fomit-frame-pointer -pipe'
+ CFLAGS='-g -Os -fomit-frame-pointer -pipe'

$ readelf -A ../build/libc_bin/lib/libc.so.6
Attribute Section: gnu
File Attributes
  Tag_GNU_Power_ABI_FP: Soft float
  Tag_GNU_Power_ABI_Vector: SPE
  Tag_GNU_Power_ABI_Struct_Return: Memory

$ readelf -A ../export/wrs_sbc8548-vmlinux-symbols-WR4.3.0.0_standard
Attribute Section: gnu
File Attributes
  Tag_GNU_Power_ABI_FP: Soft float
  Tag_GNU_Power_ABI_Vector: Generic
  Tag_GNU_Power_ABI_Struct_Return: Memory

the "te500v2" is clearly missing
Live chat
Online