From: Lukasz Zemla <Lukasz.Zemla@woodward.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Thud: building SDK fails: cannot find -lssp
Date: Wed, 20 Mar 2019 22:30:31 +0100 [thread overview]
Message-ID: <CE2E43470FE5444A811B580382FE5EDF55BAE8B824@KEMPMAIL2.woodward.com> (raw)
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.
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.
***
next reply other threads:[~2019-03-20 22:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-20 21:30 Lukasz Zemla [this message]
2019-03-21 12:40 ` Thud: building SDK fails: cannot find -lssp Mark Hatle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CE2E43470FE5444A811B580382FE5EDF55BAE8B824@KEMPMAIL2.woodward.com \
--to=lukasz.zemla@woodward.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.