Fixed
Created: Jan 19, 2016
Updated: Sep 8, 2018
Resolved Date: May 31, 2016
Found In Version: 7.0.0.11
Fix Version: 7.0.0.17
Severity: Severe
Applicable for: Wind River Linux 7
Component/s: Toolchain
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=/workspace/felix/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
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.