Wind River Support Network

HomeDefectsLIN7-5511
Fixed

LIN7-5511 : Regression: Build failure with RCPL 12

Created: Jan 27, 2016    Updated: Sep 8, 2018
Resolved Date: Feb 2, 2016
Found In Version: 7.0.0.12
Fix Version: 7.0.0.13
Severity: Severe
Applicable for: Wind River Linux 7
Component/s: Build & Config

Description

After installing RCPL 12 I can no longer build WRL7.

There is a build error whilst compiling the util-linux package, cfdisk tries to link to functions not in ncurses.

| /usr/work/test/intel-x86-64/glibc_cgl-cgl-70p12/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/libncursesw.so.5: undefined reference to `waddnwstr'
| /usr/work/test/intel-x86-64/glibc_cgl-cgl-70p12/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/libncursesw.so.5: undefined reference to `wbkgrndset'
| /usr/work/test/intel-x86-64/glibc_cgl-cgl-70p12/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/libncursesw.so.5: undefined reference to `wadd_wchnstr'
| /usr/work/test/intel-x86-64/glibc_cgl-cgl-70p12/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/libncursesw.so.5: undefined reference to `wbkgrnd'
| collect2: ld returned 1 exit status
| Makefile:5221: recipe for target 'cfdisk' failed
| make[2]: *** [cfdisk] Error 1

Reproduced on two machines, one Ubuntu 12.04 and the other 14.04.

Workaround

Use RCPL 11 or older.

Steps to Reproduce

$ configure --enable-board=intel-x86-64 \
    --enable-rootfs=glibc_cgl --enable-kernel=cgl \
    --enable-jobs=1 --enable-parallel-pkgbuilds=4 \
    --enable-rm-work=yes --enable-rm-oldimgs=yes \
    --enable-checkout-all-layers=yes --enable-reconfig \
    --enable-ccache=yes --with-ccache-dir=/path/to/ccache \
    --with-sstate-dir=/path/to/sstate --with-rcpl-version=0012
$ make fs

Other Downloads


Live chat
Online