All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: Lukasz Zemla <Lukasz.Zemla@woodward.com>,
	"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Thud: building SDK fails: cannot find -lssp
Date: Thu, 21 Mar 2019 08:40:28 -0400	[thread overview]
Message-ID: <d00867a1-0580-5d00-8d5e-add12c4e2968@windriver.com> (raw)
In-Reply-To: <CE2E43470FE5444A811B580382FE5EDF55BAE8B824@KEMPMAIL2.woodward.com>

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.
> ***
> 



      reply	other threads:[~2019-03-21 12:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-20 21:30 Thud: building SDK fails: cannot find -lssp Lukasz Zemla
2019-03-21 12:40 ` Mark Hatle [this message]

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=d00867a1-0580-5d00-8d5e-add12c4e2968@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=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.