Wind River Support Network

HomeDefectsLIN6-9207
Fixed

LIN6-9207 : libselinux: compile failes "invalid operands (.text and *UND* sections)" with oe toolchain

Created: Jan 12, 2015    Updated: Dec 3, 2018
Resolved Date: May 17, 2015
Found In Version: 6.0.0.16
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

arm-wrs-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/ala-blade2.1/builds-2015-01-12-050606/qemuarma9_world_bd_oe/bitbake_build/tmp/sysroots/qemuarma9 -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -mapcs-frame -I../include -I/ala-blade2.1/builds-2015-01-12-050606/qemuarma9_world_bd_oe/bitbake_build/tmp/sysroots/qemuarma9/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -fPIC -DSHARED -c -o check_cont
ext.lo check_context.c
{standard input}: Assembler messages:
{standard input}:1910: Error: invalid operands (.text and *UND* sections) for `-'

Steps to Reproduce

Configure a build with:
--enable-board=qemuarma9 \
--enable-rootfs=glibc-std-sato \
--enable-kernel=standard \
--with-layer=meta-selinux \
--enable-bootimage=noimage \
--enable-unsupported-toolchain=oe-core \
--enable-build=debug

Other Downloads


Live chat
Online