On 3/20/19 5:30 PM, Lukasz Zemla wrote: > Hello All, > > I am trying to build SDK using Yocto thud tagged 2.6.1. Toolchain from > meta-linaro (edb7ffc2a121df7596385595abe75180296103e0). Unfortunately it > fails during perl build, complaining about missing ssp_nonshared and ssp > libraries.
The ssp component comes from the toolchain. If you can reproduce this on the base system (not meta-linaro toolchain), then it may be a broader bug. Otherwise, it's likely related to either a bug or configuration decision in meta-linaro. --Mark > Do you have any ideas how to fix it? > I know it is about stack smash protector, but shouldn't it be automatically > included and available for linker during a build? > > > | x86_64-pokysdk-linux-gcc > --sysroot=/data/home/user/00-projects/proj_myproj_system0/build_myproj_system0/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-perl/5.24.4-r0/recipe-sysroot > -Wl,-O1 -fstack-protector -o miniperl \ > | opmini.o perlmini.o gv.o toke.o perly.o pad.o regcomp.o dump.o util.o > mg.o reentr.o mro_core.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o > scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o > universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o > pp_pack.o pp_sort.o caretx.o dquote.o time64.o miniperlmain.o -lpthread > -ldl -lm -lcrypt -lutil -lc > | > /data/home/user/00-projects/proj_myproj_system0/build_myproj_system0/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-perl/5.24.4-r0/recipe-sysroot-native/usr/bin/x86_64-pokysdk-linux/../../libexec/x86_64-pokysdk-linux/gcc/x86_64-pokysdk-linux/7.1.1/ld: > cannot find -lssp_nonshared > | > /data/home/user/00-projects/proj_myproj_system0/build_myproj_system0/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-perl/5.24.4-r0/recipe-sysroot-native/usr/bin/x86_64-pokysdk-linux/../../libexec/x86_64-pokysdk-linux/gcc/x86_64-pokysdk-linux/7.1.1/ld: > cannot find -lssp > | collect2: error: ld returned 1 exit status > | makefile:391: recipe for target 'lib/buildcustomize.pl' failed > | make[1]: *** [lib/buildcustomize.pl] Error 1 > | make[1]: Leaving directory > '/data/home/user/00-projects/proj_myproj_system0/build_myproj_system0/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-perl/5.24.4-r0/perl-5.24.4' > | make[1]: Entering directory > '/data/home/user/00-projects/proj_myproj_system0/build_myproj_system0/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-perl/5.24.4-r0/perl-5.24.4' > | ./miniperl -Ilib autodoc.pl > | make[1]: ./miniperl: Command not found > | makefile:441: recipe for target 'pod/perlintern.pod' failed > > Thank you in advance, > Lukasz > > *** > The information in this email is confidential and intended solely for the > individual or entity to whom it is addressed. If you have received this > email in error please notify the sender by return e-mail, delete this email, > and refrain from any disclosure or action based on the information. > *** > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto