public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* libgcc_s.so "Use the shared library..."
@ 2021-11-12 14:04 Christer Solskogen
  2021-11-12 15:03 ` Florian Weimer
  0 siblings, 1 reply; 3+ messages in thread
From: Christer Solskogen @ 2021-11-12 14:04 UTC (permalink / raw)
  To: gcc-help

"but some functions are only in the static library."

How come? Are there functions that can only exist in a static library?

-- 
chs


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libgcc_s.so "Use the shared library..."
  2021-11-12 14:04 libgcc_s.so "Use the shared library..." Christer Solskogen
@ 2021-11-12 15:03 ` Florian Weimer
  2021-11-12 15:26   ` Christer Solskogen
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Weimer @ 2021-11-12 15:03 UTC (permalink / raw)
  To: Christer Solskogen via Gcc-help; +Cc: Christer Solskogen

* Christer Solskogen via Gcc-help:

> "but some functions are only in the static library."
>
> How come? Are there functions that can only exist in a static library?

Yes, some functions are always called through local calls, e.g. the
outline atomics helpers on AArch64.  In these cases, the definition
cannot reside in a different object.

Thanks,
Florian


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libgcc_s.so "Use the shared library..."
  2021-11-12 15:03 ` Florian Weimer
@ 2021-11-12 15:26   ` Christer Solskogen
  0 siblings, 0 replies; 3+ messages in thread
From: Christer Solskogen @ 2021-11-12 15:26 UTC (permalink / raw)
  To: gcc-help

On 12.11.2021 16:03, Florian Weimer via Gcc-help wrote:
> * Christer Solskogen via Gcc-help:
> 
>> "but some functions are only in the static library."
>>
>> How come? Are there functions that can only exist in a static library?
> 
> Yes, some functions are always called through local calls, e.g. the
> outline atomics helpers on AArch64.  In these cases, the definition
> cannot reside in a different object.
> 

Thanks for the explanation!

-- 
chs


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-12 15:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 14:04 libgcc_s.so "Use the shared library..." Christer Solskogen
2021-11-12 15:03 ` Florian Weimer
2021-11-12 15:26   ` Christer Solskogen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).