Not to be fixed
Created: Dec 2, 2013
Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Build & Config
Problem Description
======================
qemux86-64 glibc-small do_rootfs failed if configured with option --enable-scalable=mklibs
Expected Behavior
======================
Passed to build glibc-small with --enable-scalable=mklibs.
Observed Behavior
======================
| Building feeds for [wrlinux-small]..
| executing: ldconfig -r /buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/rootfs -c new -v
| ldconfig: Can't stat /usr/lib: No such file or directory
| /lib:
| saving cache in little endian encoding
| pseudo: unknown fcntl argument 1030, assuming long argument.
| pseudo: unknown fcntl argument 1030, assuming long argument.
<snip>
| pseudo: unknown fcntl argument 1030, assuming long argument.
| /buildarea1/product/WRL60_LX28/wrlinux-6/layers/binary-toolchain-4.8-22/bin/../lib/gcc/i686-wrs-linux-gnu/4.8.1/../../../../i686-wrs-linux-gnu/bin/ld: cannot find -lc
| collect2: error: ld returned 1 exit status
| I: Using /buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/sysroots/qemux86-64/lib64/ld-linux-x86-64.so.2 as dynamic linker.
| I: library reduction pass 1
| Objects: keymap collect cdrom_id ata_id accelerometer busybox.suid busybox.nosuid v4l_id udevd scsi_id killall5 mingetty wall.sysvinit utmpdump.sysvinit mesg.sysvinit last.sysvinit shutdown.sysvinit mtd_probe init.sysvinit halt.sysvinit fstab-decode bootlogd mountpoint.sysvinit udevadm v86d runlevel.sysvinit
| Object: lib/udev/keymap
| Object: lib/udev/collect
| Object: lib/udev/cdrom_id
| Object: lib/udev/ata_id
| Object: lib/udev/accelerometer
| Object: bin/busybox.suid
| Object: bin/busybox.nosuid
| Object: lib/udev/v4l_id
| Object: lib/udev/udevd
| Object: lib/udev/scsi_id
| Object: sbin/killall5
| Object: sbin/mingetty
| Object: usr/bin/wall.sysvinit
| Object: usr/bin/utmpdump.sysvinit
| Object: usr/bin/mesg.sysvinit
| Object: usr/bin/last.sysvinit
| Object: sbin/shutdown.sysvinit
| Object: lib/udev/mtd_probe
| Object: sbin/init.sysvinit
| Object: sbin/halt.sysvinit
| Object: sbin/fstab-decode
| Object: sbin/bootlogd
| Object: bin/mountpoint.sysvinit
| Object: usr/bin/udevadm
| Object: sbin/v86d
| Object: sbin/runlevel.sysvinit
| 432 symbols, 432 unresolved
| reducing libutil.so.1
| Command failed with status 1 : x86_64-wrs-linux-gcc -nostdlib -nostartfiles -shared -Wl,-soname=libutil.so.1 -uopenpty -o /buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/mklibs/dest/libutil.so.1-so /buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64//libutil_pic.a -Wl,--version-script=/buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64//libutil_pic.map -lgcc -L/buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/mklibs/dest -L/buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/sysroots/qemux86-64/usr/X11R6/lib64/ -lc
| With output:
| WARNING: /buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/run.do_rootfs.7089:1 exit 1 from
| mklibs -v --ldlib ${dynamic_loader} --libdir lib64 --sysroot /buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/sysroots/qemux86-64 --root /buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/rootfs --target `echo x86_64-wrs-linux- | sed 's/-$//' ` -d /buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/mklibs/dest `cat /buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/mklibs/executables.list`
| ERROR: Function failed: do_rootfs (log file is located at /buildarea1/build/fix-verify/qemux86-64-mklibs/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.7089)
NOTE: recipe wrlinux-image-glibc-small-1.0-r1: task do_rootfs: Failed
ERROR: Task 7 (/buildarea1/build/fix-verify/qemux86-64-mklibs/layers/local/recipes-img/images/wrlinux-image-glibc-small.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1704 tasks of which 1428 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/buildarea1/build/fix-verify/qemux86-64-mklibs/layers/local/recipes-img/images/wrlinux-image-glibc-small.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [export/qemux86-64-glibc-small-standard-dist.tar.bz2] Error 1
step 1; configure wrlinux project like:
[qemux86-64-mklibs]$ cat config.log
# Generated by wrlinux configure at Mon Dec 2 15:31:42 CST 2013
/buildarea1/product/WRL60_LX28/wrlinux-6/wrlinux/configure --enable-board=qemux86-64 --enable-kernel=standard --enable-rootfs=glibc-small --enable-parallel-pkgbuilds=8 --enable-jobs=8 --enable-scalable=mklibs --with-sstate-dir=/buildarea1/build/SSTATE_CACHE/ --with-rcpl-version=0
step 2; make fs