Wind River Support Network

HomeDefectsLIN8-2435
Fixed

LIN8-2435 : gcc version incompatible for WRL8 build

Created: Jan 11, 2016    Updated: Dec 3, 2018
Resolved Date: Jan 24, 2016
Found In Version: 8.0.0.0.LB08
Fix Version: 8.0.0.2
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Build & Config

Description

When creating a project aimed as a WRL8 host system, a project configuration due to incompatible gcc, see:
ERROR: The host's GCC version does not support atomic compare_and_swap operations.  (Adding -march=native and -march=x86-64 did not work either.)

Steps to Reproduce

build a project like this:
/root/wrl8/wrlinux-8/wrlinux/configure --enable-board=intel_x86_64 --enable-rootfs=glibc_std --enable-kernel=standard

then rpm -ivh gcc*.rpm and required additional dependencies.

/root/wrl8/wrlinux-8/wrlinux/configure --enable-board=intel_x86_64 --enable-rootfs=glibc_std --enable-kernel=standard --enable-jobs=8
mktemp: cannot make temp dir gcc_test_XXXX: Invalid argument
ERROR: The host's GCC version does not support atomic compare_and_swap operations.  (Adding -march=native and -march=x86-64 did not work either.)
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crt1.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crti.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc_s
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lc
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc_s
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crtend.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crt1.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crti.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc_s
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lc
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc_s
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crtend.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crt1.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crti.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc_s
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lc
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find -lgcc_s
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crtend.o: No such file or directory
/usr/lib64/gcc/x86_64-wrs-linux/5.2.0/../../../../x86_64-wrs-linux/bin/ld: cannot find crtn.o: No such file or director

Other Downloads


Live chat
Online