Wind River Support Network

HomeDefectsLIN8-3975
Fixed

LIN8-3975 : CLONE - Wrlinux 7 internal compiler error. Segmentation fault.

Created: Jun 19, 2016    Updated: Dec 3, 2018
Resolved Date: Oct 27, 2016
Found In Version: 8.0
Fix Version: 8.0.0.11
Severity: Severe
Applicable for: Wind River Linux 8
Component/s: Toolchain

Description

The  customer encounters a segmentation fault internal compiler error message when running the attached test case. 

./run_me.sh 
x86_64-wrs-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/sdks/7.0-intel-x86-64/sysroots/core2-64-wrs-linux -I. -Iinclude -Iinclude/solid -std=c99 -pedantic -O2 -lpthread -g -Wall -fsigned-char -D_GNU_SOURCE  -DARCH_x86_64 -DUNIX_64BIT -D_REENTRANT -DLINUX -DANSI -o dbwdSolid.o dbwdSolid.c
dbwdSolid.c: In function 'dbwdDbEventsThreadSolid':
dbwdSolid.c:196:14: internal compiler error: Segmentation fault
 static void *dbwdDbEventsThreadSolid(void *arg)
              ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <support@windriver.com> for instructions.
make: *** [all] Error 1

Workaround

Apply the patch in TCWRLGCC-81 to gcc.

Steps to Reproduce

1. configure a wrlinux7 project based on: 
/configure --enable-board=intel-x86-64 --enable-bootimage=tar.bz2 --enable-kernel=cgl+features/kvm/qemu-kvm-enable.scc+cfg/virtio.scc+features/igb/igb.scc+cfg/fs/btrfs.scc+cfg/fs/ext4.scc --enable-rootfs=glibc-cgl --with-template=feature/wr-hp-support,feature/kvm,feature/target-toolchain,feature/debug-wb,feature/analysis,feature/code_coverage,feature/oprofile,feature/system-stats,feature/valgrind --with-package=gdb,gdbserver --with-init=sysvinit --enable-doc-pages=target --enable-parallel-pkgbuilds=9 --enable-jobs=9 --enable-unsupported-config=yes --enable-rm-oldimgs=yes --enable-reconfig --with-rcpl-version=0011

2. export its sdk 
$make export-sdk

3. edit the run_me.sh script from the attached archive in order to update the proper sdk path.

4. run the run_me.sh script. 

Other Downloads


Live chat
Online