mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Christian Melki <christian.melki@t2data.com>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] gcclibs: .so is a linker script, not a library.
Date: Fri, 15 Oct 2021 16:16:46 +0200	[thread overview]
Message-ID: <20211015141646.GK2239952@pengutronix.de> (raw)
In-Reply-To: <20211014064936.3991587-1-christian.melki@t2data.com>

On Thu, Oct 14, 2021 at 08:49:36AM +0200, Christian Melki wrote:
> .so is afaik a linker script which groups the .a and the .so.

It's a linker script, at least on some architectures.

> On target (runtime), nothing more than the actual library is needed.

True, the .so file is only needed at build-time.

> The copying of the linker script was creating a softlink which
> was pointing to itself.

It's not happening here, so this may depend on the toolchain, but this does
not hurt, so I'll apply it.

Michael

> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> ---
>  rules/gcclibs.make | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/rules/gcclibs.make b/rules/gcclibs.make
> index c6c93b4b8..9b95b15d8 100644
> --- a/rules/gcclibs.make
> +++ b/rules/gcclibs.make
> @@ -34,7 +34,7 @@ $(STATEDIR)/gcclibs.targetinstall:
>  	@$(call install_fixup, gcclibs,DESCRIPTION,missing)
>  
>  ifdef PTXCONF_GCCLIBS_GCC_S
> -	@$(call install_copy_toolchain_lib, gcclibs, libgcc_s.so)
> +	@$(call install_copy_toolchain_lib, gcclibs, libgcc_s.so.1)
>  endif
>  
>  ifdef PTXCONF_GCCLIBS_CXX
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  reply	other threads:[~2021-10-15 14:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14  6:49 Christian Melki
2021-10-15 14:16 ` Michael Olbrich [this message]
2021-10-20  9:39 ` [ptxdist] [APPLIED] " Michael Olbrich

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=20211015141646.GK2239952@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox