All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tanu Kaskinen <tanuk@iki.fi>
To: Nathan Sowatskey <nathan@nathan.to>,
	"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: libgcc_s not present in Yocto image
Date: Fri, 05 Feb 2016 13:51:37 +0200	[thread overview]
Message-ID: <1454673097.3947.4.camel@iki.fi> (raw)
In-Reply-To: <7534F688-4CCB-468C-9E52-813388BC391C@nathan.to>

On Fri, 2016-02-05 at 12:40 +0100, Nathan Sowatskey wrote:
> Hi
> 
> I am working with a test program which has a dependency on libgcc_s. 
> 
> On Ubuntu that is available, for example from a 14.04 Ubuntu desktop build:
> 
> find /usr/lib -name "*gcc*”
> ...
> /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so
> ...
> 
> On the Yocto image I am building (see below for conf files), I don’t see that library. What I do see is:
> 
> find /usr/lib -name "*gcc*"
> /usr/lib/gcc
> /usr/lib/gcc/gcc
> /usr/lib/gcc/x86_64-poky-linux/5.2.0/include/stdint-gcc.h
> /usr/lib/x86_64-poky-linux/5.2.0/libgcc.a
> /usr/lib/x86_64-poky-linux/5.2.0/libgcc_eh.a
> 
> The build configuration files are here:
> 
> https://github.com/DevOps4Networks/iox-yocto-build/tree/master/conf
> 
> Is there a way to get the libgcc_s library on a Yocto image? Is that even the right thing to do?

libgcc_s is new to me, but out of curiosity I looked it up. I found
this: https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html

Based on that page, you already have the library on the image, since
libgcc_s.so and libgcc.a are the same thing, the only difference is
that libgcc_s.so is a shared library and libgcc.a is a static library.
It seems to me that you should never have an explicit dependency to
that library; GCC will link to the library automatically when
necessary.

-- 
Tanu


  reply	other threads:[~2016-02-05 11:58 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-05 11:40 libgcc_s not present in Yocto image Nathan Sowatskey
2016-02-05 11:51 ` Tanu Kaskinen [this message]
2016-02-05 11:59 ` Burton, Ross
2016-02-05 15:24   ` Nathan Sowatskey
2016-02-05 15:50     ` Burton, Ross
2016-02-05 16:52       ` Richard Purdie
2016-02-05 17:47       ` Nathan Sowatskey
2016-02-05 17:56         ` Burton, Ross
2016-02-05 18:06           ` Fred Ollinger
2016-02-05 18:09             ` Nathan Sowatskey
2016-02-05 18:10               ` Fred Ollinger
2016-02-05 18:12                 ` Nathan Sowatskey
2016-02-05 18:18                   ` Fred Ollinger
2016-02-05 18:22                     ` Nathan Sowatskey
2016-02-05 18:21                   ` Khem Raj
2016-02-05 18:23                     ` Nathan Sowatskey
2016-02-05 18:26                       ` Khem Raj
2016-02-05 19:00                         ` Nathan Sowatskey
2016-02-05 19:53                   ` Burton, Ross
2016-02-05 19:56                     ` Khem Raj
2016-02-05 20:46                       ` Burton, Ross
2016-02-05 20:49                         ` Khem Raj
2016-02-06  6:43                           ` Nathan Sowatskey
2016-02-06  7:36                           ` Nathan Sowatskey
2016-02-06  7:51                             ` Khem Raj
2016-02-06 17:07                               ` Nathan Sowatskey
2016-02-06 17:42                                 ` Khem Raj
2016-02-05 18:00         ` Fred Ollinger
2016-02-05 18:06           ` Nathan Sowatskey
2016-02-05 15:29   ` Nathan Sowatskey

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=1454673097.3947.4.camel@iki.fi \
    --to=tanuk@iki.fi \
    --cc=nathan@nathan.to \
    --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.