Wind River Support Network

HomeDefectsLIN8-4103
Fixed

LIN8-4103 : missing symlink to /proc/self/fd/2

Created: Jun 30, 2016    Updated: Dec 3, 2018
Resolved Date: Jul 11, 2016
Found In Version: 8.0.0.5
Fix Version: 8.0.0.8
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

The symlink to /proc/self/fd/2 is missing, causing stderr dysfunction.
Creating the symilink manually suffices to solve the issue.

Workaround

ln -s /proc/self/fd/2 /dev/stderr

Steps to Reproduce

- hardware:
VLM 18618 - Haswell CPU
1.
- generate a project like this:
wrlinux-8/wrlinux/configure --enable-board=intel-x86-64 --enable-rootfs=glibc-core --enable-kernel=standard --enable-build=debug --enable-reconfig --enable-parallel-pkgbuilds=16 --with-init=sysvinit --with-template=feature/archiver --with-license-blacklist=GPLv3,LGPLv3,GPLv3+,LGPLv3 --with-sstate-dir=/work/ae/wrl80_distro/PlatformGPLv2_pure_RCPL05_V02/sscache --with-rcpl-version=0005

- use attached default-image.bbappend file 
$ make

2.
make usb-image
flash the usb.img on a USB pendrive and boot from USB on Intel target (alternatively boot from a Vmware virtual machine).
Once boot is complete, execute:
$ ls -alh /dev/std*
lrwxrwxrwx 1 root root 15 Jul  5 02:19 /dev/stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jul  5 02:19 /dev/stdout -> /proc/self/fd/1

stderr is missing !

Other Downloads


Live chat
Online