Wind River Support Network

HomeDefectsLIN10-2898
Fixed

LIN10-2898 : [wraxl] sbsigntool-native_git failed (do_compile) of wrlinux_qemux86-64_std_security_predefined_10-lts.

Created: Dec 26, 2017    Updated: Dec 3, 2018
Resolved Date: May 20, 2018
Found In Version: 10.17.41.3
Fix Version: 10.17.41.8
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Userspace

Description

gcc  -Wall -Wextra --std=gnu99 -I../lib/ccan/ -isystem/home/wrlbuild/builds/builds-212ba416-e680-4aff-b7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-nativ
e/0.6+gitAUTOINC+951ee95a30-r0/recipe-sysroot-native/usr/include -O2 -pipe  -L/home/wrlbuild/builds/builds-212ba416-e680-4aff-b7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-native/0.6+gitAUTOINC+951ee95a30-r0/recipe-sysroot-native/usr/lib -L/home/wrlbuild/builds/builds-212ba416-e680-4aff-b7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-native/0.6+gitAUTOINC+951ee95a30-r0/recipe-s
ysroot-native/lib -Wl,-rpath-link,/home/wrlbuild/builds/builds-212ba416-e680-4aff-b7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-native/0.6+gitAUTOINC+951ee95a30-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/wrlbuild/builds/builds-212ba416-e680-4aff-b7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-native/0.6+gitAUTOINC+951ee95a30-r0/recipe-sysroot-native/lib -Wl,-rpath,/
home/wrlbuild/builds/builds-212ba416-e680-4aff-b7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-native/0.6+gitAUTOINC+951ee95a30-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/wrlbuild/builds/builds-212ba416-e680-4aff-b7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-native/0.6+gitAUTOINC+951ee95a30-r0/recipe-sysroot-native/lib -Wl,-O1 -o sbattach sbattach-sbattach.o sbattach-idc
.o sbattach-image.o sbattach-fileio.o  ../lib/ccan/libccan.a -L/home/wrlbuild/builds/builds-212ba416-e680-4aff-b7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-native/0.6+gitAUTOINC+951ee95a30-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib -lcrypto 
sbattach-image.o: In function `image_write':
image.c:(.text+0xa12): undefined reference to `write_all'
image.c:(.text+0xa9b): undefined reference to `write_all'
image.c:(.text+0xa
b8): undefined reference to `write_all'
image.c:(.text+0xae1): undefined reference to `write_all'
sbattach-fileio.o: In function `__fileio_read_file':
fileio.c:(.text+0xa4): undefined reference to `read_all'
sbattach-fileio.o: In function `fileio_write_file':
fileio.c:(.text+0x26a): undefined reference to `write_all'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:419: sbattach] Error 1
make[2]: *** Waiting for unfinished jobs....
sbverify-image.o: In function `image_write':
im
age.c:(.text+0xa12): undefined reference to `write_all'
image.c:(.text+0xa9b): undefined reference to `write_all'
image.c:(.text+0xab8): undefined reference to `write_all'
image.c:(.text+0xae1): undefined reference to `write_all'
sbverify-fileio.o: In function `__fileio_read_file':
fileio.c:(.text+0xa4): undefined reference to `read_all'
sbverify-fileio.o: In function `fileio_write_file':
fileio.c:(.text+0x26a): undefined reference to `write_all'
collect2: error: ld returned 1 exit status
make[2
]: *** [Makefile:439: sbverify] Error 1
sbsign-image.o: In function `image_write':
image.c:(.text+0xa12): undefined reference to `write_all'
image.c:(.text+0xa9b): undefined reference to `write_all'
image.c:(.text+0xab8): undefined reference to `write_all'
image.c:(.text+0xae1): undefined reference to `write_all'
sbsign-fileio.o: In function `__fileio_read_file':
fileio.c:(.text+0xa4): undefined reference to `read_all'
sbsign-fileio.o: In function `fileio_write_file':
fileio.c:(.text+0x26a): und
efined reference to `write_all'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:431: sbsign] Error 1
make[2]: Leaving directory '/home/wrlbuild/builds/builds-212ba416-e680-4aff-b7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-native/0.6+gitAUTOINC+951ee95a30-r0/git/src'
ERROR: oe_runmake failed
make[1]: *** [Makefile:365: all-recursive] Error 1
make[1]: Leaving directory '/home/wrlbuild/builds/builds-212ba416-e680-4aff-b
7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-native/0.6+gitAUTOINC+951ee95a30-r0/git'
make: *** [Makefile:306: all] Error 2
WARNING: /home/wrlbuild/builds/builds-212ba416-e680-4aff-b7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-native/0.6+gitAUTOINC+951ee95a30-r0/temp/run.do_compile.28308:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at /home/w
rlbuild/builds/builds-212ba416-e680-4aff-b7d6-52cba8002f3d/wrlinux_qemux86-64_std_security_predefined_10-lts/tmp-glibc/work/x86_64-linux/sbsigntool-native/0.6+gitAUTOINC+951ee95a30-r0/temp/log.do_compile.28308)

Steps to Reproduce

1)  setup.sh --machines=qemux86-64 --dl-layers --all-layers --templates=feature/efi-secure-boot,feature/tpm2,feature/encrypted-storage,feature/ima,feature/openssl-no-weak-ciphers,feature/firewall,feature/ids-basic,feature/ips,feature/pam-tally2,feature/pam-wheel --repo-verbose --verbose --accept-eula=yes

2) bitbake wrlinux-image-glibc-std

Other Downloads


Live chat
Online