Fixed
Created: May 18, 2017
Updated: Sep 8, 2018
Resolved Date: May 26, 2017
Found In Version: 7.0
Fix Version: 7.0.0.25
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config
mktemp version:
debianutils-2.7
When creating a project aimed as a WRL7 host system, a project configuration due to incompatible mktemp, see:
mktemp: cannot make temp dir gcc_test_XXXX: Invalid argument
mktemp version used on this host is using internally mkdtemp function from libc which needs a pathname ending with at least six trailing 'X' characters.
(mktemp from coreutils is using a different implementation and this issue is not present)
<wrlx7_path>/wrlinux-7/wrlinux/configure
mktemp: cannot make temp dir gcc_test_XXXX: Invalid argument
/windriver/wrlx7/wrlinux-7/layers/wrlcompat/scripts/configure: line 479: /gcc_test.c: Permission denied
/windriver/wrlx7/wrlinux-7/layers/wrlcompat/scripts/configure: line 495: /gcc_error.log: Permission denied
ERROR: The host's GCC version does not support atomic compare_and_swap operations. (Adding -march=native and -march= did not work either.)
cat: /gcc_error.log: No such file or directory